-
Notifications
You must be signed in to change notification settings - Fork 33
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
error: Net::ReadTimeout #258
Comments
Thanks @stelcheck we will look into adding retries. |
@stelcheck could you try the version I uploaded on my repo? after installing it, the default timeout should be now 5 min instead of 1. You can also modify it using environment variables
|
If you need help on how to install that particular version, let us know. I will make a release based on this in a few days. |
I'll try to test this in the upcoming days. However, if I may make one recommendation, it may be wiser to lower the default timeout value and increase the number of retries. I also couldn't find any documentation regarding Net:HTTP.start, is |
Quick update: timeout does seem to work properly, but I don't have a good test case for testing retries. Any suggestions? |
Note that max_retries is ruby 2.5+ so we may want to add a mechanism to do the same thing in u3d itself for ruby < 2.5. |
TBH I don't see any down sides requiring 2.5+. I know of a few bugs in fastlane where the solution was to use 2.5, and I'd expect this tool will be heavily used with that. |
Issue Checklist
u3d --help
Issue Description
Trying to install a Unity version on Linux, but I always end up with the following:
The network appears to be perfectly fine, so I am not sure what might be the issue. It would be nice if we could have the tool resume past download so that I may eventually be able to complete the download.
The text was updated successfully, but these errors were encountered: