Skip to content

get: throwing 2 network errors #6709

@jbencook

Description

@jbencook

Bug Report

Description

I'm randomly getting two different errors when I try to use dvc get to download the cats-dogs example dataset. They seem to be network issues.

Sometimes the terminal gets spammed with the following:

AttributeError: 'RetryClient' object has no attribute '_connector'

And sometimes I get the following:

ERROR: unexpected error - Cannot connect to host http://s3-us-east-2.amazonaws.com:443/ ssl:default [nodename nor servname provided, or not known]: [Errno 8] nodename nor servname provided, or not known

This is happening in the latest release and the development version.

Reproduce

dvc get https://github.com/iterative/dataset-registry use-cases/cats-dogs

To re-run, I just rm -rf cats-dogs and then do it again.

Expected

I expect the command to finish with no errors and data to be in the cats-dogs folder.

Environment information

This was happening for me on macOS BigSur 11.6 with the brew installed version and a version installed in an Anaconda environment.

Output of dvc doctor:

DVC version: 2.7.4 (osxpkg)
---------------------------------
Platform: Python 3.8.12 on macOS-10.16-x86_64-i386-64bit
Supports:
	azure (adlfs = 2021.9.1, knack = 0.8.2, azure-identity = 1.6.1),
	gdrive (pydrive2 = 1.9.4),
	gs (gcsfs = 2021.8.1),
	hdfs (pyarrow = 5.0.0),
	webhdfs (hdfs = 2.6.0),
	http (aiohttp = 3.7.4.post0, aiohttp-retry = 2.4.5),
	https (aiohttp = 3.7.4.post0, aiohttp-retry = 2.4.5),
	s3 (s3fs = 2021.8.1, boto3 = 1.17.106),
	ssh (sshfs = 2021.8.1),
	oss (ossfs = 2021.8.0),
	webdav (webdav4 = 0.9.2),
	webdavs (webdav4 = 0.9.2)

Metadata

Metadata

Assignees

Labels

bugDid we break something?fs: httpRelated to the HTTP filesystem

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions