Tunnel will fail when google-services.json is present in app.json

Hello guys.

I saw similar threads here in the forum but the problem still persists.

Since yesterday (Wed, Apr 18) I am unable to run my app. The XDE console gives me the message:

Switched to a LAN URL because the tunnel appears to be down. Only devices in the same network can access the app. You can restart the project to try reconnecting.

At first I thought it was related to the recent server maintenance, but as of today I’m still unable to run my app again.

When I run “exp diagnostics”, this is what I get:

Muni-MBP:app muni$ EXPO_DEBUG=true exp diagnostics
12:52:50 [exp] Generating diagnostics report...
12:52:50 [exp] You can join our slack here: https://slack.expo.io/.

Environment:
  OS: macOS High Sierra 10.13.4
  Node: 9.3.0
  Yarn: 1.3.2
  npm: 5.6.0
  Watchman: 4.9.0
  Xcode: Xcode 9.3 Build version 9E145
  Android Studio: Not Found

Packages: (wanted => installed)
  expo: ^26.0.0 => 26.0.0
  react: 16.3.0-alpha.1 => 16.3.0-alpha.1
  react-native: https://github.com/expo/react-native/archive/sdk-26.0.0.tar.gz => 0.54.2

Diagnostics report:
/12:52:53 [exp] Request failed with status code 500
12:52:53 [exp] Error: Request failed with status code 500
    at createError (/usr/local/lib/node_modules/exp/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/usr/local/lib/node_modules/exp/node_modules/axios/lib/core/settle.js:18:12)
    at IncomingMessage.handleStreamEnd (/usr/local/lib/node_modules/exp/node_modules/axios/lib/adapters/http.js:191:11)
    at IncomingMessage.emit (events.js:164:20)
    at endReadableNT (_stream_readable.js:1062:12)
    at process._tickCallback (internal/process/next_tick.js:152:19)

I really don’t know what to do. Already deleted and reinstalled the XDE app, but nothing seems to change.

Thanks.

Interesting fact is that a clean Expo project works just fine. Will start breaking down the app to see if I find any error.

This is weird.

When I remove "googleServicesFile": "./google-services.json" from my app.json file, everything works just fine.

This is needed in order to receive notifications through FCM. However, when I implemented this change a few days ago, everything was working fine.

Anyone has any idea of what is happening?

Thanks

Ok apparently, when I put the complete path of the google-services.json file, it works.

So, my app.json file looks like this:

...
{android: {
      "googleServicesFile": "/Users/<myusername>/<projects-folder>/<project-name>/google-services.json"
...

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.