Request failed with status code 500

I have a problem with build:android, when is in Uploadig Javascript bundle, i got this error, i searched in the forum, i tried with exp logout && exp login and then exp ba or exp build:android and nothing. I tried changing my nodejs to LTS and nothing. I tried with Administrator permission and the same. Here is the error log:

04:23:44 [exp] Uploading assets
04:23:47 [exp] No assets changed, skipped.
04:23:47 [exp] Uploading JavaScript bundles
04:24:19 [exp] Request failed with status code 500
04:24:19 [exp] Error: Request failed with status code 500
    at createError (C:\Users\Miguel\AppData\Roaming\npm\node_modules\exp\node_modules\axios\lib\core\createError.js:16:15)
    at settle (C:\Users\Miguel\AppData\Roaming\npm\node_modules\exp\node_modules\axios\lib\core\settle.js:18:12)
    at IncomingMessage.handleStreamEnd (C:\Users\Miguel\AppData\Roaming\npm\node_modules\exp\node_modules\axios\lib\adapters\http.js:191:11)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

C:\Users\Miguel\pacasmayo>

Same problem here.

  • OSX: 10.13.4
  • npm: 6.0.0
  • exp: 53.1.0
  • sdk: 27.0.0

EXPO_DEBUG=true exp publish
11:44:34 [exp] Unable to find an existing exp instance for this directory, starting a new one…
11:44:45 [exp] Starting Metro Bundler on port 19001.
11:44:46 [exp] Metro Bundler ready.
11:44:47 [exp] Tunnel connected.
11:44:47 [exp] Publishing to channel ‘default’…
11:44:54 [exp] Building iOS bundle
11:45:27 [exp] Finished building JavaScript bundle in 32652ms.
11:45:27 [exp] Building Android bundle
11:45:56 [exp] Finished building JavaScript bundle in 29356ms.
11:45:56 [exp] Analyzing assets
11:46:24 [exp] Finished building JavaScript bundle in 27755ms.
11:47:10 [exp] Finished building JavaScript bundle in 45367ms.
11:47:10 [exp] Uploading assets
11:47:10 [exp] No assets changed, skipped.
11:47:11 [exp] Uploading JavaScript bundles
11:48:07 [exp] Request failed with status code 500
11:48:07 [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:185:15)
at endReadableNT (_stream_readable.js:1106:12)
at process._tickCallback (internal/process/next_tick.js:178:19)

I tried to low down the version of sdk to 25, still the same problem. It wasn’t a problem a few days ago with exactly the same version of app. Not sure what has changed on my side to make it broken. I think it’s something happened with Expo services.

Same issue here also.

17:33:42 [exp] Making sure project is set up correctly…
\17:33:50 [exp] Warning: Not using the Expo fork of react-native. See https://docs.expo.io/.
17:34:17 [exp] Your project looks good!
17:34:18 [exp] Checking if current build exists…

17:34:19 [exp] No currently active or previous builds for this project.
17:34:21 [exp] Unable to find an existing exp instance for this directory, starting a new one…
17:34:30 [exp] Warning: Not using the Expo fork of react-native. See https://docs.expo.io/.
17:35:19 [exp] Starting Metro Bundler on port 19001.
17:35:20 [exp] Metro Bundler ready.
17:35:27 [exp] Error starting tunnel: XDLError: failed to start tunnel
17:35:27 [exp] Publishing to channel ‘default’…
17:35:29 [exp] Warning: Not using the Expo fork of react-native. See https://docs.expo.io/.
17:35:32 [exp] Tunnel connected.
17:35:39 [exp] Building iOS bundle
17:37:40 [exp] Finished building JavaScript bundle in 121382ms.
17:37:40 [exp] Building Android bundle
17:39:15 [exp] Finished building JavaScript bundle in 94845ms.
17:39:15 [exp] Analyzing assets
17:40:29 [exp] Finished building JavaScript bundle in 73397ms.
17:41:44 [exp] Finished building JavaScript bundle in 75387ms.
17:41:44 [exp] Uploading assets
17:41:48 [exp] No assets changed, skipped.
17:41:48 [exp] Uploading JavaScript bundles
17:42:06 [exp] Request failed with status code 500
17:42:06 [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 emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:188:7)
at endReadableNT (_stream_readable.js:975:12)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)

I’m getting the same error here. Worked fine a minute a go, but removed the project in expo ui and ran with --clear-credentials and now it doesn’t work any more.

I just made a brand new vanilla project using create-react-native-app and published it without any problems. The problem must be somewhere inside package.json. Some packages probably got updated or something.

I managed to reproduce the problem.

  1. Create vanilla create-react-native-app project.
  2. Publish the project with exp publish
  3. Go to expo.io website and Unpublish project.
  4. Publish the project again with exp publish

Then you get 500 error.

Before 11 May if was not a problem, looks like Expo guys have changed that logic a bit, so we cannot unpublish and publish an same app with the same slug.

how do you resolve the issue? I unpublished my project and having trouble publishing it again.

I didn’t. I had to use another, unique slug.

Hi everyone. I believe a fix for this issue is going out sometime today which should resolve the problem with publishing to previously deleted/unpublished projects. Sorry for the inconvenience!

hey everyone – could you try publishing your stuff again? we just pushed a fix for this – let us know if it works for you. Sorry for the trouble.

i will try tonight when i back home.
I think other issue is that when the app is bigger than 400mb (i guess) i get Build failed too. I created an app with 10 videos, the size of app was 490mb, I couldn’t be able to upload the file to the expo cloud.

Greetings

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