#10506 closed defect (othersoftware)
SSLException when loading JOSM startup message
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | security TLS Prime size DH keypair javabug | Cc: | stoecker, bastiK |
Description (last modified by )
Getting error messages on JOSM start (v7521)
WARNUNG: Lesen von MOTD fehlgeschlagen. Fehler: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair Fehler: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair. Ursache: java.lang.RuntimeException: Could not generate DH keypair. Ursache: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive) INFO: Lade Plugin 'reverter' (Version 30521) INFO: RemoteControl: adding command "revert_changeset" (handled by RevertChangesetHandler) INFO: Lade Plugin 'PicLayer' (Version 30436) INFO: Lade Plugin 'poly' (Version 30495)
Attachments (0)
Change History (16)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Version: | → latest |
---|
comment:3 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
Can you please copy/paste the entire console output and a proper status report, as it is asked on https://josm.openstreetmap.de/newticket? Thanks.
comment:4 by , 10 years ago
Cc: | added |
---|---|
Description: | modified (diff) |
Keywords: | security TLS added |
Dirk, Paul, did you touch the SSL config recently?
comment:5 by , 10 years ago
Summary: | Error Message on JOSM startup → SSLException when loading JOSM startup message |
---|
comment:8 by , 10 years ago
Still occuring in 7538:
WARNUNG: Lesen von MOTD fehlgeschlagen. Fehler: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair Fehler: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair. Ursache: java.lang.RuntimeException: Could not generate DH keypair. Ursache: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive) INFO: Lade Plugin 'reverter' (Version 30521) INFO: RemoteControl: adding command "revert_changeset" (handled by RevertChangesetHandler) INFO: Lade Plugin 'PicLayer' (Version 30436) INFO: Lade Plugin 'poly' (Version 30495) INFO: Lade Plugin 'Tracer2' (Version 30416) INFO: Lade Plugin 'terracer' (Version 30416) INFO: Lade Plugin 'measurement' (Version 30416) INFO: RemoteControl::Accepting connections on port 8111 INFO: RemoteControl::Accepting secure connections on port 8112
Beside of this error message JOSM seems to work normal. Only Message of Day is not shown.
comment:9 by , 10 years ago
This is the java version:
java version "1.7.0" Java(TM) SE Runtime Environment (build 1.7.0-b147) Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
comment:10 by , 10 years ago
Your Java version is very old, can you please try to update it to latest (7u67 here)? We don't ask status reports for nothing you know :)
comment:11 by , 10 years ago
Keywords: | javabug added |
---|---|
Resolution: | → othersoftware |
Status: | needinfo → closed |
I assume it's due to your old Java version. Please reopen if you reproduce the problem with latest Java.
comment:12 by , 10 years ago
I got a similar thing and despite installing the Java update still get this....
JOSM tried to access the following resources:
https://josm.openstreetmap.de/maps
https://josm.openstreetmap.de/wiki/StartupPage
but failed to do so, because of the following network errors:
java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)
It may be due to a missing proxy configuration. Would you like to change your proxy settings now?
follow-up: 14 comment:13 by , 10 years ago
Status report...
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2014-08-31 21:55:55 Last Changed Author: Don-vip Revision: 7480 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2014-08-31 23:51:24 +0200 (Sun, 31 Aug 2014) Last Changed Rev: 7480 Identification: JOSM/1.5 (7480 en) Windows 7 64-Bit Memory Usage: 154 MB / 910 MB (64 MB allocated, but free) Java version: 1.7.0, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Plugins: - turnrestrictions (30454) Last errors/warnings: - W: Failed to read MOTD. Exception was: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair - E: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair. Cause: java.lang.RuntimeException: Could not generate DH keypair. Cause: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive) cache.capabilities1637351842=1412003223 file-open.history=[C:\Users\USER\Desktop\map.osm] gui.geometry=x=-8,y=-8,width=1296,height=1000 gui.maximized=true imagery.layers.addedIds=[] imagery.layers.default=[] lastDirectory=C:\Users\USER\Desktop mappaint.renderer-class-name=org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer mappaint.style.known-defaults=[resource://styles/standard/elemstyles.mapcss, resource://styles/standard/potlatch2.mapcss] mappaint.style.migration.switchedToMapCSS=true org.openstreetmap.josm.gui.preferences.PreferenceDialog.geometry=x=290,y=161,width=700,height=702 pluginmanager.lastupdate=1412003221155 pluginmanager.version=7480 plugins=[turnrestrictions] proxy.policy=no-proxy toggleDialogs.width=336
comment:14 by , 10 years ago
Replying to chris.heward@…:
Java version: 1.7.0, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Looks like you didn't install the Java update as you're running the very first and buggy Java 7 release, without any update.
comment:16 by , 9 years ago
No but it's one between 7u1 and 7u67... You can try to review all release notes, they're listed here:
https://en.wikipedia.org/wiki/Java_version_history#Java_7_updates
Forgot to mention the OS : Windows-7 64bit