I’m getting this below exception every time I try to build APK/IPA.
[14:38:31] Fetching the user profile failed
[14:38:31] unable to get local issuer certificate
[14:38:32] Fetching the user profile failed
[14:38:32] unable to get local issuer certificate
[14:38:32] An Expo user account is required to proceed.
expo diagnostics output is as below
Expo CLI 2.10.1 environment info:
OS: macOS 10.14.5*
Shell: 3.2.57 - /bin/bash*
Node: 10.15.1 - /usr/local/bin/node*
Yarn: 1.17.3 - /usr/local/bin/yarn*
npm: 6.4.1 - /usr/local/bin/npm*
Android Studio: 3.3 AI-182.518.104.22.16864788*
Xcode: 10.3/10G8 - /usr/bin/xcodebuild*
expo: 34.0.3 => 34.0.3 *
react: 16.8.3 => 16.8.3 *
react-native: https://github.com/expo/react-native/archive/sdk-34.0.0.tar.gz => 0.59.8 *
react-navigation: 3.11.1 => 3.11.1 *
This version of expo-cli is a bit old. First thing to try is to upgrade that and see if you still have a problem.
Original message below:
This indicates a problem validating the server’s SSL certificate.
This could be because your machine does not have up to date CA certificates, or it could be because someone’s intercepting your HTTPS traffic.
I’m not sure exactly what server the expo command is trying to connect to at that point, but assuming it’s
expo.io, here’s what Firefox tells me about the certificate chain:
i.e. the server’s certificate is signed by Let’s Encrypt’s “Authority X3” CA certificate, which is in turn signed by the “DST Root CA X3” CA certificate. If the browser trusts either of those CA certificates then HTTPS works to that server without validation errors.
The expo command does the same sort of checks when trying to connect to the server. Off hand I don’t know where it looks for the trusted CA certificates. It does not look like it installs any CA certificates for its own use, so I think it probably uses the OS’ normal CA trust store.
Does your browser show the same certificate chain as I get?
Do you get any SSL errors if you run this in a terminal?
curl -o /dev/null https://expo.io
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.