504 error when checking for build in progress

Hi

In one of our CI pipelines we run the “expo-cli build:android” command and it seems to be consistently throwing a 504 error after getting to the point where it is checking for existing builds in progress.

- Making sure project is set up correctly...
[4525](REDACTED/-/jobs/67900#L4525) [14:06:08] Checking if there is a build in progress...
[4526](REDACTED/-/jobs/67900#L4526) [14:07:09] Request failed with status code 504
[4527](REDACTED/-/jobs/67900#L4527) [14:07:09] Error: Request failed with status code 504

As you can see it seems to timeout after 60 seconds. Checking the turtle-status page it doesn’t look like it’s very busy - has anybody else seen this problem today? Is there something I can do to get around this?

Kind regards
Jon

Hi! It looks like we were experiencing some transient issues, which should be resolved now. Can you let me know if you’re still seeing this error response?

Hi, thanks for the reply. I am happy to confirm that the CI job has now completed successfully!

Hi @charliecruzan I’m still running into consistent 504 errors on various login/build commands run by our CI:

Here’s one run failing on login:

#!/bin/bash -eo pipefail
npx expo-cli login -u $EXPO_USERNAME -p $EXPO_PASSWORD

info looking for cached prebuild @ /home/circleci/.npm/_prebuilds/693d3c-iltorb-v2.4.5-node-v79-linux-x64.tar.gz
http request GET https://github.com/nstepien/iltorb/releases/download/v2.4.5/iltorb-v2.4.5-node-v79-linux-x64.tar.gz
http 200 https://github.com/nstepien/iltorb/releases/download/v2.4.5/iltorb-v2.4.5-node-v79-linux-x64.tar.gz
info downloading to @ /home/circleci/.npm/_prebuilds/693d3c-iltorb-v2.4.5-node-v79-linux-x64.tar.gz.288-46090044cbccf.tmp
info renaming to @ /home/circleci/.npm/_prebuilds/693d3c-iltorb-v2.4.5-node-v79-linux-x64.tar.gz
info unpacking @ /home/circleci/.npm/_prebuilds/693d3c-iltorb-v2.4.5-node-v79-linux-x64.tar.gz
info unpack resolved to /home/circleci/.npm/_npx/222/lib/node_modules/expo-cli/node_modules/iltorb/build/bindings/iltorb.node
info unpack required /home/circleci/.npm/_npx/222/lib/node_modules/expo-cli/node_modules/iltorb/build/bindings/iltorb.node successfully
info install Successfully installed iltorb binary!
Request failed with status code 504
Error: Request failed with status code 504
    at createError (/home/circleci/.npm/_npx/222/lib/node_modules/expo-cli/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/home/circleci/.npm/_npx/222/lib/node_modules/expo-cli/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/home/circleci/.npm/_npx/222/lib/node_modules/expo-cli/node_modules/axios/lib/adapters/http.js:237:11)
    at IncomingMessage.emit (events.js:333:22)
    at endReadableNT (_stream_readable.js:1201:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)

Exited with code exit status 1
CircleCI received exit code 1

Another one failing on an Android build:

#!/bin/bash -eo pipefail
npx expo-cli build:android --no-publish

info looking for cached prebuild @ /home/circleci/.npm/_prebuilds/693d3c-iltorb-v2.4.5-node-v79-linux-x64.tar.gz
info found cached prebuild 
info unpacking @ /home/circleci/.npm/_prebuilds/693d3c-iltorb-v2.4.5-node-v79-linux-x64.tar.gz
info unpack resolved to /home/circleci/.npm/_npx/322/lib/node_modules/expo-cli/node_modules/iltorb/build/bindings/iltorb.node
info unpack required /home/circleci/.npm/_npx/322/lib/node_modules/expo-cli/node_modules/iltorb/build/bindings/iltorb.node successfully
info install Successfully installed iltorb binary!
- Making sure project is set up correctly...
Fetching the user profile failed
Request failed with status code 504
Fetching the user profile failed
Request failed with status code 504
An Expo user account is required to proceed.
? How would you like to authenticate? (Use arrow keys)
❯ Make a new Expo account 
  Log in with an existing Expo account 
2 Likes

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