Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Sending Apple credentials lead to 502 Bad Gateway error #723

Closed
j-wbrown opened this issue Jun 13, 2019 · 5 comments
Closed

Sending Apple credentials lead to 502 Bad Gateway error #723

j-wbrown opened this issue Jun 13, 2019 · 5 comments

Comments

@j-wbrown
Copy link

Hi There,

When I type in the "expo build:ios" command and then enter the correct apple dev credentials - I keep on getting the following:

Trying to authenticate with Apple Developer Portal... Authentication with Apple Developer Portal failed! Reason: Unknown reason, raw: "<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body bgcolor=\"white\">\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 bgcolor=\"white\">\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 _callee$ (/expo-cli@2.19.5/src/commands/build/ios/appleApi/fastlane.js:24:17) at tryCatch (/usr/local/share/.config/yarn/global/node_modules/babel-runtime/node_modules/regenerator-runtime/runtime.js:62:40) at Generator.invoke [as _invoke] (/usr/local/share/.config/yarn/global/node_modules/babel-runtime/node_modules/regenerator-runtime/runtime.js:296:22) at Generator.prototype.(anonymous function) [as next] (/usr/local/share/.config/yarn/global/node_modules/babel-runtime/node_modules/regenerator-runtime/runtime.js:114:21) at step (/usr/local/share/.config/yarn/global/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30) at /usr/local/share/.config/yarn/global/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13 at process._tickCallback (internal/process/next_tick.js:68:7)

My credentials work as expected on the site itself and also on expo through my local machine - the above is when I am attempting to do this on my server. Android works fine without any issues.

Any suggestions will be most welcome.

Thanks

@erzhtor
Copy link

erzhtor commented Sep 30, 2019

The same for me!

@adnen-chouibi
Copy link

In my case i was connected through vpn, maybe Apple detects that you are connecting from another location.
I know that my comment does not change anything for you, but can help someone else

@fson
Copy link
Contributor

fson commented Jun 29, 2020

Closing this because there isn't anything obvious we can do right now to fix this problem.

@fson fson closed this as completed Jun 29, 2020
@kopax
Copy link

kopax commented Aug 25, 2020

I just have the same issue when trying to build without --simulator in my gitlab-ci: https://stackoverflow.com/questions/60403093/failed-authentication-in-apple-developer-portal-when-execute-expo-buildios

Does anybody know how this can be fixed ? (workaround)

@brentvatne
Copy link
Member

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants