App Store Connect Build Upload Failing – Gateway Timeout (504)

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>&#63743;</h1>
 
    <h3>Gateway Timeout</h3>
<p>Correlation Key: **********</p>
</div>
</body>
</html>```
Answered by sreerag in 829008022

@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. 😵‍💫");

}

Hi, I'm having the same issue. My build worked fine before, but now it returns a 504 error. Same thing when I'm trying to just list providers

xcrun altool --list-providers

Same here, we're seeing this issue for multiple different apps, multiple different build environments, and when attempting to publish the exact same app (code she) that we were able to successfully publish last night.

same thing here

Experience the same issue here, I'm pretty sure is no code related, tried to upload a previous version that was successfully a couple of days ago but now I'm having the same problem.

I saw the same thing, but it just worked 5 minutes ago so maybe fixed.

Exactly the same thing here

Same here.

Accepted Answer

@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. 😵‍💫");

}

App Store Connect Build Upload Failing – Gateway Timeout (504)
 
 
Q