Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.40 KB | None | 0 0
  1. [erymer@stargate mybot]$ java -classpath pircbot.jar:. MyBotMain
  2. 1414798941082 *** Connected to server.
  3. Exception in thread "main" javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair
  4. at sun.security.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1476)
  5. at sun.security.ssl.AppInputStream.read(AppInputStream.java:92)
  6. at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
  7. at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
  8. at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
  9. at java.io.InputStreamReader.read(InputStreamReader.java:184)
  10. at java.io.BufferedReader.fill(BufferedReader.java:154)
  11. at java.io.BufferedReader.readLine(BufferedReader.java:317)
  12. at java.io.BufferedReader.readLine(BufferedReader.java:382)
  13. at org.jibble.pircbot.PircBot.connect(PircBot.java:194)
  14. at org.jibble.pircbot.PircBot.connect(PircBot.java:121)
  15. at MyBotMain.main(MyBotMain.java:11)
  16. Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair
  17. at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
  18. at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1884)
  19. at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1842)
  20. at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1825)
  21. at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1751)
  22. at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:127)
  23. at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
  24. at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
  25. at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295)
  26. at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
  27. at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
  28. at java.io.BufferedWriter.flush(BufferedWriter.java:254)
  29. at org.jibble.pircbot.OutputThread.sendRawLine(OutputThread.java:66)
  30. at org.jibble.pircbot.PircBot.connect(PircBot.java:186)
  31. ... 2 more
  32. Caused by: java.lang.RuntimeException: Could not generate DH keypair
  33. at sun.security.ssl.DHCrypt.<init>(DHCrypt.java:136)
  34. at sun.security.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:621)
  35. at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:205)
  36. at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
  37. at sun.security.ssl.Handshaker.process_record(Handshaker.java:804)
  38. at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1016)
  39. at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
  40. at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:702)
  41. at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122)
  42. ... 10 more
  43. Caused by: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)
  44. at com.sun.crypto.provider.DHKeyPairGenerator.initialize(DHKeyPairGenerator.java:120)
  45. at java.security.KeyPairGenerator$Delegate.initialize(KeyPairGenerator.java:658)
  46. at sun.security.ssl.DHCrypt.<init>(DHCrypt.java:127)
  47. ... 18 more
  48. [erymer@stargate mybot]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement