Well, a day later I tried again. Connected as a Leaf for 6 hours np. Ignoring Idle mode, I stayed connected to 4 ultrapeers.
I was actually experimenting to see what Acqlite would do if I added extra GWC's to the connection file. Seems it did not do any harm at least. Or perhaps yesterday was just a bad day.
However today, things have gone back to worse. Either not connecting or losing connections after an hour or so. I checked the console & found these errors:
Code:
[0x0-0x11e11e].net.sourceforge.acqlite[9220] [ERROR] NIODispatcher - -java.lang.RuntimeException: Could not generate DH keypair
"java.lang.RuntimeException: Could not generate DH keypair"
[0x0-0x11e11e].net.sourceforge.acqlite[9220] [ERROR] NIODispatcher - -Error in Selector! <java.lang.RuntimeException: Could not generate DH keypair>java.lang.RuntimeException: Could not generate DH keypair
[0x0-0x11e11e].net.sourceforge.acqlite[9220] at org.limewire.service.ErrorService$PrintStreamErrorCallback.error(ErrorService.java:79)
[0x0-0x11e11e].net.sourceforge.acqlite[9220] at org.limewire.service.ErrorService.error(ErrorService.java:43)
[0x0-0x11e11e].net.sourceforge.acqlite[9220] at org.limewire.nio.NIODispatcher.runPendingTasks(NIODispatcher.java:524)
[0x0-0x11e11e].net.sourceforge.acqlite[9220] at org.limewire.nio.NIODispatcher.process(NIODispatcher.java:604)
[0x0-0x11e11e].net.sourceforge.acqlite[9220] at org.limewire.nio.NIODispatcher.run(NIODispatcher.java:871)
[0x0-0x11e11e].net.sourceforge.acqlite[9220] at java.lang.Thread.run(Thread.java:695)
"\tat com.sun.net.ssl.internal.ssl.Handshaker.checkThrown(Handshaker.java:1012)"
"\tat com.sun.net.ssl.internal.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:485)"
"\tat com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:753)"
"\tat com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:721)"
"\tat javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:607)"
"\tat org.limewire.nio.ssl.SSLReadWriteChannel.read(SSLReadWriteChannel.java:217)"
"\tat org.limewire.nio.ssl.SSLReadWriteChannel$1.run(SSLReadWriteChannel.java:373)"
"\tat org.limewire.nio.NIODispatcher.runPendingTasks(NIODispatcher.java:521)"
"\tat org.limewire.nio.NIODispatcher.process(NIODispatcher.java:604)"
"\tat org.limewire.nio.NIODispatcher.run(NIODispatcher.java:871)"
"\tat java.lang.Thread.run(Thread.java:695)"
"Caused by: java.lang.RuntimeException: Could not generate DH keypair"
"\tat com.sun.net.ssl.internal.ssl.DHCrypt.<init>(DHCrypt.java:114)"
"\tat com.sun.net.ssl.internal.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:559)"
"\tat com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:178)"
"\tat com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)"
"\tat com.sun.net.ssl.internal.ssl.Handshaker$1.run(Handshaker.java:533)"
"\tat java.security.AccessController.doPrivileged(Native Method)"
"\tat com.sun.net.ssl.internal.ssl.Handshaker$DelegatedTask.run(Handshaker.java:952)"
"\tat org.limewire.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1006)"
"\tat org.limewire.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:549)"
"\t... 1 more"
"Caused by: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)"
"\tat com.sun.crypto.provider.DHKeyPairGenerator.initialize(DashoA13*..)"
"\tat java.security.KeyPairGenerator$Delegate.initialize(KeyPairGenerator.java:627)"
"\tat com.sun.net.ssl.internal.ssl.DHCrypt.<init>(DHCrypt.java:107)"
"\t... 9 more"
"java.lang.RuntimeException: Could not generate DH keypair"
"\tat org.limewire.service.ErrorService$PrintStreamErrorCallback.error(ErrorService.java:79)"
"\tat org.limewire.service.ErrorService.error(ErrorService.java:43)"
"\tat org.limewire.nio.NIODispatcher.runPendingTasks(NIODispatcher.java:524)"
"\tat org.limewire.nio.NIODispatcher.process(NIODispatcher.java:604)"
"\tat org.limewire.nio.NIODispatcher.run(NIODispatcher.java:871)"
"\tat java.lang.Thread.run(Thread.java:695)"
"java.lang.RuntimeException: Could not generate DH keypair"
"\tat org.limewire.service.ErrorService$PrintStreamErrorCallback.error(ErrorService.java:79)"
"\tat org.limewire.service.ErrorService.error(ErrorService.java:43)"
"\tat org.limewire.nio.NIODispatcher.run(NIODispatcher.java:883)"
"\tat java.lang.Thread.run(Thread.java:695)"
"Uncaught thread error: NIODispatcher"
And a restart of Acqlite with no connection, almost identical errors:
Code:
"java.lang.RuntimeException: Could not generate DH keypair"
"\tat com.sun.net.ssl.internal.ssl.Handshaker.checkThrown(Handshaker.java:1012)"
"\tat com.sun.net.ssl.internal.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:485)"
[0x0-0x12a12a].net.sourceforge.acqlite[9534] [ERROR] NIODispatcher - -Error in Selector! <java.lang.RuntimeException: Could not generate DH keypair>java.lang.RuntimeException: Could not generate DH keypair
[0x0-0x12a12a].net.sourceforge.acqlite[9534] at org.limewire.service.ErrorService$PrintStreamErrorCallback.error(ErrorService.java:86)
[0x0-0x12a12a].net.sourceforge.acqlite[9534] at org.limewire.service.ErrorService.error(ErrorService.java:50)
[0x0-0x12a12a].net.sourceforge.acqlite[9534] at org.limewire.nio.NIODispatcher.process(NIODispatcher.java:799)
[0x0-0x12a12a].net.sourceforge.acqlite[9534] at org.limewire.nio.NIODispatcher.process(NIODispatcher.java:690)
[0x0-0x12a12a].net.sourceforge.acqlite[9534] at org.limewire.nio.NIODispatcher.run(NIODispatcher.java:871)
[0x0-0x12a12a].net.sourceforge.acqlite[9534] at java.lang.Thread.run(Thread.java:695)
"\tat com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:753)"
"\tat com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:721)"
"\tat javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:607)"
"\tat org.limewire.nio.ssl.SSLReadWriteChannel.read(SSLReadWriteChannel.java:217)"
"\tat org.limewire.nio.statemachine.IOStateMachine.processCurrentState(IOStateMachine.java:167)"
"\tat org.limewire.nio.statemachine.IOStateMachine.handleRead(IOStateMachine.java:111)"
"\tat org.limewire.nio.AbstractNBSocket.handleRead(AbstractNBSocket.java:266)"
"\tat org.limewire.nio.NIODispatcher.processRead(NIODispatcher.java:459)"
"\tat org.limewire.nio.NIODispatcher.process(NIODispatcher.java:782)"
"\tat org.limewire.nio.NIODispatcher.process(NIODispatcher.java:690)"
"\tat org.limewire.nio.NIODispatcher.run(NIODispatcher.java:871)"
"\tat java.lang.Thread.run(Thread.java:695)"
"Caused by: java.lang.RuntimeException: Could not generate DH keypair"
"\tat com.sun.net.ssl.internal.ssl.DHCrypt.<init>(DHCrypt.java:114)"
"\tat com.sun.net.ssl.internal.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:559)"
"\tat com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:178)"
"\tat com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)"
"\tat com.sun.net.ssl.internal.ssl.Handshaker$1.run(Handshaker.java:533)"
"\tat java.security.AccessController.doPrivileged(Native Method)"
"\tat com.sun.net.ssl.internal.ssl.Handshaker$DelegatedTask.run(Handshaker.java:952)"
"\tat org.limewire.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1006)"
"\tat org.limewire.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:549)"
"\t... 1 more"
"Caused by: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)"
"\tat com.sun.crypto.provider.DHKeyPairGenerator.initialize(DashoA13*..)"
"\tat java.security.KeyPairGenerator$Delegate.initialize(KeyPairGenerator.java:627)"
"\tat com.sun.net.ssl.internal.ssl.DHCrypt.<init>(DHCrypt.java:107)"
"\t... 9 more"
"Unhandled exception while dispatching"
"java.lang.RuntimeException: Could not generate DH keypair"
"\tat org.limewire.service.ErrorService$PrintStreamErrorCallback.error(ErrorService.java:86)"
"\tat org.limewire.service.ErrorService.error(ErrorService.java:50)"
"\tat org.limewire.nio.NIODispatcher.process(NIODispatcher.java:799)"
"\tat org.limewire.nio.NIODispatcher.process(NIODispatcher.java:690)"
"\tat org.limewire.nio.NIODispatcher.run(NIODispatcher.java:871)"
"\tat java.lang.Thread.run(Thread.java:695)"
"java.lang.RuntimeException: Could not generate DH keypair"
"\tat org.limewire.service.ErrorService$PrintStreamErrorCallback.error(ErrorService.java:79)"
"\tat org.limewire.service.ErrorService.error(ErrorService.java:43)"
"\tat org.limewire.nio.NIODispatcher.run(NIODispatcher.java:883)"
"\tat java.lang.Thread.run(Thread.java:695)"
"Uncaught thread error: NIODispatcher"
[0x0-0x12a12a].net.sourceforge.acqlite[9534] [ERROR] PassiveLeafController - -IOException <java.io.IOException: Not in GZIP format>java.io.IOException: Not in GZIP format
[0x0-0x12a12a].net.sourceforge.acqlite[9534] at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:141)
[0x0-0x12a12a].net.sourceforge.acqlite[9534] at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:56)
[0x0-0x12a12a].net.sourceforge.acqlite[9534] at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:65)
[0x0-0x12a12a].net.sourceforge.acqlite[9534] at org.limewire.mojito.util.CryptoUtils.loadPublicKey(CryptoUtils.java:83)
[0x0-0x12a12a].net.sourceforge.acqlite[9534] at com.limegroup.gnutella.dht.AbstractDHTController.<init>(AbstractDHTController.java:165)
[0x0-0x12a12a].net.sourceforge.acqlite[9534] at com.limegroup.gnutella.dht.PassiveLeafController.<init>(PassiveLeafController.java:37)
[0x0-0x12a12a].net.sourceforge.acqlite[9534] at com.limegroup.gnutella.dht.DHTControllerFactoryImpl.createPassiveLeafController(DHTControllerFactoryImpl.java:44)
[0x0-0x12a12a].net.sourceforge.acqlite[9534] at com.limegroup.gnutella.dht.DHTManagerImpl$2.run(DHTManagerImpl.java:213)
[0x0-0x12a12a].net.sourceforge.acqlite[9534] at org.limewire.util.DebugRunnable.run(DebugRunnable.java:25)
[0x0-0x12a12a].net.sourceforge.acqlite[9534] at org.limewire.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1006)
[0x0-0x12a12a].net.sourceforge.acqlite[9534] at org.limewire.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:549)
[0x0-0x12a12a].net.sourceforge.acqlite[9534] at java.lang.Thread.run(Thread.java:695)
Unfortunately I have no answers.