eas-cli icon indicating copy to clipboard operation
eas-cli copied to clipboard

Authentication with Apple Developer Portal Failed - socket hang up error during EAS build

Open br332y opened this issue 3 months ago • 0 comments

Build/Submit details page URL

No response

Summary

I have an active, paid Apple Developer account with developer access. When I try to log in through EAS CLI to generate or validate build credentials, I consistently get an authentication error with the following message:

Authentication with Apple Developer Portal failed! socket hang up Error: credentials command failed. I provide my correct Apple ID, password, and 2FA code each time, but the connection times out or hangs up during authentication.

What I have tried:

Verified that Apple Developer account is active and can log in normally on developer.apple.com manually.

Provided correct Apple ID and 2FA code as prompted by EAS CLI.

Ensured the latest EAS CLI version is installed.

Cleared local credentials with eas logout and re-logged in.

Verified Apple Developer service status as operational.

Attempted multiple build profiles and skipped manual credential entry.

Checked for any network issues on my side (no proxies/firewalls blocking).

Waited for potential Apple server outages or API issues.

Please advise if this is an ongoing Apple server issue or if there are known workarounds/fixes for this connection termination problem.

Thank you.

Managed or bare?

bare

Environment

expo-env-info 2.0.7 environment info: System: OS: Linux 5.0 undefined Shell: 1.0 - /bin/jsh Binaries: Node: 20.19.1 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 10.8.2 - /usr/local/bin/npm npmPackages: expo: ^54.0.0 => 54.0.7 expo-router: ~5.1.0 => 5.1.6 react: 19.0.0 => 19.0.0 react-dom: 19.0.0 => 19.0.0 react-native: 0.79.1 => 0.79.1 react-native-web: ^0.20.0 => 0.20.0 Expo Workflow: managed

Error output

Authentication with Apple Developer Portal failed! socket hang up Error: credentials command failed. I provide my correct Apple ID, password, and 2FA code each time, but the connection times out or hangs up during authentication.

Reproducible demo or steps to reproduce from a blank project

npx create-expo-app my-test-app cd my-test-app { "expo": { "plugins": ["expo-apple-authentication"], "ios": { "usesAppleSignIn": true } } } npm install expo-apple-authentication eas build --platform ios Authentication with Apple Developer Portal failed! socket hang up Error: credentials command failed.

br332y avatar Oct 09 '25 01:10 br332y