fastlane: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
New Issue Checklist
- Updated fastlane to the latest version
Issue Description
Complete output when running fastlane, including the stack trace and command used
Command used: `fastlane beta`
Output:
[14:47:07]: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
+------+-------------------------------------+-------------+
| fastlane summary |
+------+-------------------------------------+-------------+
| Step | Action | Time (in s) |
+------+-------------------------------------+-------------+
| 1 | Verifying required fastlane version | 0 |
| 2 | default_platform | 0 |
| 3 | cocoapods | 4 |
| 4 | gym | 43 |
| 5 | pilot | 2 |
+------+-------------------------------------+-------------+
[14:47:07]: fastlane finished with errors
Looking for related GitHub issues on fastlane/fastlane...
[14:47:07]: Error finding relevant GitHub issues: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
/Users/rtayal/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/net/http.rb:923:in `connect': [!] SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (Faraday::SSLError)
Configuration Files
Please copy the complete content of your Fastfile
and any other configuration files you use below:
Fastfile:
Click to see Fastfile
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md
# can also be listed using the `fastlane actions` command
# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`
# If you want to automatically update fastlane if a new version is available:
# update_fastlane
# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "1.99.0"
default_platform :ios
platform :ios do
before_all do
# ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
cocoapods
end
desc "Runs all the tests"
lane :test do
scan
end
desc "Submit a new Beta Build to Apple TestFlight"
desc "This will also make sure the profile is up to date"
lane :beta do
# match(type: "appstore") # more information: https://codesigning.guide
gym(scheme: "Jokes", use_legacy_build_api: true) # Build your app - more options available
pilot
# sh "your_script.sh"
# You can also use other beta testing services here (run `fastlane actions`)
end
desc "Deploy a new version to the App Store"
lane :appstore do
# match(type: "appstore")
# snapshot
gym(scheme: "Jokes", use_legacy_build_api: true) # Build your app - more options available
deliver(force: true)
# frameit
end
# You can define as many lanes as you want
after_all do |lane|
# This block is called, only if the executed lane was successful
# slack(
# message: "Successfully deployed new App Update."
# )
end
error do |lane, exception|
# slack(
# message: exception.message,
# success: false
# )
end
end
# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md
# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer
fastlane version (run fastlane -v
): 1.99.0
Do you use bundler to execute fastlane (i.e. bundle exec fastlane
)? No
Do you use a Ruby environment manager (e.g. chruby
, rbenv
, rvm
)? Not sure.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 28 (15 by maintainers)
I had the same problem with the command
supply init
. I changed my ruby version from 2.1.5 to 2.3.1 and it works now.Hey everyone, we’ve been working on a new way to install and use fastlane, all you have to do is to download
fastlane.zip
and double click theinstall
file. This will install fastlane with all its Ruby and OpenSSL dependencies, and should all work out of the box. We just finished building this, and would love your early feedback on this beta. Please let us know how it works for you and if you run into any problems 👍 Download the latest version here.@TKBurner Here is the output with the
deliver --verbose
option. I useddeliver
in this example. But I get the same error when usingfastlane
.Click to see details
I’m getting this issue as well, using same version 1.99.0.
using rvm, ruby version 2.1.1
EDIT: I ended up switching ruby version to 2.2.3 and got everything working correctly.
rvm use 2.2.3
Have you tried following the instructions on https://github.com/fastlane/fastlane/blob/master/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb#L63-L69