Modify

Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#10506 closed defect (othersoftware)

SSLException when loading JOSM startup message

Reported by: chris66nrw@… Owned by: chris66nrw@…
Priority: normal Milestone:
Component: Core Version: latest
Keywords: security TLS Prime size DH keypair javabug Cc: stoecker, bastiK

Description (last modified by Don-vip)

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 anonymous, 9 years ago

Forgot to mention the OS : Windows-7 64bit

comment:2 by chris66nrw@…, 9 years ago

Version: latest

comment:3 by Don-vip, 9 years ago

Owner: changed from team to chris66nrw@…
Status: newneedinfo

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 Don-vip, 9 years ago

Cc: stoecker bastiK added
Description: modified (diff)
Keywords: security TLS added

Dirk, Paul, did you touch the SSL config recently?

comment:5 by Don-vip, 9 years ago

Summary: Error Message on JOSM startupSSLException when loading JOSM startup message

comment:6 by stoecker, 9 years ago

Me not.

comment:7 by bastiK, 9 years ago

Nope.

comment:8 by chris66nrw@…, 9 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.

Last edited 9 years ago by Don-vip (previous) (diff)

comment:9 by chris66nrw@…, 9 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)
Last edited 9 years ago by Don-vip (previous) (diff)

comment:10 by Don-vip, 9 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 Don-vip, 9 years ago

Keywords: javabug added
Resolution: othersoftware
Status: needinfoclosed

I assume it's due to your old Java version. Please reopen if you reproduce the problem with latest Java.

comment:12 by chris.heward@…, 9 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?

comment:13 by chris.heward@…, 9 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
Last edited 9 years ago by Don-vip (previous) (diff)

in reply to:  13 comment:14 by Don-vip, 9 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:15 by Firefishy, 8 years ago

Any idea in what version of Java this was Fixed in?

comment:16 by Don-vip, 8 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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain chris66nrw@….
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.