Opened 3 years ago

Closed 3 years ago

#5435 closed defect (fixed)

JMapViewer: downloading OSM failed

Reported by: justik Owned by: mapnik-team@…
Priority: major Milestone:
Component: mapnik Version:
Keywords: Cc:

Description

Since 2011/11/29 the jmapviewer library suddenly cannot load the Open Street map from Internet. The following errors occur:

... Failed loading https://a.tile.openstreetmap.org/19/466960/400380.png: class java.net.ConnectException?: Connection timed out: connect Failed loading https://c.tile.openstreetmap.org/19/466959/400380.png: class java.net.ConnectException?: Connection timed out: connect Failed loading https://b.tile.openstreetmap.org/19/466958/400380.png: class java.net.ConnectException?: Connection timed out: connect ...

However, the ping to

ping b.tile.openstreetmap.org

is successful:

Pinging germany.tile.openstreetmap.org [81.7.11.83] with 32 bytes of data: Reply from 81.7.11.83: bytes=32 time=32ms TTL=50

The file

https://a.tile.openstreetmap.org/19/466960/400380.png

can be downloaded using the web browser, but the response is surprisingly slow (3-4 seconds).

Changing the values of PATTERN in OSMTileSource.java file from

private static final String PATTERN = "https://%s.tile.openstreetmap.org"; private static final String[] SERVER = {"a", "b", "c"};

to

private static final String PATTERN = "https://London.tile.openstreetmap.org"

works well. Maybe, is there any geoDNS problem?

Change History (2)

comment:1 Changed 3 years ago by justik

Correction: since 2016/11/29...

comment:2 Changed 3 years ago by pnorman

Resolution: fixed
Status: newclosed

This is an operational issue, and if there ever was a problem, it's long since gone.

Note: See TracTickets for help on using tickets.