This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

JOSM: cannot download map data

0

I just installed JOSM 8677 on Ubuntu 14.04 LTS. When I try to download OSM data to start editing, I get an error message:

Failed to open a connection to the remote server 'https://api.openstreetmap.org/api/0.6/map?bbox=136.3265991,44.8617095,136.8676758,45.2304149'. Please check your internet connection.

I can make the same API request and download the data through a browser. Clicking help results in a further network error:

org.openstreetmap.josm.gui.help.HelpContentReaderException: java.net.SocketException: Network is unreachable

I am not behind a proxy. I have an excellent internet connection. Any ideas?

asked 31 Aug '15, 14:59

alexandervlpl's gravatar image

alexandervlpl
16113
accept rate: 0%

edited 31 Aug '15, 15:00

Your URL is working for me. Can you open it in a browser?

(31 Aug '15, 15:29) scai ♦

As mentioned in the question, I can open this URL (and download the osm file) in a browser.

(31 Aug '15, 15:30) alexandervlpl

Oh, I missed this part of your question. Maybe it helps to gather some more information. Can you try running JOSM via terminal ("java -jar /path/to/josm.jar") and show us the full output?

(31 Aug '15, 15:38) scai ♦
1

@escada: thanks, this was the problem! Got JOSM to connect to the outside world now. Care to make that an answer, so I can accept it? Also: should this issue be reported/documented somewhere?

(31 Aug '15, 17:04) alexandervlpl

One Answer:

2

is this an upgrade from an earlier version ? Perhaps it is a similar problem, as described in the forum, an ip6 problem. If so turn of both ip6 settings in the advanced preferences.

answered 31 Aug '15, 16:46

escada's gravatar image

escada
19.0k16166302
accept rate: 21%

Source code available on GitHub .