Modify ↓
Opened 8 years ago
Closed 2 years ago
#14695 closed defect (duplicate)
fails to open browser when authenticating while attempting to upload using semi-automatic authentication
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Open a fresh JOSM installation
- Make some changes and upload it. The system now tell me to authenticate
- Use semi-automatic authentication and retrieve an access token
What is the expected result?
A browser with sign in page shows up
What happens instead?
Nothing
Please provide any additional information below. Attach a screenshot if possible.
URL:http://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2017-04-02 01:45:00 +0200 (Sun, 02 Apr 2017) Build-Date:2017-04-02 01:34:50 Revision:11826 Relative:URL: ^/trunk Identification: JOSM/1.5 (11826 en) Windows 10 64-Bit Memory Usage: 272 MB / 989 MB (66 MB allocated, but free) Java version: 1.8.0_131-b11, Oracle Corporation, Java HotSpot(TM) Client VM Screen: \Display0 1440x900, \Display1 1280x1024 Maximum Screen Size: 1440x1024 Dataset consistency test: No problems found Plugins: + turnrestrictions (33088) Last errors/warnings: - W: Update plugins - org.openstreetmap.josm.plugins.PluginHandler$UpdatePluginsMessagePanel[,0,0,0x0,invalid,layout=java.awt.GridBagLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=] - E: org.openstreetmap.josm.io.MissingOAuthAccessTokenException - E: Authentication failed - <html>Failed to authenticate at the OSM server 'https://api.openstreetmap.org/api'.<br>You are using OAuth to authenticate but currently there is no<br>OAuth Access Token configured.<br>Please open the Preferences Dialog and generate or enter an Access Token.</html>
Attachments (0)
Change History (2)
comment:1 by , 2 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:2 by , 2 years ago
Resolution: | → duplicate |
---|---|
Status: | needinfo → closed |
Note:
See TracTickets
for help on using tickets.
I suspect this is fixed -- a lot of changes have occurred in the
PlatformHookWindows#openUrl
since this ticket was opened (compare PlatformHookWindows.java@12744 to PlatformHookWindows.java@18600).It previously just called
Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + url);
The equivalent code today is a fallback if theDesktop
api call fails.