Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546366 - sci-geosciences/josm is broken: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)
Summary: sci-geosciences/josm is broken: java.security.InvalidAlgorithmParameterExcept...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-12 14:48 UTC by Tobias Leupold
Modified: 2016-02-28 13:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Leupold 2015-04-12 14:48:28 UTC
Josm does not communicate over the web anymore and displays the following error message:

JOSM tried to access the following resources: 
https://josm.openstreetmap.de/maps
https://josm.openstreetmap.de/wiki/StartupPage
https://api.openstreetmap.org/api/capabilities
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

On the console:

INFO: GET https://api.openstreetmap.org/api/capabilities... 
WARNING: Failed to read MOTD. Exception was: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair
WARNING: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)
ERROR: 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)

Probably, this is due to the old revision 7347? The current stable one is 8159, according to http://josm.openstreetmap.de/.
Comment 1 Tobias Leupold 2015-04-12 16:05:35 UTC
Also happens with current svn version (sci-geosciences/josm-9999), so this is probably caused by something else ...
Comment 2 Tobias Leupold 2015-04-13 18:25:00 UTC
Apparently, this is caused by (currently stable) dev-java/icedtea-bin-6.1.13.5. I upgraded to dev-java/icedtea-bin-7.2.5.3, and the problem was gone. Probably, this version should be a depencency for the current josm.
Comment 3 Tobias Leupold 2016-02-27 22:59:50 UTC
Version 9060 seems to work again. Probably, this one can be closed.
Comment 4 Amy Liffey gentoo-dev 2016-02-28 13:08:59 UTC
Solved in 9060 version.

Thanks
Amy