New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hockey upload fails with a SSL_connect error #258
Comments
As seen on the stack trace: from /usr/local/lib/ruby/gems/2.2.0/gems/faraday-0.8.9/lib/faraday/connection.rb:118:in `post'
from /usr/local/lib/ruby/gems/2.2.0/gems/shenzhen-0.13.2/lib/shenzhen/plugins/hockeyapp.rb:29:in `upload_build' it seems to be an issue from shenzhen. |
Gave it another try after updating to fastlane 1.0.0.
Can someone confirm that this is an issue related to shenzhen? Or faraday? This error seems to be widespread in the ruby world but there are too many different solutions. |
Okay, well I think I know where the problem is. The problem doesn't originate in a specific gem, but is tied to the ruby installation itself (since Can you please post the output of From what I've gathered so far, the above command should yield:
So in conclusion, if the above assumptions are correct, the solution described in this link should be able to fix this: rm $(ruby -ropenssl -e 'puts OpenSSL::X509::DEFAULT_CERT_FILE') && \
brew install curl-ca-bundle && ln -s /usr/local/opt/curl-ca-bundle/share/ca-bundle.crt \
$(ruby -ropenssl -e 'puts OpenSSL::X509::DEFAULT_CERT_FILE') \
echo 'export SSL_CERT_FILE=/usr/local/opt/curl-ca-bundle/share/ca-bundle.crt' >> ~/.bash_profile |
@KrauseFx If this works, maybe we should include this in the README or some other part of the documentation, since quite some people have turned up with this error already. |
The command
So I went on and tried the described solution. But |
What if you just specify the SSL file? |
I had the same thought. But it didn't change anything |
Finally I found a solution that works for me. It was mentioned by alloy in a cocoapods issue (CocoaPods/CocoaPods#554). You see that this issue is widespread... I just downloaded a new bunch of CA Certificates via Now everything is fine. Nevertheless it sounds weird because the old certificates were valid and fine. |
Thanks for this hint, exporting the certificate fixed it for me as well. |
I was able to fix this using the suggestion from: Homebrew/legacy-homebrew#32251 (comment) Also seems much safer than downloading CA certs over unsecured http. |
Still running into this issue trying to get fastlane with hockeyapp action working in Travis CI |
I'm the same as @postmechanical no real joy, I opened this to see if anyone else could make any progress: nomad-cli/shenzhen#288 |
I ran into the same problem today. I'm using
taken from http://toadle.me/2015/04/16/fixing-failing-ssl-verification-with-rvm.html, which will also help you analyse the issue. But didn't get it running yet. |
Finally found the root of this problem: It's HockeyApp using an expired SSL profile:
At least according to the Ruby script. |
I got it working just by running
As mentioned before, I'm using |
I added this to the new FAQ document in the |
Thanks! |
Perfect! |
When reaching the upload to HockeyApp step I get the following output (fastlane version 0.13.0).
The full stack trace:
I already tried to update my certificates via
and also tried the equivalent steps described here
https://rvm.io/support/fixing-broken-ssl-certificates
but I still get the same error.
This issue first appeared after updating fastlane.
The text was updated successfully, but these errors were encountered: