App Store Connect Build Upload Failing – Gateway Timeout (504) 🔄 I’m trying to upload a build to App Store Connect through Xcode, but the process keeps failing with a Gateway Timeout (504) error. It looks like Apple’s API or App Store Connect is receiving an invalid response from an upstream service.
The server returned unexpected content.
<!DOCTYPE html>
<html lang="en">
<head>
<style>
body {
font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
font-size: 15px;
font-weight: 200;
line-height: 20px;
color: #4c4c4c;
text-align: center;
}
.section {
margin-top: 50px;
}
</style>
</head>
<body>
<div class="section">
<h1></h1>
<h3>Gateway Timeout</h3>
<p>Correlation Key: **********</p>
</div>
</body>
</html>```
@all -
Someone at Apple finally did
sudo systemctl restart
, appstoreconnect.service and now it works 🎉.
If you were getting a 504, you can retry now! 🚀"
also @apple ,please update your status page code from this to something useful.
code-block
if (appleStatusPage.isUp()) {
console.log("Everything is fine. No issues reported. 🚀");
} else {
console.log("Nothing to see here. It's definitely your fault. 🙃");
}
// Meanwhile, in reality...
if (server.isActuallyDown()) {
console.log("Gateway Timeout. Try again later. 😵💫");
}