Internal Server Error: 'd', 'Received an internal server error from Apple's App Store Connect / Developer Portal servers,
Build/Submit details page URL
No response
Summary
eas-cli/7.6.2 darwin-x64 node-v18.19.1
Internal Server Error: 'd', 'Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later'. Retrying after 3 seconds (remaining: 3)
Internal Server Error: 'd', 'Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later'. Retrying after 3 seconds (remaining: 2)
Internal Server Error: 'd', 'Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later'. Retrying after 3 seconds (remaining: 1)
✖ Failed to sync capability identifiers app.abela Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later Error: build command failed.
Managed or bare?
Managed
Environment
expo-env-info 1.2.0 environment info: System: OS: macOS 14.4 Shell: 5.9 - /bin/zsh Binaries: Node: 18.19.1 - ~/.nvm/versions/node/v18.19.1/bin/node npm: 10.2.4 - ~/.nvm/versions/node/v18.19.1/bin/npm Watchman: 2024.01.22.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.15.2 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 23.4, iOS 17.4, macOS 14.4, tvOS 17.4, visionOS 1.1, watchOS 10.4 IDEs: Xcode: 15.3/15E204a - /usr/bin/xcodebuild npmPackages: expo: ~50.0.13 => 50.0.13 react: 18.2.0 => 18.2.0 react-dom: 18.2.0 => 18.2.0 react-native: 0.73.5 => 0.73.5 react-native-web: ~0.19.6 => 0.19.10 npmGlobalPackages: eas-cli: 7.6.2 Expo Workflow: bare
Error output
✔ Synced capabilities: No updates
Internal Server Error: 'd', 'Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later'. Retrying after 3 seconds (remaining: 3)
Internal Server Error: 'd', 'Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later'. Retrying after 3 seconds (remaining: 2)
Internal Server Error: 'd', 'Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later'. Retrying after 3 seconds (remaining: 1)
✖ Failed to sync capability identifiers app.abela Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later Error: build command failed.
Reproducible demo or steps to reproduce from a blank project
eas build -p ios production
Same issue.
Same issue.
I was having the same issue but updating eas-cli and then building again worked for me:
npm install -g eas-cli
I also encountered a similar error even when using the latest version of eas-cli globally. I removed it globally and installed it directly into the project, and the build went smoothly.
Same error here, I tried what @lumamontes said but I still get the error. One thing to notice is that when I'm bumping up the node version from 16 to 18.20.2, I get the connection error, but if I downgrade to version 16 again, everything works like a charm. I don't see how those 2 things are connected but that's what i've noticed. Other than that I HAVE TO switch to node version 18 because the latest plugin "expo-privacy-manifest-polyfill-plugin" to fix stuff on iOS env privacy need a function that seems to be only present on node 18. I'm a bit scared about this because I've to deploy an update for Monday lol
Event though I already had eas-cli installed globally and things were working fine for a while, running npm install -g eas-cli fixed this for me when the error started popping up.
use npx (npx eas build --profile) instead of eas(eas build --profile) it worked
I was having the same issue but updating eas-cli and then building again worked for me:
npm install -g eas-cli
Worked for me, thanks!
Receiving this after updating eas-cli to v10.0.0 today. Reverted to v9.2.0 and all worked fine.
Getting this same issue, none of the above solutions fixed it for me :(. I'm getting it only when attempting an eas build with a particular profile; all the other ones work fine. There's nothing different, AFAICT, about this one.
idk how but I did these steps and it worked for me,
- downgrade to the last but one version of eas-cli
sudo npm install -g [email protected] sudo npm i- upgraded to the latest again
sudo npm i -g eas-cli - then used sudo for eas build
sudo eas build -p ios -e developmentthe last step probably did the trick.
npm install -g eas-cli
Funcionou para mim, obrigado!
I experienced the same issue after I upgraded to [email protected] today. I had to downgrade to version 10.0.0 before the build was successful.
The exact error I got was
Internal Server Error: 'd', 'Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later'. Retrying after 3 seconds (remaining: 3)
Internal Server Error: 'd', 'Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later'. Retrying after 3 seconds (remaining: 2)
Internal Server Error: 'd', 'Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later'. Retrying after 3 seconds (remaining: 1)
✖ Failed to sync capability identifiers ng.fob.mobile
Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later
Error: build command failed.
My environment info is below
expo-env-info 1.2.0 environment info:
System:
OS: macOS 14.2.1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.20.3 - ~/.nvm/versions/node/v18.20.3/bin/node
Yarn: 1.22.22 - ~/.yarn/bin/yarn
npm: 10.7.0 - ~/.nvm/versions/node/v18.20.3/bin/npm
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 23.5, iOS 17.5, macOS 14.5, tvOS 17.5, visionOS 1.2, watchOS 10.5
IDEs:
Android Studio: 2021.1 AI-211.7628.21.2111.8193401
Xcode: 15.4/15F31d - /usr/bin/xcodebuild
npmPackages:
@expo/webpack-config: ^19.0.0 => 19.0.1
expo: ^50.0.19 => 50.0.19
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.73.6 => 0.73.6
react-native-web: ~0.19.6 => 0.19.12
npmGlobalPackages:
eas-cli: 10.1.1
Expo Workflow: managed
One second it was building locally fine and next started this happening...
Tried 10.0.0 same issue
Hi, all!
It seems possible that Apple is doing some maintenance on their Developer Portal again 🤔
At what point of running the eas build command did it fail for you?
I believe that it is possible to know the exact request that failed if you use the EXPO_APP_STORE_DEBUG=1 EXPO_DEBUG=1 flags when running the eas build command. It would be helpful information for me because I'm having a hard time replicating the issue at the moment on my machine.
A few months ago in version 7.6.0 we added a logic to switch between the developer.apple.com and developer-mdn.apple.com domains when one of them is under the maintenance, but this error seems to not be caught by this logic. I will try to make it better by switching the domain on every internal server error we see because I believe it seems to work.
I just released the new 10.2.0 EAS CLI version that will try to resolve the issue by switching between the developer.apple.com and developer-mdn.apple.com domains on every internal server error.
Please, let me know if it helps in your case.
PATCH https://developer.apple.com/services-account/v1/bundleIds/ Error: Request failed with status code 501 (PATCH https://developer.apple.com/services-account/v1/bundleIds/)
Internal Server Error: 'd', 'Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later'. Retrying after 3 seconds (remaining: 3)
PATCH https://developer-mdn.apple.com/services-account/v1/bundleIds/ Error: Request failed with status code 503 (PATCH https://developer-mdn.apple.com/services-account/v1/bundleIds/) -- App Store Connect Error JSON -- { "errors": [ { "id": "610b951e-a7cb-925ebda53f72", "status": "503", "code": "SERVICE_NOTACTIVE", "title": "This request can not be processed right now", "resultCode": 10405, "detail": "Service not available because of maintenance activities, please try again after some time." } ] } -- End ASC Error JSON --
I had an agreement outstanding in App Store Connect. Once I had signed it, this error went away.
I had removed my app from review so it was marked as "developer rejected". Once I removed the old build from the release, it started working
I was already using npx so no global install issue. I logged into the app store connect website to make sure my account/app was in good standing. It was. So I tried npx eas build again, and it just worked. So try that and try again before spending too much time searching.
any updates here? I'm using eas-cli/12.4.1 and node-v20.13.1, meet the same issue
Same problem, eas-cli@latest and node v22.5.1. I've tried to update the eas-cli a bunch of times and also used npx to run the command.
Same issue here as @saurabhbhatia
Seeing 500s as well, and the global install did not help, nor did a downgrade, even to v12.5.0. My app store connect looks to be in good standing as well. Anyone have any luck here?
Example command:
EXPO_APP_STORE_DEBUG=1 EXPO_DEBUG=1 EAS_PWD=$PWD EAS_LOCAL_BUILD_SKIP_CLEANUP=1 npx eas build --profile production --platform ios --local
And this is the stack trace
⠇ Logging in...Error: Request failed with status code 503 (POST https://idmsa.apple.com/appleauth/auth/signin)
✖ Logging in...
Authentication with Apple Developer Portal failed!
Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later
d [Error]: Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later
at t.getAppleResponseError (/path/to/project/node_modules/@expo/apple-utils/build/index.js:1:828021)
at block (/path/to/project/node_modules/@expo/apple-utils/build/index.js:1:834431)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async O (/path/to/project/node_modules/@expo/apple-utils/build/index.js:1:834956)
at async T (/path/to/project/node_modules/@expo/apple-utils/build/index.js:1:833825)
at async t.requestAsync (/path/to/project/node_modules/@expo/apple-utils/build/index.js:1:836214)
at async /path/to/project/node_modules/@expo/apple-utils/build/index.js:1:704687
at async w (/path/to/project/node_modules/@expo/apple-utils/build/index.js:1:703817)
at async Object.S [as loginWithUserCredentialsAsync] (/path/to/project/node_modules/@expo/apple-utils/build/index.js:1:703396)
at async loginWithUserCredentialsAsync (/path/to/project/node_modules/eas-cli/build/credentials/ios/appstore/authenticate.js:84:24) {
response: {
status: 503,
statusText: 'Service Temporarily Unavailable',
headers: {
server: 'Apple',
date: 'Sat, 19 Oct 2024 00:57:55 GMT',
'content-type': 'text/html',
'content-length': '190',
connection: 'keep-alive'
},
config: {
url: 'https://idmsa.apple.com/appleauth/auth/signin',
method: 'post',
data: '{"accountName":"REDACTED","password":"REDACTED","rememberMe":true}',
headers: [Object],
transformRequest: [Array],
transformResponse: [Array],
timeout: 0,
withCredentials: true,
adapter: [Function (anonymous)],
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
jar: [M],
maxRedirects: 0,
baseURL: 'https://idmsa.apple.com/appleauth',
validateStatus: [Function: validateStatus]
},
request: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 2,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: false,
chunkedEncoding: false,
shouldKeepAlive: true,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 116,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'POST /appleauth/auth/signin HTTP/1.1\r\n' +
'Accept: application/json, text/javascript\r\n' +
'Content-Type: application/json\r\n' +
'User-Agent: Xcode\r\n' +
'X-Xcode-Version: 7.0 (7A120f)\r\n' +
'X-Requested-With: XMLHttpRequest\r\n' +
'X-Apple-Widget-Key: REDACTED\r\n' +
'X-APPLE-HC: 1:12:20241019005755:REDACTED::16739\r\n' +
'Cookie: myacinfo=REDACTED' +
'Content-Length: 116\r\n' +
'Host: idmsa.apple.com\r\n' +
'Connection: keep-alive\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'POST',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/appleauth/auth/signin',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: true,
host: 'idmsa.apple.com',
protocol: 'https:',
[Symbol(shapeMode)]: false,
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
data: '<html>\r\n' +
'<head><title>503 Service Temporarily Unavailable</title></head>\r\n' +
'<body>\r\n' +
'<center><h1>503 Service Temporarily Unavailable</h1></center>\r\n' +
'<hr><center>Apple</center>\r\n' +
'</body>\r\n' +
'</html>\r\n'
}
}
Same here. No mention about an Apple outage here though: https://developer.apple.com/system-status/
Same issue
Same, tried downgrading eas-cli to 12.5.1, tried upgrading to Node 22, running out of ideas
FYI, I just added --non-interactive and was able to successfully build and upload to ASC
Full command that worked: EXPO_APP_STORE_DEBUG=1 EXPO_DEBUG=1 EAS_PWD=$PWD EAS_LOCAL_BUILD_SKIP_CLEANUP=1 npx eas build --profile production --non-interactive --platform ios --local
Saw the idea here: https://github.com/expo/eas-cli/issues/2497#issuecomment-2293756027
For non-Mac users facing this issue, this worked: eas build --profile production --non-interactive --platform ios
@mcr5fh Thanks for the help!!
I just had this same issue and used eas build --profile production --non-interactive --platform ios. Thank you @mcr5fh you are a life saver!