-
Notifications
You must be signed in to change notification settings - Fork 54
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 connect to data.iana.org port 443: Timed out #257
Comments
Thanks for the issue. TimeZones uses Julia's Something interesting I noticed in your output is that you upgraded from TimeZones 1.1.0 to 1.1.1 where no tzdata change took place. Usually when that is the case TimeZones avoids downloading the tzdata archive again. |
I tried again with Timeout in about 20 s. Trying with another dataset looks like this.
|
I can introduce a retry for download failures |
If you want to try out the retry feature you can do so with: using Pkg
Pkg.add(PackageSpec(name="TimeZones", rev="cv/download-retry")) |
I tried to add the download-retry branch on an empty depot path. It went smooth. I cleaned everything, and tried again, and this was the result. It timed out three times, and ultimately failed.
|
Very strange. Do you have issues connecting to https://data.iana.org/time-zones/releases/ in a browser? I've found the IANA server to be very reliable. What IP address do you get for the IANA server? julia> using Sockets
julia> getaddrinfo("data.iana.org")
ip"72.21.81.189" |
The IP address is the same
I tried to download five different datasets using Firefox, all of them were successful. Using Julia to
|
Maybe the issue is with
Or in Julia: julia> run(`'C:\WINDOWS\System32\curl.exe' curl -s -S -g -L -v -o demo.tar.gz https://data.iana.org/time-zones/releases/tzdata2019c.tar.gz`) |
I tried twice, first succeeded, second failed.
|
At this point I the issue I think the issue may have to do with I would open a issue against Julia itself (https://github.com/JuliaLang/julia/issues) once you confirm that this issue occurs with other URLs. I suspect it will as the IANA server appears to me to be very reliable. |
This seems to be very robust in PowerShell
In fact, call to In cmd.exe, this sometimes fails, sometimes succeeds
but I did not yet see downloading Julia fail, tried >10 times
Curl version is
|
Closing in lieu of JuliaLang/julia#35660. |
I am on Windows 10 and Julia v1.4.1.
During updating I saw this (and I think I have seen it before)
Then trying again after awhile
it succeeds.
Maybe the
curl
timeout could be a bit longer. Some discussion here https://unix.stackexchange.com/questions/94604/does-curl-have-a-timeout/94612. To be checked what is the default timeout now.The text was updated successfully, but these errors were encountered: