Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App Store Connect Operation Error: Could not connect to Apple's web service

I have been trying to upload my app archive to App Store connect for the past 3 days. In the beginning, there was a problem with the iTMSTransporter and I had to manually install it from iTunes Connect. Now it fails when I try to upload it. This is the error that comes up.

enter image description here

I have tried googling about this problem and I couldn't find a solution that worked for me. I tried using application loader instead of organiser to upload and I still came across the same error. I also tried to not include bitcode when I uploaded the archive and it didn't work. When I use application loader, it seems that the error occurs when it is comparing metadata with the App Store. I am not really sure of what that means but maybe that may be the problem? It would be really helpful if I could get some help with this problem. Thanks in advance.

Edit 1: I tried looking into the diagnostic report and this is what I got.

[2019-04-16 02:49:44 SGT] <main> DBG-X:   parameter Version = 1.11.0
[2019-04-16 02:49:44 SGT] <main> DBG-X:   parameter iTMSTransporterMode = upload
[2019-04-16 02:49:44 SGT] <main>  INFO: id = 20190416024944-407
[2019-04-16 02:49:44 SGT] <main>  INFO: iTMSTransporter Correlation Key: 2a7ba74f-8686-4003-8d70-4793622d6094
[2019-04-16 02:49:44 SGT] <main>  WARN: Web service received a server status of: HTTP/1.1 502 Bad Gateway
[2019-04-16 02:49:44 SGT] <main>  WARN: Web service response received: <html>
            <head>
                <title>502 Bad Gateway</title>
            </head>
            <body>
            <h1>502 Bad Gateway</h1>
            <p>Socks5ProtocolException(&quot;SOCKS5 mode failure: SocksError(&#x27;Invalid SOCKS version. Expected 0x05, got 0x43&#x27;,)&quot;,)</p>
            </body>
        </html>
[2019-04-16 02:49:44 SGT] <main> DBG-X: Apple's web service operation returned
[2019-04-16 02:49:44 SGT] <main> DBG-X: Sleeping for 4680 ms
[2019-04-16 02:49:49 SGT] <main> DBG-X: Done sleeping
[2019-04-16 02:49:49 SGT] <main> ERROR: Could not connect to Apple's web service.
[2019-04-16 02:49:49 SGT] <main> ERROR: Communication error. Please use diagnostic mode to check connectivity.
[2019-04-16 02:49:49 SGT] <main>  INFO: JSON:{"msg":{"phase":"Upload","count":2,"description":"Operation failed","index":2},"messageType":"VerifyProgress"}
[2019-04-16 02:49:49 SGT] <main> DBG-X: Returning 1
like image 847
Dinesh Sekar Avatar asked Apr 15 '19 18:04

Dinesh Sekar


People also ask

Why is my Apple store saying Cannot connect?

Make sure that your device is connected to the internet Use any web browser to connect to any website. If nothing loads, use another device on the same network to see if it can connect to any website. If no other devices can access the internet, turn off your Wi-Fi router, then turn it on again to reset it.

Why is my App Store not connecting on Mac?

The most common reasons why the app store may not be working on your Mac are poor Wi-Fi connection, different Apple ID, proxy setup in-network, VPN setup with enhanced security settings or the Apple systems are down.


3 Answers

I had the exact problem. It ended up a network configuration issue. Go to Preferences > Network > Advanced > Proxies and make sure "Auto Proxy Discovery" and "Automatic Proxy Configuration" are checked but none of the other proxy options are checked. I had to uncheck "SOCKS Proxy" option to resolve the issue.

like image 177
Hooman Malek Avatar answered Oct 09 '22 20:10

Hooman Malek


This helped me. I was trying for hours before I figured out that it was my network settings error. enter image description here

like image 28
Rajesh Avatar answered Oct 09 '22 19:10

Rajesh


I uploaded build at list 10 - 15 times but all time got this error - "App Store Connect Operation Error" because i upload build with slow internet speed. When i try with high internet speed, then build uploaded first time on app store.

like image 23
Ravikant Avatar answered Oct 09 '22 19:10

Ravikant