expo build:ios, SSL verify failed

Tanks!
My Project SSL errors were improved. No Problem
expo-cli ver: 3.11.7

can u verify what version of the cli you are running by doing the following: expo --version

Thank you very much!!!

Hi,

3.11.7 versionhad no problems with this release.

Hi, it’s weird I am encountering the same problem with 3.11.7 cli version. @burak717171 did you try anything else besides updating to the latest version?

I got error after update

Resolving the ITC team ID...
Failed to upload the standalone app to the app store.
undefined method `[]' for nil:NilClass
Error: undefined method `[]' for nil:NilClass
    at runFastlaneAsync (/expo-cli@3.11.7/src/commands/upload/utils.ts:79:11)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at IOSUploader._uploadToTheStore (/expo-cli@3.11.7/src/commands/upload/IOSUploader.ts:187:40)
    at IOSUploader.upload (/expo-cli@3.11.7/src/commands/upload/BaseUploader.ts:32:5)
    at /expo-cli@3.11.7/src/commands/upload.js:102:7
    at Command.<anonymous> (/expo-cli@3.11.7/src/exp.ts:81:7)

Hey all …
I was getting the same error when I was running “expo client:ios” command to build a custom expo client. Then I updated the expo-cli to 3.11.7 and the error gone. But, now I am getting the same error when Expo itself tries to build the Custom client on its cloud. Below is the error log:

Using ad hoc provisioning profile id: UTF38QRZ46
Error: Reason: Unknown reason, raw: {"type":"Faraday::SSLError","message":"SSL_connect returned=1 errno=0 state=error: certificate verify failed","backtrace":["/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/ruby/lib/ruby/2.2.0/net/http.rb:923:in `connect'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/ruby/lib/ruby/2.2.0/net/http.rb:923:in `block in connect'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/ruby/lib/ruby/2.2.0/timeout.rb:89:in `block in timeout'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/ruby/lib/ruby/2.2.0/timeout.rb:99:in `call'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/ruby/lib/ruby/2.2.0/timeout.rb:99:in `timeout'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/ruby/lib/ruby/2.2.0/net/http.rb:923:in `connect'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/ruby/lib/ruby/2.2.0/net/http.rb:863:in `do_start'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/ruby/lib/ruby/2.2.0/net/http.rb:852:in `start'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/ruby/lib/ruby/2.2.0/net/http.rb:1375:in `request'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/vendor/ruby/2.2.0/gems/faraday-0.17.0/lib/faraday/adapter/net_http.rb:87:in `perform_request'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/vendor/ruby/2.2.0/gems/faraday-0.17.0/lib/faraday/adapter/net_http.rb:43:in `block in call'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/vendor/ruby/2.2.0/gems/faraday-0.17.0/lib/faraday/adapter/net_http.rb:92:in `with_net_http_connection'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/vendor/ruby/2.2.0/gems/faraday-0.17.0/lib/faraday/adapter/net_http.rb:38:in `call'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/vendor/ruby/2.2.0/gems/fastlane-2.136.0/spaceship/lib/spaceship/helper/rels_middleware.rb:17:in `call'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/vendor/ruby/2.2.0/gems/faraday-cookie_jar-0.0.6/lib/faraday/cookie_jar.rb:22:in `call'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/vendor/ruby/2.2.0/gems/faraday_middleware-0.13.1/lib/faraday_middleware/response_middleware.rb:31:in `call'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/vendor/ruby/2.2.0/gems/faraday_middleware-0.13.1/lib/faraday_middleware/response_middleware.rb:31:in `call'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/vendor/ruby/2.2.0/gems/faraday_middleware-0.13.1/lib/faraday_middleware/response_middleware.rb:31:in `call'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/vendor/ruby/2.2.0/gems/faraday-0.17.0/lib/faraday/rack_builder.rb:143:in `build_response'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/vendor/ruby/2.2.0/gems/faraday-0.17.0/lib/faraday/connection.rb:387:in `run_request'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/vendor/ruby/2.2.0/gems/faraday-0.17.0/lib/faraday/connection.rb:175:in `post'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/vendor/ruby/2.2.0/gems/fastlane-2.136.0/spaceship/lib/spaceship/client.rb:845:in `block in send_request'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/vendor/ruby/2.2.0/gems/fastlane-2.136.0/spaceship/lib/spaceship/client.rb:620:in `with_retry'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/vendor/ruby/2.2.0/gems/fastlane-2.136.0/spaceship/lib/spaceship/client.rb:844:in `send_request'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/vendor/ruby/2.2.0/gems/fastlane-2.136.0/spaceship/lib/spaceship/client.rb:688:in `request'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/vendor/ruby/2.2.0/gems/fastlane-2.136.0/spaceship/lib/spaceship/portal/portal_client.rb:495:in `block in devices'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/vendor/ruby/2.2.0/gems/fastlane-2.136.0/spaceship/lib/spaceship/client.rb:317:in `block in paging'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/vendor/ruby/2.2.0/gems/fastlane-2.136.0/spaceship/lib/spaceship/client.rb:315:in `loop'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/vendor/ruby/2.2.0/gems/fastlane-2.136.0/spaceship/lib/spaceship/client.rb:315:in `paging'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/vendor/ruby/2.2.0/gems/fastlane-2.136.0/spaceship/lib/spaceship/portal/portal_client.rb:494:in `devices'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/vendor/ruby/2.2.0/gems/fastlane-2.136.0/spaceship/lib/spaceship/portal/device.rb:61:in `all'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/vendor/ruby/2.2.0/gems/fastlane-2.136.0/spaceship/lib/spaceship/portal/device.rb:96:in `all_ios_profile_devices'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/app/manage_ad_hoc_provisioning_profile.rb:49:in `register_missing_devices'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/app/manage_ad_hoc_provisioning_profile.rb:124:in `block in <main>'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/app/funcs.rb:13:in `with_captured_output'","/usr/local/turtle-js/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.11.0-osx/lib/app/manage_ad_hoc_provisioning_profile.rb:108:in `<main>'"]}
    at runFastlaneAction (/usr/local/turtle-js/build/builders/utils/ios/adhocBuild.js:85:19)
    at <anonymous>
    at process._tickDomainCallback (internal/process/next_tick.js:229:7)

Kindly look into this issue @quinlanj

@gramos.begolli Sorry it’s a little late but I didn’t do anything other than update

Same error here. Using expo-cli 3.11.7. Client does build fails in fastlane, with certificate errors.

Anyone got an idea how to fix this when using expo-cli client:ios? I am using the latest expo-cli 3.11.7 but the problem seems to reside on the cloud servers? Using this client to use background tasks.

Heres the initial dump of the build error:

Using ad hoc provisioning profile id: 3329K3Z33N
Error: Reason: Unknown reason, raw: {"type":"Faraday::SSLError","message":"SSL_connect returned=1 errno=0 state=error: certificate verify failed"

@obaidashraf @jasper.blues.mobbiz @pjm1998 we’ve just deployed on our servers, and it should be solved now. Please let me know if the problem persists!

2 Likes

Working for me today! Thank you!

Tried today … It is working for me as well … Thankyou !!