-
Notifications
You must be signed in to change notification settings - Fork 58
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
SRTM data endpoint has moved #48
Comments
Pushed a fix in |
Possibly still failing - works from the console, fails in a Jupyter notebook [cross-posted to https://github.com/jupyter/notebook/issues/5632) Tested in a clean virtual environment, a local notebook, and an here's my test code:
Runs fine from the command line, fails in a jupyter notebook Error report is:
[python is 3.7.6, OS is Ubuntu 20.04] |
But this now looks like a completely different exception:
Are you sure this isn't a temporary network issue? |
_could_ be... but why does it work from the command line & not in a
notebook?
Can you repeat my tests on a different network?
…On Sun, 26 Jul 2020, 7:26 pm Tomo Krajina, ***@***.***> wrote:
But this now looks like a completely different exception:
ReadTimeout: HTTPSConnectionPool(host='dds.cr.usgs.gov', port=443): Read timed out. (read timeout=5)
Are you sure this isn't a temporary network issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#48 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALJCDCP4ZCUQ75IDKXMJPLR5RYMLANCNFSM4PG66TAQ>
.
|
I've just got the same issue and see same errors in log:
|
Phew....
So I don't know if the problem is tied up in Jupyter notebook or somewhere
else... however it's only arisen in the last few days..
…On Sun, 26 Jul 2020, 11:34 pm mario947, ***@***.***> wrote:
I've just got the same issue and see same errors in log:
HTTPSConnectionPool(host='dds.cr.usgs.gov', port=443): Read timed out.
(read timeout=5)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#48 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALJCDAMDTMUGD5H2MASU2LR5SVPRANCNFSM4PG66TAQ>
.
|
@perllaghu |
It seems "dds.cr.usgs.gov" servers started to respond really slow and that exception is the same as #45. |
Interesting.... I think the problem is, as you say, network related.... I'm coming in from Scotland. Tracepath connection using straight broadband connection:
..... and the same via a VPN through my University:
Both seem to die hitting Do we know if the data's replicated elsewhere? ..... either way - thank you for the time & effort in looking into this problem |
Thank you both for helping figure out the problem. I added a configurable timeout in As for configurable SRTM URLs. Of course it's possible, but it's not top of my priorities for now. (Of course, feel free to send pull requests). |
Related to #45 - The data endpoint has moved at usgs.gov
http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/Eurasia/N49W007.hgt.zip is returning a "310 - permentant move" code, and moved to https://dds.cr.usgs.gov/srtm/version2_1/SRTM3/Eurasia/N49W007.hgt.zip
This related to the whole web slowly moving to https connections.
The problem is the
urllib3
library doesn't handle redirects.The text was updated successfully, but these errors were encountered: