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

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.

permanent link

answered 31 Aug '15, 16:46

escada's gravatar image

escada
19.0k16161302
accept rate: 20%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×597

question asked: 31 Aug '15, 14:59

question was seen: 2,848 times

last updated: 31 Aug '15, 18:42

powered by OSQA