502 bad gateway

Please provide the following:

  1. SDK Version: 36.0.0
  2. Platforms(Android/iOS/web/all): iOS

I am first time building iOS app using following expo command:

expo build:ios

After that, it ask for Apple Id and Password which I have provided correct. After few seconds, it throws following error:

Reason: Unknown reason, raw: "<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body>\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>Apple</center>\r\n</body>\r\n</html>\r\n\n" Error: Reason: Unknown reason, raw: "<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body>\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>Apple</center>\r\n</body>\r\n</html>\r\n\n" at runAction (/expo-cli@3.11.9/src/appleApi/fastlane.ts:28:17) at processTicksAndRejections (internal/process/task_queues.js:97:5) at Object.authenticate (/expo-cli@3.11.9/src/appleApi/authenticate.ts:46:40) at IOSBuilder.getAppleCtx (/expo-cli@3.11.9/src/commands/build/ios/IOSBuilder.js:47:23) at IOSBuilder.produceMissingCredentials (/expo-cli@3.11.9/src/commands/build/ios/IOSBuilder.js:123:22) at IOSBuilder.prepareCredentials (/expo-cli@3.11.9/src/commands/build/ios/IOSBuilder.js:65:7) at IOSBuilder.run (/expo-cli@3.11.9/src/commands/build/ios/IOSBuilder.js:19:7) at IOSBuilder.command (/expo-cli@3.11.9/src/commands/build/BaseBuilder.js:55:7) at Command.<anonymous> (/expo-cli@3.11.9/src/exp.ts:81:7)

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

this is closed but i wanted to share this related response for posterity: https://stackoverflow.com/a/63584997/659988

also see Sending Apple credentials lead to 502 Bad Gateway error · Issue #723 · expo/expo-cli · GitHub