Modify

Opened 2 years ago

Closed 2 years ago

#23070 closed defect (invalid)

Remote Control / Authorization | HTTP Error 400: Bad Request - Unknown state for authorization

Reported by: donal.hunt@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Open preferences
  2. Go to "OSM Server"
  3. Click "Authorize now (semi-automatic)
  4. authenticate on OSM website.
  5. get redirected to http://127.0.0.1:8111/oauth_authorization?code=<REDACTED>&state=<REDACTED>
  6. josm reports "HTTP Error 400: Bad Request - Unknown state for authorization"

What is the expected result?

authentication setup works.

What happens instead?

HTTP error received.

Please provide any additional information below. Attach a screenshot if possible.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2023-07-10 22:19:01 +0200 (Mon, 10 Jul 2023)
Revision:18776
Build-Date:2023-07-11 01:30:57
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18776 en) Linux Debian GNU/Linux 12 (bookworm)
Memory Usage: 556 MB / 3940 MB (123 MB allocated, but free)
Java version: 17.0.6+10-Debian-1, Debian, OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.gtk.GTKLookAndFeel
Screen: :0.0 1920×1080 (scaling 1.00×1.00) :0.1 2560×1440 (scaling 1.00×1.00) :0.2 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 2560×1440
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: en_IE.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_IE
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: GNOME
Java package: openjdk-17-jre:amd64-17.0.6+10-1
Java ATK Wrapper package: libatk-wrapper-java:all-0.40.0-3
libcommons-compress-java: libcommons-compress-java:all-1.22-1
fonts-noto: fonts-noto:all-20201225-1
VM arguments: [--module-path=/usr/share/openjfx/lib, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, -Djosm.restart=true, -Djosm.dir.name=JOSM-latest, -Djava.net.useSystemProxies=true, --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]

Last errors/warnings:
- 00010.117 W: Cannot start IPv4 remotecontrol server on port 8111: Address already in use
- 00010.130 W: Cannot start IPv6 remotecontrol server on port 8111: Address already in use

Attachments (1)

Screenshot from 2023-07-19 10-42-14.png (280.3 KB ) - added by donal.hunt@… 2 years ago.
screenshot

Download all attachments as: .zip

Change History (3)

by donal.hunt@…, 2 years ago

screenshot

comment:1 by donal.hunt@…, 2 years ago

nevermind - I'm an idiot and had multiple versions of josm running. :(

comment:2 by anonymous, 2 years ago

Resolution: invalid
Status: newclosed

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.