Created
January 20, 2016 17:22
-
-
Save bcg/44152820429536093778 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ jruby -v | |
jruby 9.0.3.0 (2.2.2) 2015-10-21 633c9aa Java HotSpot(TM) 64-Bit Server VM 25.51-b03 on 1.8.0_51-b16 +jit [darwin-x86_64] | |
$ jruby snippit.rb | |
Unhandled Java exception: java.lang.RuntimeException: Could not generate DH keypair | |
java.lang.RuntimeException: Could not generate DH keypair | |
checkThrown at sun/security/ssl/Handshaker.java:1429 | |
checkTaskThrown at sun/security/ssl/SSLEngineImpl.java:535 | |
readNetRecord at sun/security/ssl/SSLEngineImpl.java:813 | |
unwrap at sun/security/ssl/SSLEngineImpl.java:781 | |
unwrap at javax/net/ssl/SSLEngine.java:624 | |
readAndUnwrap at org/jruby/ext/openssl/SSLSocket.java:605 | |
doHandshake at org/jruby/ext/openssl/SSLSocket.java:483 | |
connectImpl at org/jruby/ext/openssl/SSLSocket.java:233 | |
connect at org/jruby/ext/openssl/SSLSocket.java:210 | |
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:293 | |
call at org/jruby/runtime/callsite/CachingCallSite.java:131 | |
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:306 | |
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:77 | |
INTERPRET_BLOCK at org/jruby/ir/interpreter/Interpreter.java:122 | |
commonYieldPath at org/jruby/runtime/MixedModeIRBlockBody.java:136 | |
yieldSpecific at org/jruby/runtime/IRBlockBody.java:67 | |
yieldSpecific at org/jruby/runtime/Block.java:116 | |
timeout at org/jruby/ext/timeout/Timeout.java:128 | |
call at org/jruby/internal/runtime/methods/JavaMethod.java:602 | |
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:273 | |
callBlock at org/jruby/runtime/callsite/CachingCallSite.java:79 | |
call at org/jruby/runtime/callsite/CachingCallSite.java:83 | |
interpret at org/jruby/ir/instructions/CallBase.java:419 | |
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:322 | |
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:77 | |
interpret at org/jruby/ir/interpreter/InterpreterEngine.java:77 | |
INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:162 | |
call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:148 | |
call at org/jruby/internal/runtime/methods/DynamicMethod.java:189 | |
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:293 | |
call at org/jruby/runtime/callsite/CachingCallSite.java:131 | |
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:306 | |
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:77 | |
interpret at org/jruby/ir/interpreter/InterpreterEngine.java:77 | |
INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:162 | |
call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:148 | |
call at org/jruby/internal/runtime/methods/DynamicMethod.java:189 | |
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:293 | |
call at org/jruby/runtime/callsite/CachingCallSite.java:131 | |
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:306 | |
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:77 | |
INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:127 | |
call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:113 | |
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:273 | |
callBlock at org/jruby/runtime/callsite/CachingCallSite.java:79 | |
call at org/jruby/runtime/callsite/CachingCallSite.java:83 | |
interpret at org/jruby/ir/instructions/CallBase.java:419 | |
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:322 | |
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:77 | |
interpret at org/jruby/ir/interpreter/InterpreterEngine.java:83 | |
INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:197 | |
call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:183 | |
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:323 | |
callBlock at org/jruby/runtime/callsite/CachingCallSite.java:173 | |
call at org/jruby/runtime/callsite/CachingCallSite.java:177 | |
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:299 | |
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:77 | |
interpret at org/jruby/ir/interpreter/InterpreterEngine.java:83 | |
INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:197 | |
call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:183 | |
call at org/jruby/internal/runtime/methods/DynamicMethod.java:197 | |
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:313 | |
call at org/jruby/runtime/callsite/CachingCallSite.java:163 | |
<top> at snippit.rb:5 | |
invokeWithArguments at java/lang/invoke/MethodHandle.java:625 | |
load at org/jruby/ir/Compiler.java:111 | |
runScript at org/jruby/Ruby.java:821 | |
runScript at org/jruby/Ruby.java:813 | |
runNormally at org/jruby/Ruby.java:751 | |
runFromMain at org/jruby/Ruby.java:573 | |
doRunFromMain at org/jruby/Main.java:409 | |
internalRun at org/jruby/Main.java:304 | |
run at org/jruby/Main.java:233 | |
main at org/jruby/Main.java:200 | |
Caused by: | |
java.lang.RuntimeException: Could not generate DH keypair | |
<init> at sun/security/ssl/DHCrypt.java:137 | |
serverKeyExchange at sun/security/ssl/ClientHandshaker.java:701 | |
processMessage at sun/security/ssl/ClientHandshaker.java:264 | |
processLoop at sun/security/ssl/Handshaker.java:979 | |
run at sun/security/ssl/Handshaker.java:919 | |
run at sun/security/ssl/Handshaker.java:916 | |
doPrivileged at java/security/AccessController.java:-2 | |
run at sun/security/ssl/Handshaker.java:1369 | |
doTasks at org/jruby/ext/openssl/SSLSocket.java:512 | |
doHandshake at org/jruby/ext/openssl/SSLSocket.java:480 | |
connectImpl at org/jruby/ext/openssl/SSLSocket.java:233 | |
connect at org/jruby/ext/openssl/SSLSocket.java:210 | |
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:293 | |
call at org/jruby/runtime/callsite/CachingCallSite.java:131 | |
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:306 | |
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:77 | |
INTERPRET_BLOCK at org/jruby/ir/interpreter/Interpreter.java:122 | |
commonYieldPath at org/jruby/runtime/MixedModeIRBlockBody.java:136 | |
yieldSpecific at org/jruby/runtime/IRBlockBody.java:67 | |
yieldSpecific at org/jruby/runtime/Block.java:116 | |
timeout at org/jruby/ext/timeout/Timeout.java:128 | |
call at org/jruby/internal/runtime/methods/JavaMethod.java:602 | |
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:273 | |
callBlock at org/jruby/runtime/callsite/CachingCallSite.java:79 | |
call at org/jruby/runtime/callsite/CachingCallSite.java:83 | |
interpret at org/jruby/ir/instructions/CallBase.java:419 | |
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:322 | |
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:77 | |
interpret at org/jruby/ir/interpreter/InterpreterEngine.java:77 | |
INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:162 | |
call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:148 | |
call at org/jruby/internal/runtime/methods/DynamicMethod.java:189 | |
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:293 | |
call at org/jruby/runtime/callsite/CachingCallSite.java:131 | |
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:306 | |
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:77 | |
interpret at org/jruby/ir/interpreter/InterpreterEngine.java:77 | |
INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:162 | |
call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:148 | |
call at org/jruby/internal/runtime/methods/DynamicMethod.java:189 | |
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:293 | |
call at org/jruby/runtime/callsite/CachingCallSite.java:131 | |
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:306 | |
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:77 | |
INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:127 | |
call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:113 | |
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:273 | |
callBlock at org/jruby/runtime/callsite/CachingCallSite.java:79 | |
call at org/jruby/runtime/callsite/CachingCallSite.java:83 | |
interpret at org/jruby/ir/instructions/CallBase.java:419 | |
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:322 | |
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:77 | |
interpret at org/jruby/ir/interpreter/InterpreterEngine.java:83 | |
INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:197 | |
call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:183 | |
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:323 | |
callBlock at org/jruby/runtime/callsite/CachingCallSite.java:173 | |
call at org/jruby/runtime/callsite/CachingCallSite.java:177 | |
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:299 | |
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:77 | |
interpret at org/jruby/ir/interpreter/InterpreterEngine.java:83 | |
INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:197 | |
call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:183 | |
call at org/jruby/internal/runtime/methods/DynamicMethod.java:197 | |
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:313 | |
call at org/jruby/runtime/callsite/CachingCallSite.java:163 | |
<top> at snippit.rb:5 | |
invokeWithArguments at java/lang/invoke/MethodHandle.java:625 | |
load at org/jruby/ir/Compiler.java:111 | |
runScript at org/jruby/Ruby.java:821 | |
runScript at org/jruby/Ruby.java:813 | |
runNormally at org/jruby/Ruby.java:751 | |
runFromMain at org/jruby/Ruby.java:573 | |
doRunFromMain at org/jruby/Main.java:409 | |
internalRun at org/jruby/Main.java:304 | |
run at org/jruby/Main.java:233 | |
main at org/jruby/Main.java:200 | |
Caused by: | |
java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 2048 (inclusive) | |
initialize at com/sun/crypto/provider/DHKeyPairGenerator.java:120 | |
initialize at java/security/KeyPairGenerator.java:674 | |
<init> at sun/security/ssl/DHCrypt.java:128 | |
serverKeyExchange at sun/security/ssl/ClientHandshaker.java:701 | |
processMessage at sun/security/ssl/ClientHandshaker.java:264 | |
processLoop at sun/security/ssl/Handshaker.java:979 | |
run at sun/security/ssl/Handshaker.java:919 | |
run at sun/security/ssl/Handshaker.java:916 | |
doPrivileged at java/security/AccessController.java:-2 | |
run at sun/security/ssl/Handshaker.java:1369 | |
doTasks at org/jruby/ext/openssl/SSLSocket.java:512 | |
doHandshake at org/jruby/ext/openssl/SSLSocket.java:480 | |
connectImpl at org/jruby/ext/openssl/SSLSocket.java:233 | |
connect at org/jruby/ext/openssl/SSLSocket.java:210 | |
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:293 | |
call at org/jruby/runtime/callsite/CachingCallSite.java:131 | |
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:306 | |
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:77 | |
INTERPRET_BLOCK at org/jruby/ir/interpreter/Interpreter.java:122 | |
commonYieldPath at org/jruby/runtime/MixedModeIRBlockBody.java:136 | |
yieldSpecific at org/jruby/runtime/IRBlockBody.java:67 | |
yieldSpecific at org/jruby/runtime/Block.java:116 | |
timeout at org/jruby/ext/timeout/Timeout.java:128 | |
call at org/jruby/internal/runtime/methods/JavaMethod.java:602 | |
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:273 | |
callBlock at org/jruby/runtime/callsite/CachingCallSite.java:79 | |
call at org/jruby/runtime/callsite/CachingCallSite.java:83 | |
interpret at org/jruby/ir/instructions/CallBase.java:419 | |
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:322 | |
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:77 | |
interpret at org/jruby/ir/interpreter/InterpreterEngine.java:77 | |
INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:162 | |
call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:148 | |
call at org/jruby/internal/runtime/methods/DynamicMethod.java:189 | |
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:293 | |
call at org/jruby/runtime/callsite/CachingCallSite.java:131 | |
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:306 | |
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:77 | |
interpret at org/jruby/ir/interpreter/InterpreterEngine.java:77 | |
INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:162 | |
call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:148 | |
call at org/jruby/internal/runtime/methods/DynamicMethod.java:189 | |
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:293 | |
call at org/jruby/runtime/callsite/CachingCallSite.java:131 | |
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:306 | |
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:77 | |
INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:127 | |
call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:113 | |
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:273 | |
callBlock at org/jruby/runtime/callsite/CachingCallSite.java:79 | |
call at org/jruby/runtime/callsite/CachingCallSite.java:83 | |
interpret at org/jruby/ir/instructions/CallBase.java:419 | |
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:322 | |
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:77 | |
interpret at org/jruby/ir/interpreter/InterpreterEngine.java:83 | |
INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:197 | |
call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:183 | |
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:323 | |
callBlock at org/jruby/runtime/callsite/CachingCallSite.java:173 | |
call at org/jruby/runtime/callsite/CachingCallSite.java:177 | |
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:299 | |
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:77 | |
interpret at org/jruby/ir/interpreter/InterpreterEngine.java:83 | |
INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:197 | |
call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:183 | |
call at org/jruby/internal/runtime/methods/DynamicMethod.java:197 | |
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:313 | |
call at org/jruby/runtime/callsite/CachingCallSite.java:163 | |
<top> at snippit.rb:5 | |
invokeWithArguments at java/lang/invoke/MethodHandle.java:625 | |
load at org/jruby/ir/Compiler.java:111 | |
runScript at org/jruby/Ruby.java:821 | |
runScript at org/jruby/Ruby.java:813 | |
runNormally at org/jruby/Ruby.java:751 | |
runFromMain at org/jruby/Ruby.java:573 | |
doRunFromMain at org/jruby/Main.java:409 | |
internalRun at org/jruby/Main.java:304 | |
run at org/jruby/Main.java:233 | |
main at org/jruby/Main.java:200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'net/http' | |
uri = URI.parse("https://push.staging.appsignal.com/isup") | |
http = Net::HTTP.new(uri.host, uri.port) | |
http.use_ssl = true | |
http.get(uri.request_uri) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment