-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to upload file to Azure due to connection time out #3250
Comments
Hi @ogigoc ! Thanks for reporting the issue! Indeed, looks like the default timeout is too small for your particular case. We've had something similar in GS, where we've solved it with dynamic chunk size logic, but from what I can tell right now, looks like in azure we might be better off trying to increase the timeout in https://github.com/iterative/dvc/blob/0.82.4/dvc/remote/azure.py#L114 (if I've read the azure source code correctly, it is 100 sec by default). If you feel comfortable modifying and installing dvc, maybe consider adjusting that line and seeing if that would help. If it does, we would be glad to receive a PR 🙂 If it doesn't, we'll need to dig a bit deeper. |
Btw, @ogigoc does |
Hi @efiop, Thanks for the fast reply! I tried setting the timeout but it just gets ignored no matter the value. But, setting Did not try |
@ogigoc Could you please elaborate on where you've set |
@efiop I've set |
@ogigoc But if you are able to dvc push/pull, then Thanks for clarifying about |
Closing as stale. Please feel free to reopen. |
DVC version: 0.82.3
Method of installation: pip
Platform: Ubuntu 18.04
I'm having an issue uploading a file to azure. The file is about 80MB. The azure dependencies are:
I think the problem might be related to my internet connection. The connection is stable but is really slow. Upload is about 150kB/s. The error seems to always occur after about 2 minutes.
And here is the whole output using
--verbose
:The text was updated successfully, but these errors were encountered: