Modify ↓
#7794 closed defect (othersoftware)
Can't upload changeset
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | upload | Cc: | mm0hai |
Description (last modified by )
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2012-06-04 01:31:02 Last Changed Author: simon04 Revision: 5267 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2012-06-03 22:21:06 +0200 (Sun, 03 Jun 2012) Last Changed Rev: 5267 Identification: JOSM/1.5 (5267 en) Memory Usage: 393 MB / 1729 MB (308 MB allocated, but free) Java version: 1.6.0_30, Sun Microsystems Inc., Java HotSpot(TM) 64-Bit Server VM Operating system: Linux Dataset consistency test: No problems found java.lang.RuntimeException: java.lang.IllegalArgumentException: Illegal character(s) in message header value: Basic XXX at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1137) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2338) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:388) at java.net.HttpURLConnection.getResponseMessage(HttpURLConnection.java:445) at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:600) at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:534) at org.openstreetmap.josm.io.OsmApi.openChangeset(OsmApi.java:372) at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:201) at org.openstreetmap.josm.gui.io.UploadPrimitivesTask.realRun(UploadPrimitivesTask.java:246) at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:82) at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:145) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.IllegalArgumentException: Illegal character(s) in message header value: Basic XXX at sun.net.www.protocol.http.HttpURLConnection.checkMessageHeader(HttpURLConnection.java:428) at sun.net.www.protocol.http.HttpURLConnection.setAuthenticationProperty(HttpURLConnection.java:2406) at sun.net.www.protocol.http.BasicAuthentication.setHeaders(BasicAuthentication.java:143) at sun.net.www.protocol.http.HttpURLConnection.getServerAuthentication(HttpURLConnection.java:1984) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1282) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379) ... 11 more
Attachments (0)
Change History (11)
comment:1 by , 13 years ago
Description: | modified (diff) |
---|
comment:2 by , 13 years ago
comment:3 by , 13 years ago
Resolution: | → othersoftware |
---|---|
Status: | new → closed |
comment:6 by , 13 years ago
Replying to kristian.hermann.karl@…:
Figured it out myself. I'm using oauth token instead.
+1
And more secure !
comment:7 by , 13 years ago
Description: | modified (diff) |
---|
Sorry, but you should change your password. The base64 text you supplied can be easily decoded. :-(
comment:10 by , 12 years ago
Cc: | added |
---|
Looking at Sun's bug report the workaround may be to switch to Java 7.
Note:
See TracTickets
for help on using tickets.
Apparently a Java bug ("Long passwords cause Basic Auth to fail with a java.net.Authenticator"):