Toodledo sync failing: Could not generate DH keypair
Manage your tasks
Status: Inactive
Brought to you by:
leclercb
Starting today I am not able to sync with Toodledo for some reason. I was seeing it on 4.3.3 and just upgraded to 4.3.4 and am seeing it also. The error is "Could not generate DH keypair" with a root cause of "Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)". The stack trace is pasted below and I can provide the logs also if wanted (didn't attach because I am not sure if they contain private info). Thanks!
system info from inside TaskUnifier
Java Version: 1.6.0_65
Java Home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
OS Name: Mac OS X
OS Version: 10.9.5
OS Architecture: x86_64
java version info from command line
$ java -version
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
Stack Trace
Message:
com.leclercb.taskunifier.api.synchronizer.exc.SynchronizerHttpException: java.lang.RuntimeException: Could not generate DH keypair
Level:
WARNING
Stack Trace:
java.lang.RuntimeException: Could not generate DH keypair
com.leclercb.taskunifier.plugin.toodledo.calls.AbstractCall.callPost(AbstractCall.java:181)
com.leclercb.taskunifier.plugin.toodledo.calls.CallOAuth.refreshToken(CallOAuth.java:86)
com.leclercb.taskunifier.plugin.toodledo.calls.ToodledoStatement.refreshToken(ToodledoStatement.java:62)
com.leclercb.taskunifier.plugin.toodledo.ToodledoConnection.connect(ToodledoConnection.java:122)
com.leclercb.taskunifier.gui.processes.synchronization.ProcessSynchronize$4.call(ProcessSynchronize.java:197)
com.leclercb.taskunifier.gui.processes.synchronization.ProcessSynchronize$4.call(ProcessSynchronize.java:193)
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
java.util.concurrent.FutureTask.run(FutureTask.java:138)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
java.lang.Thread.run(Thread.java:695)
java.lang.RuntimeException: Could not generate DH keypair
com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)
com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1747)
com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1708)
com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1691)
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1222)
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1199)
sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:476)
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1031)
sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)
com.leclercb.commons.api.utils.HttpUtils.getHttpResponse(HttpUtils.java:152)
com.leclercb.commons.api.utils.HttpUtils.getHttpPostResponse(HttpUtils.java:88)
com.leclercb.taskunifier.plugin.toodledo.calls.AbstractCall.callPost(AbstractCall.java:135)
com.leclercb.taskunifier.plugin.toodledo.calls.CallOAuth.refreshToken(CallOAuth.java:86)
com.leclercb.taskunifier.plugin.toodledo.calls.ToodledoStatement.refreshToken(ToodledoStatement.java:62)
com.leclercb.taskunifier.plugin.toodledo.ToodledoConnection.connect(ToodledoConnection.java:122)
com.leclercb.taskunifier.gui.processes.synchronization.ProcessSynchronize$4.call(ProcessSynchronize.java:197)
com.leclercb.taskunifier.gui.processes.synchronization.ProcessSynchronize$4.call(ProcessSynchronize.java:193)
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
java.util.concurrent.FutureTask.run(FutureTask.java:138)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
java.lang.Thread.run(Thread.java:695)
Could not generate DH keypair
com.sun.net.ssl.internal.ssl.DHCrypt.<init>(DHCrypt.java:114)
com.sun.net.ssl.internal.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:559)
com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:186)
com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)
com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529)
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:943)
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188)
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1215)
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1199)
sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:476)
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1031)
sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)
com.leclercb.commons.api.utils.HttpUtils.getHttpResponse(HttpUtils.java:152)
com.leclercb.commons.api.utils.HttpUtils.getHttpPostResponse(HttpUtils.java:88)
com.leclercb.taskunifier.plugin.toodledo.calls.AbstractCall.callPost(AbstractCall.java:135)
com.leclercb.taskunifier.plugin.toodledo.calls.CallOAuth.refreshToken(CallOAuth.java:86)
com.leclercb.taskunifier.plugin.toodledo.calls.ToodledoStatement.refreshToken(ToodledoStatement.java:62)
com.leclercb.taskunifier.plugin.toodledo.ToodledoConnection.connect(ToodledoConnection.java:122)
com.leclercb.taskunifier.gui.processes.synchronization.ProcessSynchronize$4.call(ProcessSynchronize.java:197)
com.leclercb.taskunifier.gui.processes.synchronization.ProcessSynchronize$4.call(ProcessSynchronize.java:193)
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
java.util.concurrent.FutureTask.run(FutureTask.java:138)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
java.lang.Thread.run(Thread.java:695)
Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)
com.sun.crypto.provider.DHKeyPairGenerator.initialize(DashoA13*..)
java.security.KeyPairGenerator$Delegate.initialize(KeyPairGenerator.java:627)
com.sun.net.ssl.internal.ssl.DHCrypt.<init>(DHCrypt.java:107)
com.sun.net.ssl.internal.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:559)
com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:186)
com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)
com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529)
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:943)
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188)
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1215)
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1199)
sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:476)
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1031)
sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)
com.leclercb.commons.api.utils.HttpUtils.getHttpResponse(HttpUtils.java:152)
com.leclercb.commons.api.utils.HttpUtils.getHttpPostResponse(HttpUtils.java:88)
com.leclercb.taskunifier.plugin.toodledo.calls.AbstractCall.callPost(AbstractCall.java:135)
com.leclercb.taskunifier.plugin.toodledo.calls.CallOAuth.refreshToken(CallOAuth.java:86)
com.leclercb.taskunifier.plugin.toodledo.calls.ToodledoStatement.refreshToken(ToodledoStatement.java:62)
com.leclercb.taskunifier.plugin.toodledo.ToodledoConnection.connect(ToodledoConnection.java:122)
com.leclercb.taskunifier.gui.processes.synchronization.ProcessSynchronize$4.call(ProcessSynchronize.java:197)
com.leclercb.taskunifier.gui.processes.synchronization.ProcessSynchronize$4.call(ProcessSynchronize.java:193)
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
java.util.concurrent.FutureTask.run(FutureTask.java:138)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
java.lang.Thread.run(Thread.java:695)
Anonymous
Apparently I wasn't logged in when I created the ticket, but FYI it came from me (reesd).
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
I am also getting the same error, I was getting it on both versions as above
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Me too... started today
I have today problem with synchronization, in my case the error is:
Message:
com.leclercb.taskunifier.api.synchronizer.exc.SynchronizerParsingException: Error while parsing response
Regards Leszek
In my case now started again to synchronize - probably it was local proxy problem
Regards Leszek
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
I have a similar problem and the following message: java.lang.RuntimeException: Could not generate DH keypair
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Same error for me: vers. 4.3.3 and 4.3.4 of TaskUnifier
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
I've just spotted that Ben isn't really supporting this anymore, but might solve major bugs, here's hoping this counts as a major bug as I've continued updating tasks ready to sync when fixed!
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
I have had this problem for weeks - just tried uninstalling Java and downloading the latest version, and it now works :-)
What OS are you on?
On Fri, May 22, 2015 at 5:12 AM, noreply@in.sf.net wrote:
Related
Bugs: #442
I'm asking because I thought TaskUnifier on OSX using an embedded JDK, so
reinstalling it at the OS level wouldn't make a difference. See
https://sourceforge.net/p/taskunifier/bugs/385/ for more background.
On Wed, May 27, 2015 at 9:23 AM, david rees reesd@users.sf.net wrote:
Related
Bugs: #442
It does seem from what I have read that going to a newer Oracle JDK would
fix this problem. I'm just not sure how to change the embedded JDK for TU
on OSX.
On Wed, May 27, 2015 at 9:30 AM, david rees reesd@users.sf.net wrote:
Related
Bugs: #442