Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build request failed due to "Unexpected Server Error" (EAS BUILD DOWN) #2247

Closed
SleeplessByte opened this issue Feb 23, 2024 · 12 comments
Closed
Labels
needs review Issue is ready to be reviewed by a maintainer

Comments

@SleeplessByte
Copy link

SleeplessByte commented Feb 23, 2024

Build/Submit details page URL

https://expo.dev/accounts/introcloud/projects/onderwijsdagen

Summary

After the build is uploaded to EAS, the CLI errors out:

Compressing project files and uploading to EAS Build. Learn more: https://expo.fyi/eas-build-archive
✔ Uploaded to EAS 1s

Build request failed. Make sure you are using the latest eas-cli version. If the problem persists, report the issue.
Request ID: 9c106a34-bce1-4e94-a87e-eb6cdc09c944
Error message: Unexpected server error (Expo error ID: 9c106a34-bce1-4e94-a87e-eb6cdc09c944).
    Error: build command failed.

No major changes have been made since the previous build, other than the binary assets (splash screen, icon, etc.) changing.

The error message says to report it if it persists. https://status.expo.dev/ does not report any ongoing issues. https://expo.dev/eas-build-status does show 0 current builds...

Managed or bare?

Nabaged

Environment

  expo-env-info 1.2.0 environment info:
    System:
      OS: Windows 11 10.0.22631
    Binaries:
      Node: 20.11.0 - ~\scoop\apps\nvm\current\nodejs\nodejs\node.EXE
      Yarn: 3.5.1 - ~\scoop\apps\nvm\current\nodejs\nodejs\yarn.CMD
      npm: 10.2.4 - ~\scoop\apps\nvm\current\nodejs\nodejs\npm.CMD
    npmPackages:
      @expo/webpack-config: ^18.1.2 => 18.1.2
      expo: ^48.0.20 => 48.0.20
      react: 18.2.0 => 18.2.0
      react-dom: 18.2.0 => 18.2.0
      react-native: 0.71.8 => 0.71.8
      react-native-web: ~0.18.12 => 0.18.12
    Expo Workflow: managed

✔ Check Expo config for common issues
✔ Check package.json for common issues
✔ Check dependencies for packages that should not be installed directly
✔ Check for common project setup issues
✔ Check for issues with metro config
✔ Check npm/ yarn versions
✔ Check Expo config (app.json/ app.config.js) schema
✔ Check that packages match versions required by installed Expo SDK
✔ Check that native modules do not use incompatible support packages
✔ Check for legacy global CLI installed locally
✖ Check that native modules use compatible support package versions for installed Expo SDK

Detailed check results:

Expected package @expo/config-plugins@~6.0.0
Found invalid:
  @expo/[email protected]
  @expo/[email protected]
  @expo/[email protected]
  @expo/[email protected]
  @expo/[email protected]
  @expo/[email protected]
  (for more info, run: npm why @expo/config-plugins)
Advice: Upgrade dependencies that are using the invalid package versions0.

One or more checks failed, indicating possible issues with the project.

Error output

Starting iOS build
[
  {
    "extensions": {
      "requestId": "eb995003-7050-46cb-81f4-476148370d84",
      "code": "INTERNAL_SERVER_ERROR",
      "errorCode": "EAS_BUILD_DOWN",
      "metadata": {},
      "isTransient": false
    },
    "message": "Unexpected server error (Expo error ID: eb995003-7050-46cb-81f4-476148370d84).",
    "locations": [
      {
        "line": 3,
        "column": 5
      }
    ],
    "path": [
      "build",
      "createIosBuild"
    ]
  }
]
Build request failed. Make sure you are using the latest eas-cli version. If the problem persists, report the issue.
Request ID: eb995003-7050-46cb-81f4-476148370d84
Error message: Unexpected server error (Expo error ID: eb995003-7050-46cb-81f4-476148370d84).
Error: Build request failed. Make sure you are using the latest eas-cli version. If the problem persists, report the issue.
Request ID: eb995003-7050-46cb-81f4-476148370d84
Error message: Unexpected server error (Expo error ID: eb995003-7050-46cb-81f4-476148370d84).
    at handleBuildRequestError (C:\Users\Derk-Jan\scoop\persist\nvm\nodejs\v20.11.0\node_modules\eas-cli\build\build\build.js:147:15)
    at C:\Users\Derk-Jan\scoop\persist\nvm\nodejs\v20.11.0\node_modules\eas-cli\build\build\build.js:100:17
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async startBuildAsync (C:\Users\Derk-Jan\scoop\persist\nvm\nodejs\v20.11.0\node_modules\eas-cli\build\build\runBuildAndSubmit.js:249:12)
    at async prepareAndStartBuildAsync (C:\Users\Derk-Jan\scoop\persist\nvm\nodejs\v20.11.0\node_modules\eas-cli\build\build\runBuildAndSubmit.js:235:19)
    at async runBuildAndSubmitAsync (C:\Users\Derk-Jan\scoop\persist\nvm\nodejs\v20.11.0\node_modules\eas-cli\build\build\runBuildAndSubmit.js:87:49)
    at async Build.runAsync (C:\Users\Derk-Jan\scoop\persist\nvm\nodejs\v20.11.0\node_modules\eas-cli\build\commands\build\index.js:41:9)
    at async Build._run (C:\Users\Derk-Jan\scoop\persist\nvm\nodejs\v20.11.0\node_modules\eas-cli\node_modules\@oclif\core\lib\command.js:80:22)
    at async Config.runCommand (C:\Users\Derk-Jan\scoop\persist\nvm\nodejs\v20.11.0\node_modules\eas-cli\node_modules\@oclif\core\lib\config\config.js:301:25)     
    Error: build command failed.

Reproducible demo or steps to reproduce from a blank project

Cannot reproduce from a blank project

@SleeplessByte SleeplessByte added the needs review Issue is ready to be reviewed by a maintainer label Feb 23, 2024
@SleeplessByte
Copy link
Author

https://expo.dev/eas-build-status now shows that there are builds queued, but I am still receiving the same error messages.

@SleeplessByte
Copy link
Author

SleeplessByte commented Feb 23, 2024

I was able to make the builds work again by creating a new project (so replacing the slug and eas project id). This instantly worked. No other changes were made.

Something must be wrong with the project on the expo side.

It seems to be related to empty eas secrets.

@LeslieOA
Copy link

LeslieOA commented Feb 26, 2024

I was able to make the builds work again by creating a new project (so replacing the slug and eas project id). This instantly worked. No other changes were made.

Something must be wrong with the project on the expo side.

It seems to be related to empty eas secrets.

I seem to be having the same issue.
New blank project works great (expo prebuild), but the second I add secrets (usually via eas secret:push from an .env) this issue arises.
Is this your experience @SleeplessByte?

Here's a thread on Expo's Discord I started.

@szdziedzic
Copy link
Member

Hi,

I think that this PR should solve the issue that you encounter expo/eas-build#347.

Thanks for reporting it!

@szdziedzic
Copy link
Member

Hi, can you verify if the builds started to work for you?

@SleeplessByte
Copy link
Author

@szdziedzic Can confirm they started building again. New error is:

For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.15.0
[!] Unable to find a specification for `EASClient` depended upon by `EXUpdates`
You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.
pod install exited with non-zero code: 1

Seems to be unrelated to this report, but also something that I shouldn't run into when nothing has changed native-wise.

@szdziedzic
Copy link
Member

I'm not 100% sure about it, but I think that there were some issues with getting RN to work with CocoaPods 1.15. I believe that you are using CocoaPods 1.15, right?

Maybe downgrading can help?

@SleeplessByte
Copy link
Author

@szdziedzic Nah, this is a managed project.

I managed to fix this error by deleting yarn.lock and reinstalling :/

@mirague
Copy link

mirague commented Aug 22, 2024

Seeing this behaviour since a few days, any known regressions?

@melnikovkolya
Copy link

Hi folks

I just went from the paid plan to the free plan (not sure if this is anyhow related) and started seeing this error when building for Android. I didn't try building for Android before (neither when I used the free plan nor during the paid plan).

In the EAS dashboard I can see that the build is running.

The CLI shows me this output:

Compressing project files and uploading to EAS Build. Learn more
✔ Uploaded to EAS 5s
Build request failed. Make sure you are using the latest eas-cli version. If the problem persists, report the issue.
Request ID: 23e84334-e603-4742-abc6-deaa14d022b4
Error message: Unexpected server error (Expo error ID: 23e84334-e603-4742-abc6-deaa14d022b4).
    Error: build command failed.

Builds for iOS do not give me this error.

Thank you.

@andrconstruction
Copy link

andrconstruction commented Oct 11, 2024

free version, something going wrong. Previous buld was on 51.0.8 expo done, after update has an error

Work, igonring this error eas anyway upload and server build app

Build request failed. Make sure you are using the latest eas-cli version. If the problem persists, report the issue.
Request ID: 68a60b2a-6b95-4aa0-9e52-512282023d6d
Error message: Unexpected server error (Expo error ID: 68a60b2a-6b95-4aa0-9e52-512282023d6d).
Error: build command failed.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@gyl89
Copy link

gyl89 commented Oct 17, 2024

I had the same error with node 22. It works with node 20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review Issue is ready to be reviewed by a maintainer
Projects
None yet
Development

No branches or pull requests

7 participants