Skip to content
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

Dead URL #528

Closed
jheaff1 opened this issue Apr 28, 2021 · 11 comments
Closed

Dead URL #528

jheaff1 opened this issue Apr 28, 2021 · 11 comments

Comments

@jheaff1
Copy link

jheaff1 commented Apr 28, 2021

Hi,

It seems the following URL is broken:

https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/ne_110m_admin_0_boundary_lines_land.zip

This is the hyperlink of the "Download country boundaries" text in the "Admin 0 - Boundary Lines" section of https://www.naturalearthdata.com/downloads/110m-cultural-vectors/

@nvkelso
Copy link
Owner

nvkelso commented Apr 30, 2021

@jheaff1 @bienflorencia I can't reproduce this. Is it still a problem for you?

@matkoniecz
Copy link
Contributor

It also works for me.

@nvkelso
Copy link
Owner

nvkelso commented Apr 30, 2021

It does look like the site theme is borked again, so even though downloads work might point to a different problem?

@bodkan
Copy link

bodkan commented Apr 30, 2021

Hello, I think I encountered the same (or a related?) problem. A couple of days ago tests of my R package (which uses Natural Earth data via the rnaturalearth package) started failing.

The problem:

> rnaturalearth::ne_download()
trying URL 'http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/ne_110m_admin_0_countries.zip'
Error in utils::download.file(file.path(address), zip_file <- tempfile()) : 
  cannot open URL 'http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/ne_110m_admin_0_countries.zip'
In addition: Warning message:
In utils::download.file(file.path(address), zip_file <- tempfile()) :
  cannot open URL 'http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/ne_110m_admin_0_countries.zip': 
HTTP status was '500 Internal Server Error'

Same happens when using wget (using the URL from the first post in this thread):

> wget https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/ne_110m_admin_0_boundary_lines_land.zip
--2021-04-30 19:01:20--  https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/ne_110m_admin_0_boundary_lines_land.zip
Resolving www.naturalearthdata.com (www.naturalearthdata.com)... 50.87.253.14
Connecting to www.naturalearthdata.com (www.naturalearthdata.com)|50.87.253.14|:443... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2021-04-30 19:01:22 ERROR 500: Internal Server Error.

Any chance this could be the same issue that was reported (and then solved) here?

Thanks!

@jheaff1
Copy link
Author

jheaff1 commented Apr 30, 2021

@nvkelso I can no longer reproduce this issue

@MrTakuah
Copy link

I am still seeing this issue trying to download some natural earth data:

trying URL 'http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_admin_1_states_provinces_lakes.zip' cannot open URL 'http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_admin_1_states_provinces_lakes.zip': HTTP status was '500 Internal Server Error'Error in utils::download.file(file.path(address), zip_file <- tempfile()) : cannot open URL 'http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_admin_1_states_provinces_lakes.zip'

@matkoniecz
Copy link
Contributor

matkoniecz commented May 1, 2021

opening download at https://www.naturalearthdata.com/downloads/10m-cultural-vectors/ link worked fine (in FF) but is reported to be downloaded from https://naciscdn.org/naturalearth/10m/cultural/ne_10m_cultural_building_blocks_all.zip from

curl https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_cultural_building_blocks_all.zip

fetches page with

<div class="wp-die-message"><p>There has been a critical error on your website.</p><p><a href="https://wordpress.org/support/article/debugging-in-wordpress/">Learn more about debugging in WordPress.</a></p></div>

similarly opening https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_cultural_building_blocks_all.zip in FF brings error page.

In F12 FF network log I see requests to https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_cultural_building_blocks_all.zip and

host
	naciscdn.org
filename
	/naturalearth/10m/cultural/ne_10m_cultural_building_blocks_all.zip

@vayunalapati
Copy link

For some reason when I click the link for https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/ne_110m_admin_0_boundary_lines_land.zip I am able to download the file but if I attempt to paste it into my url bar it redirects me to the following page
image not sure how to resolve this since attempting to curl the file results in an Internal Server Error.

@nvkelso
Copy link
Owner

nvkelso commented May 7, 2021

How about this link?

All the other files exist there now, too as part of #445.

I'm also investigating why the main site is having problems, but feel free to use the S3 links instead, they are hosted by AWS as part of their public dataset program and will be kept up to date as new versions of Natural Earth are published.

@vayunalapati
Copy link

vayunalapati commented May 7, 2021

Works perfectly thanks for your help @nvkelso!

@nvkelso
Copy link
Owner

nvkelso commented May 7, 2021

The main site should be fixed (for now) – the borked site theme has been restored and the downloads should work again. There are some PHP issues to work out medium term.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants