dvc: dvc push: [Errno 111] Connect call failed
Bug Report
Description
Upon calling dvc push this error appears:
$ dvc push
ERROR: unexpected error - [Errno 111] Connect call failed (COMPANY_SERVER_IP, PORT)
Having any troubles? Hit us up at https://dvc.org/support, we are always happy to help!
(I am not able to provide COMPANY_SERVER_IP, PORT due to company policy. Port differs from 22).
Reproduce
- dvc push
Expected
An ability to push files to a company DVC server.
Environment information
Output of dvc doctor
:
$ dvc doctor
DVC version: 2.8.1 (pip)
---------------------------------
Platform: Python 3.8.10 on Linux-5.4.0-88-generic-x86_64-with-glibc2.29
Supports:
webhdfs (fsspec = 2021.10.0),
http (aiohttp = 3.7.4.post0, aiohttp-retry = 2.4.6),
https (aiohttp = 3.7.4.post0, aiohttp-retry = 2.4.6),
ssh (sshfs = 2021.8.1)
Cache types: hardlink, symlink
Cache directory: ext4 on /dev/sda2
Caches: local
Remotes: ssh
Workspace directory: ext4 on /dev/sda2
Repo: dvc, git
Additional Information (if any):
I was able to resolve this issue by downgrading to dvc version of 2.5.2. DVC push works fine there.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 26 (16 by maintainers)
@SokolovMichail @efiop
I’m unable to reproduce the issue - using the hostname and port we were provided after the discussion, I can connect to the host directly using
asyncssh
,sshfs
, DVC’sfs.ssh.SSHFileSystem
, and usingstatus -c
from a test DVC repo with SSH remote configured to use/home/dvc
on the provided remote host.I tested using the current DVC pip release (
2.8.3
) on both macos and linux (ubuntu-focal), and had no connection issues on either platform.It seems like whatever the issue is, it must be related to something that is standardized across your developers’ machines/environments (since it was reproducible for multiple users on your network)? But I’m not really sure how to proceed from here.
linux results (with
host:port
removed):the two test python scripts are:
and the test DVC repo just contains a single
dvc add
ed filefoo
Providing dvc push -v output as requested. Due to the company policy it had to be doctored to remove the confidential information. It is replaced with <INFORMATION>.
@SokolovMichail can you try doing
and then re-run
dvc push
? It looks like your sshfs wasn’t actually updated,dvc doctor
reportsssh (sshfs = 2021.8.1)
but the latest should besshfs = 2021.11.0