Modify ↓
Opened 3 years ago
Closed 2 years ago
#21608 closed defect (needinfo)
Automatic OAuth process always fails
Reported by: | richlv | Owned by: | richlv |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | tested |
Keywords: | oauth | Cc: |
Description
Attempting to use the automatic OAuth process always fails with error:
"The automatic process for retrieving an OAuth Access Token from the OSM server failed. Please try again or choose another kind of authorisation process, i.e. semi-automatic or manual authorisation."
The credentials are correct - same credentials work with the basic and semi-automatic process.
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2021-11-01 23:05:46 +0100 (Mon, 01 Nov 2021) Build-Date:2021-11-01 22:25:18 Revision:18303 Relative:URL: ^/trunk Identification: JOSM/1.5 (18303 en_GB) Mac OS X 10.15.7 OS Build number: Mac OS X 10.15.7 (19H1419) Memory Usage: 2481 MB / 3641 MB (602 MB allocated, but free) Java version: 1.8.0_311-b11, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Look and Feel: com.apple.laf.AquaLookAndFeel Screen: Display 1127230987 1920×1080 (scaling 1.00×1.00) Display 69733382 1680×1050 (scaling 1.00×1.00) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→16×16, 32×32→32×32 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: en_GB Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlp.tk=awt, -Djnlpx.jvm=<java.home>/bin/java, -Djnlpx.splashport=-1, -Djnlpx.home=<java.home>/bin, -Djnlpx.remove=false, -Djnlpx.offline=false, -Djnlpx.relaunch=true, -Djnlpx.session.data=/var/folders/nl/flqxqsmj5q963r7tcnfrdt3c0000gn/T/session8843543126710251302, -Djnlpx.heapsize=NULL,NULL, -Djava.security.policy=file:<java.home>/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.origFilenameArg=/Users/richlv/Library/Application Support/Oracle/Java/Deployment/cache/6.0/56/1ee8cfb8-72e8e992, -Dsun.awt.warmup=true, -Djava.security.manager] Dataset consistency test: No problems found Plugins: + HouseNumberTaggingTool (35814) + InfoMode (35543) + Mapillary (2.0.0-alpha.48) + PicLayer (1.0.1) + apache-commons (35524) + apache-http (35589) + buildings_tools (35823) + dataimport (35640) + ejml (35458) + geotools (35458) + imagery_offset_db (35640) + jaxb (35543) + jna (35662) + jts (35458) + measurement (35640) + opendata (35803) + pbf (35825) + photo_geotagging (35783) + reverter (35846) + utilsplugin2 (35856) Map paint styles: - https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1 Last errors/warnings: - 01149.257 E: org.openstreetmap.josm.gui.oauth.OsmOAuthAuthorizationException: Failed to authorise OAuth request 'EpAAbbt3MdmZtf11rRWGzYH3roSiOWyx5dkuzAeZ' - 01149.264 E: OAuth authorisation failed - <html>The automatic process for retrieving an OAuth Access Token<br>from the OSM server failed.<br><br>Please try again or choose another kind of authorisation process,<br>i.e. semi-automatic or manual authorisation.</html> - 01304.781 E: org.openstreetmap.josm.gui.oauth.OsmOAuthAuthorizationException: oauth.signpost.exception.OAuthCommunicationException: Communication with the service provider failed: stream is closed. Cause: oauth.signpost.exception.OAuthCommunicationException: Communication with the service provider failed: stream is closed. Cause: java.io.IOException: stream is closed - 01304.789 E: Request Failed - <html>Retrieving an OAuth Access Token from 'https://www.openstreetmap.org/oauth/access_token' failed.</html> - 01323.863 E: org.openstreetmap.josm.gui.oauth.OsmOAuthAuthorizationException: oauth.signpost.exception.OAuthCommunicationException: Communication with the service provider failed: stream is closed. Cause: oauth.signpost.exception.OAuthCommunicationException: Communication with the service provider failed: stream is closed. Cause: java.io.IOException: stream is closed - 01323.873 E: Request Failed - <html>Retrieving an OAuth Access Token from 'https://www.openstreetmap.org/oauth/access_token' failed.</html> - 01514.120 W: JCS - Silent failure during download: https://scontent.frix9-1.fna.fbcdn.net/m1/v/t6/An8ux-kTp6BwMD2dG4mTfm3tsqKkaRadXQ-lp5NYqp5WovbarJqF4sfMIEOCDOAnXsNS8N759CFSTjrRdTJ5MWPD2A2F8P7sub2LiEMRfY_J_kOJ4ALg-2HMcpfkEYqReTrDW8W0ybr73ziGhHkuQg?stp=s2048x1536&ccb=10-5&oh=1b79ccf16bf2317d9b263f46b88fef69&oe=61A66CB4&_nc_sid=122ab1 - 01514.134 E: Handled by bug report queue: java.lang.NullPointerException - 02428.309 W: Listener not found for URL: https://scontent.frix9-1.fna.fbcdn.net/m1/v/t6/An_pvXFMEttD-IxbAgwS1nIcWMw0QqJ0IeBmLoavFtD_wWnTLQ6XO6KqvslrI2OmPScuEWP823atmyTOfue7QkyMtcGA8w5yBDUIZc10TI21pyedyWtN262MOyIKJ9YFOLK0kLFpNjNR-jE5GBDZGw?stp=s2048x1536&ccb=10-5&oh=b4b969eef28f36461497a5e164616275&oe=61A71436&_nc_sid=122ab1. Listener not notified! - 02431.621 W: Listener not found for URL: https://scontent.frix9-1.fna.fbcdn.net/m1/v/t6/An8eGG4zNzoN4dAbLP7wK_u8N1nEHGy6q7o1dijkBbeaYVxQvE4sF22lO8PGhNqqSdnDSSc1lVMAhnGA8usvlzXe3k7d8v9MoKa9DbzrQAohD3OZVtndibk0Edxq7MRINtb2wNmaqxkZq9DRflr41Q?stp=s2048x1536&ccb=10-5&oh=6edc0d147bf770463668451d83db76ce&oe=61A5E196&_nc_sid=122ab1. Listener not notified!
Attachments (0)
Change History (3)
comment:1 by , 3 years ago
Keywords: | oauth added |
---|
comment:2 by , 2 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:3 by , 2 years ago
Resolution: | → needinfo |
---|---|
Status: | needinfo → closed |
Note:
See TracTickets
for help on using tickets.
Is this still a problem? I was unable to reproduce on Mac using Java 8 and Java 19 (standard jar), and Java 11 using OpenWebStart.