{"action":"created","issue":{"url":"https://api.github.com/repos/heroku/heroku-buildpack-ruby/issues/365","labels_url":"https://api.github.com/repos/heroku/heroku-buildpack-ruby/issues/365/labels{/name}","comments_url":"https://api.github.com/repos/heroku/heroku-buildpack-ruby/issues/365/comments","events_url":"https://api.github.com/repos/heroku/heroku-buildpack-ruby/issues/365/events","html_url":"https://github.com/heroku/heroku-buildpack-ruby/issues/365","id":70497710,"number":365,"title":"jRuby Could not generate DH key pair","user":{"login":"lephyrius","id":747215,"avatar_url":"https://avatars.githubusercontent.com/u/747215?v=3","gravatar_id":"","url":"https://api.github.com/users/lephyrius","html_url":"https://github.com/lephyrius","followers_url":"https://api.github.com/users/lephyrius/followers","following_url":"https://api.github.com/users/lephyrius/following{/other_user}","gists_url":"https://api.github.com/users/lephyrius/gists{/gist_id}","starred_url":"https://api.github.com/users/lephyrius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lephyrius/subscriptions","organizations_url":"https://api.github.com/users/lephyrius/orgs","repos_url":"https://api.github.com/users/lephyrius/repos","events_url":"https://api.github.com/users/lephyrius/events{/privacy}","received_events_url":"https://api.github.com/users/lephyrius/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-23T19:54:39Z","updated_at":"2015-07-02T17:13:19Z","closed_at":null,"body":"Cannot push app...\r\nI get this error:\r\n\r\n```\r\n  Ruby version change detected. Clearing bundler cache.\r\n       Old: jruby 1.7.19 (2.0.0p598) 2015-02-06 fffffff on OpenJDK 64-Bit Server VM 1.8.0_40-cedar14-b25 +jit [linux-amd64]\r\n       New: jruby 1.7.19 (2.0.0p598) 2015-02-06 fffffff on OpenJDK 64-Bit Server VM 1.8.0_40-cedar14-b25 [linux-amd64]\r\n       Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment\r\n       Picked up JAVA_TOOL_OPTIONS: -Xmx5120m -Djava.rmi.server.useCodebaseOnly=true\r\n       Unfortunately, a fatal error has occurred. Please see the Bundler\r\n       troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!\r\n       Handshaker.java:1419:in `checkThrown': java.lang.RuntimeException: Could not generate DH keypair\r\n       from SSLEngineImpl.java:535:in `checkTaskThrown'\r\n       from SSLEngineImpl.java:813:in `readNetRecord'\r\n       from SSLEngineImpl.java:781:in `unwrap'\r\n       from SSLEngine.java:624:in `unwrap'\r\n       from SSLSocket.java:550:in `readAndUnwrap'\r\n       from SSLSocket.java:430:in `doHandshake'\r\n       from SSLSocket.java:203:in `connectCommon'\r\n       from SSLSocket.java:180:in `connect'\r\n       from SSLSocket$INVOKER$i$0$0$connect.gen:-1:in `call'\r\n       from CachingCallSite.java:306:in `cacheAndCall'\r\n       from CachingCallSite.java:136:in `call'\r\n       from CallNoArgNode.java:60:in `interpret'\r\n       from NewlineNode.java:105:in `interpret'\r\n       from ASTInterpreter.java:112:in `INTERPRET_BLOCK'\r\n       from Interpreted19Block.java:206:in `evalBlockBody'\r\n       from Interpreted19Block.java:157:in `yield'\r\n       from Interpreted19Block.java:130:in `yieldSpecific'\r\n       from Block.java:111:in `yieldSpecific'\r\n       from Timeout.java:143:in `timeout'\r\n       from Timeout$INVOKER$s$timeout.gen:-1:in `call'\r\n       from CachingCallSite.java:356:in `cacheAndCall'\r\n       from CachingCallSite.java:213:in `callBlock'\r\n       from CachingCallSite.java:222:in `callIter'\r\n       from CallTwoArgBlockNode.java:62:in `interpret'\r\n       from NewlineNode.java:105:in `interpret'\r\n       from BlockNode.java:71:in `interpret'\r\n       from RescueNode.java:221:in `executeBody'\r\n       from RescueNode.java:116:in `interpret'\r\n       from BeginNode.java:83:in `interpret'\r\n       from NewlineNode.java:105:in `interpret'\r\n       from IfNode.java:116:in `interpret'\r\n       from NewlineNode.java:105:in `interpret'\r\n       from BlockNode.java:71:in `interpret'\r\n       from ASTInterpreter.java:74:in `INTERPRET_METHOD'\r\n       from InterpretedMethod.java:139:in `call'\r\n       from DefaultMethod.java:187:in `call'\r\n       from CachingCallSite.java:306:in `cacheAndCall'\r\n       from CachingCallSite.java:136:in `call'\r\n       from VCallNode.java:88:in `interpret'\r\n       from NewlineNode.java:105:in `interpret'\r\n       from BlockNode.java:71:in `interpret'\r\n       from ASTInterpreter.java:74:in `INTERPRET_METHOD'\r\n       from InterpretedMethod.java:139:in `call'\r\n       from DefaultMethod.java:187:in `call'\r\n       from CachingCallSite.java:306:in `cacheAndCall'\r\n       from CachingCallSite.java:136:in `call'\r\n       from VCallNode.java:88:in `interpret'\r\n       from NewlineNode.java:105:in `interpret'\r\n       from BlockNode.java:71:in `interpret'\r\n       from ASTInterpreter.java:74:in `INTERPRET_METHOD'\r\n       from InterpretedMethod.java:139:in `call'\r\n       from DefaultMethod.java:187:in `call'\r\n```"},"comment":{"url":"https://api.github.com/repos/heroku/heroku-buildpack-ruby/issues/comments/118096639","html_url":"https://github.com/heroku/heroku-buildpack-ruby/issues/365#issuecomment-118096639","issue_url":"https://api.github.com/repos/heroku/heroku-buildpack-ruby/issues/365","id":118096639,"user":{"login":"jkutner","id":1589,"avatar_url":"https://avatars.githubusercontent.com/u/1589?v=3","gravatar_id":"","url":"https://api.github.com/users/jkutner","html_url":"https://github.com/jkutner","followers_url":"https://api.github.com/users/jkutner/followers","following_url":"https://api.github.com/users/jkutner/following{/other_user}","gists_url":"https://api.github.com/users/jkutner/gists{/gist_id}","starred_url":"https://api.github.com/users/jkutner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkutner/subscriptions","organizations_url":"https://api.github.com/users/jkutner/orgs","repos_url":"https://api.github.com/users/jkutner/repos","events_url":"https://api.github.com/users/jkutner/events{/privacy}","received_events_url":"https://api.github.com/users/jkutner/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T17:13:19Z","updated_at":"2015-07-02T17:13:19Z","body":"@lephyrius does this still happen for you? I tried to reproduce it with a `Gemfile` like this, but I could not:\r\n\r\n```ruby\r\nruby \"1.9.3\", engine: \"jruby\", engine_version: \"1.7.20.1\"\r\n\r\nsource 'https://rails-assets.org' do\r\n  gem 'rails-assets-bootstrap'\r\nend\r\n```\r\n\r\nI think this may have been inadvertently fixed when we overhauled the JVM setup for JRuby apps. But I've not been able to reproduce it in any way to confirm.\r\n"}}