JOSM fails to upload changes with message:
Failed to open a connection to the remote server ‘https://api.openstreetmap.org/api/0.6/’.
Please check your internet connection.
- I deinstalled JOSM, downloaded Windows MSI and now use version 19253
- sometimes it works. But I tried now for 20 times with no success.
- Win11 Home 23H2
- it sometimes also happens during data download
- I use OAuth 2.0
OSM server settings in “preferences”:
Button “Test access” token under Preferences also sometimes fails.
ping api.openstreetmap.org /t works continuously.
What is the problem? Is the osm server just too busy? Is my edit to big (uploading 184 objects)?
Begin of JOSM status report:
{{{
Revision:19253
Build-Date:2024-10-31 17:41:55
Identification: JOSM/1.5 (19253 en_GB) Windows 11 64-Bit
OS Build number: Windows 10 Home 23H2 (22631)
Memory Usage: 456 MB / 10664 MB (147 MB allocated, but free)
Java version: 21.0.5+11-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920x1080x32bpp@60Hz (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: Cp1252
Locale info: en_GB
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.19253, -XX:MaxRAMPercentage=75.0, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM.exe]
Dataset consistency test: No problems found
Last errors/warnings:
- 02079.972 W: java.net.SocketException: Connection reset
- 02079.972 W: Already here java.net.SocketException: Connection reset
- 02079.972 E: org.openstreetmap.josm.io.OsmTransferException: java.net.SocketException: Connection reset. Cause: java.net.SocketException: Connection reset
- 02079.975 E: Test failed - <html>Failed to retrieve information about the current user from the OSM server 'https://api.openstreetmap.org/api'.<br>This is probably not a problem caused by the tested Access Token, but<br>rather a problem with the server configuration. Carefully check the server<br>URL and your Internet connection.</html>
- 02095.063 W: java.net.SocketException: Connection reset
- 02095.063 W: Already here java.net.SocketException: Connection reset
- 02095.063 E: org.openstreetmap.josm.io.OsmTransferException: java.net.SocketException: Connection reset. Cause: java.net.SocketException: Connection reset
- 02095.067 E: Test failed - <html>Failed to retrieve information about the current user from the OSM server 'https://api.openstreetmap.org/api'.<br>This is probably not a problem caused by the tested Access Token, but<br>rather a problem with the server configuration. Carefully check the server<br>URL and your Internet connection.</html>
- 02281.158 E: org.openstreetmap.josm.io.OsmTransferException: java.net.SocketException: Connection reset. Cause: java.net.SocketException: Connection reset
- 02281.161 E: Network exception - <html>Failed to open a connection to the remote server<br>'https://api.openstreetmap.org/api/0.6/'.<br>Please check your internet connection.</html>