Modify

Opened 7 months ago

Closed 7 months ago

Last modified 7 months ago

#23798 closed defect (worksforme)

Cannot upload / 'OSM server reported an error'

Reported by: tom_yorados Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description (last modified by skyper)

When starting JOSM, an info box appears:

The OSM server 'https://api.openstreetmap.org/api/0.6/' reported an internal server error. This is most likely a temporary problem. Please try again later.

I can download and edit normally.
When uploading changes, the same error box appears.

I tried now for 3 days but the problem persists.

I use Ubuntu 22.04.4 LTS
I installed it via aptitude.
The JOSM build date seems strange (1970... )

status report and screenshot attached.

Revision:18360
Is-Local-Build:false
Build-Date:1970-01-06 23:57:28
Debian-Release:0.0.svn18360+dfsg-1
Build-Name:Debian

Identification: JOSM/1.5 (18360 Debian en_GB) Linux Ubuntu 22.04.4 LTS
Memory Usage: 414 MB / 1932 MB (133 MB allocated, but free)
Java version: 11.0.23+9-post-Ubuntu-1ubuntu122.04.1, Ubuntu, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: de_DE.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_GB
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: ubuntu:GNOME
Java package: openjdk-11-jre:amd64-11.0.23+9-1ubuntu1~22.04.1
Java ATK Wrapper package: libatk-wrapper-java:all-0.38.0-5build1
libcommons-compress-java: libcommons-compress-java:all-1.21-1
fonts-noto: fonts-noto:all-20201225-1build1
VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true]
Dataset consistency test: No problems found

Plugins:
+ CADTools (1008)
+ Mapillary (2.0.0-alpha.36-dirty)
+ OpeningHoursEditor (36258)
+ apache-commons (36176)
+ apache-http (36176)
+ buildings_tools (36226)
+ jna (36176)
+ undelete (36226)
+ utilsplugin2 (35970)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1

Last errors/warnings:
- 00001.792 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=500, Error Body=<<!DOCTYPE html>
- 00003.994 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=500, Error Body=<<!DOCTYPE html>
- 00004.032 E: Internal Server Error - <html>The OSM server<br>'https://api.openstreetmap.org/api/0.6/'<br>reported an internal server error.<br>This is most likely a temporary problem. Please try again later.</html>
- 00303.992 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=500, Error Body=<<!DOCTYPE html>
- 00303.995 E: Internal Server Error - <html>The OSM server<br>'https://api.openstreetmap.org/api/0.6/'<br>reported an internal server error.<br>This is most likely a temporary problem. Please try again later.</html>
- 00494.934 E: Error body: <!DOCTYPE html>
- 00495.228 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=500, Error Body=<<!DOCTYPE html>
- 00495.233 E: Internal Server Error - <html>The OSM server<br>'https://api.openstreetmap.org/api/0.6/'<br>reported an internal server error.<br>This is most likely a temporary problem. Please try again later.</html>

Attachments (3)

status_report.txt (34.4 KB ) - added by tom_yorados 7 months ago.
screenshot_when_starting_josm.png (172.4 KB ) - added by tom_yorados 7 months ago.
screenshot_when_uploading.png (210.1 KB ) - added by tom_yorados 7 months ago.

Download all attachments as: .zip

Change History (8)

by tom_yorados, 7 months ago

Attachment: status_report.txt added

by tom_yorados, 7 months ago

by tom_yorados, 7 months ago

comment:1 by tom_yorados, 7 months ago

Description: modified (diff)

comment:2 by skyper, 7 months ago

Description: modified (diff)

add status report to description

in reply to:  description comment:3 by skyper, 7 months ago

Description: modified (diff)

Replying to tom_yorados:

Revision:18360

OSM Server only supports OAuth2 authentication since July 2024. The first JOSM version supporting OAuth2 is r18650. So please upgrade JOSM to current tested version (r19128) and create the new authentication token.

Replying to tom_yorados:

I installed it via aptitude.

There seems to be no backports of JOSM available from Ubuntu and stable distro releases turn old relative quickly. You might want to switch to our own Ubuntu packages.

The JOSM build date seems strange (1970... )

That is a problem or intention of the package built by Ubuntu/Debian.

Last edited 7 months ago by skyper (previous) (diff)

comment:4 by skyper, 7 months ago

Resolution: worksforme
Status: newclosed

comment:5 by tom_yorados, 7 months ago

Thank you!!

That solved the problem

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.