Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [erymer@stargate mybot]$ java -classpath pircbot.jar:. MyBotMain
- 1414798941082 *** Connected to server.
- Exception in thread "main" javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair
- at sun.security.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1476)
- at sun.security.ssl.AppInputStream.read(AppInputStream.java:92)
- at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
- at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
- at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
- at java.io.InputStreamReader.read(InputStreamReader.java:184)
- at java.io.BufferedReader.fill(BufferedReader.java:154)
- at java.io.BufferedReader.readLine(BufferedReader.java:317)
- at java.io.BufferedReader.readLine(BufferedReader.java:382)
- at org.jibble.pircbot.PircBot.connect(PircBot.java:194)
- at org.jibble.pircbot.PircBot.connect(PircBot.java:121)
- at MyBotMain.main(MyBotMain.java:11)
- Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair
- at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
- at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1884)
- at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1842)
- at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1825)
- at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1751)
- at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:127)
- at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
- at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
- at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295)
- at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
- at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
- at java.io.BufferedWriter.flush(BufferedWriter.java:254)
- at org.jibble.pircbot.OutputThread.sendRawLine(OutputThread.java:66)
- at org.jibble.pircbot.PircBot.connect(PircBot.java:186)
- ... 2 more
- Caused by: java.lang.RuntimeException: Could not generate DH keypair
- at sun.security.ssl.DHCrypt.<init>(DHCrypt.java:136)
- at sun.security.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:621)
- at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:205)
- at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
- at sun.security.ssl.Handshaker.process_record(Handshaker.java:804)
- at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1016)
- at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
- at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:702)
- at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122)
- ... 10 more
- Caused by: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)
- at com.sun.crypto.provider.DHKeyPairGenerator.initialize(DHKeyPairGenerator.java:120)
- at java.security.KeyPairGenerator$Delegate.initialize(KeyPairGenerator.java:658)
- at sun.security.ssl.DHCrypt.<init>(DHCrypt.java:127)
- ... 18 more
- [erymer@stargate mybot]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement