关于xcode:App Store连接操作错误:无法连接到Apple的Web服务

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

过去3天,我一直在尝试将我的应用存档上传到App Store connect。最初,iTMSTransporter出现问题,我不得不从iTunes Connect手动安装它。现在,当我尝试上载它时,它失败了。这是出现的错误。

enter

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[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>
                502 Bad Gateway
            </head>
            <body>
            502 Bad Gateway
            <p>Socks5ProtocolException("SOCKS5 mode failure: SocksError( Invalid SOCKS version. Expected 0x05, got 0x43 ,)",)</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


我遇到了确切的问题。最终导致了网络配置问题。转到"首选项">"网络">"高级">"代理",并确保已选中"自动代理发现"和"自动代理配置",但未选中其他代理选项。我必须取消选中" SOCKS代理"选项才能解决该问题。


这帮助了我。我尝试了几个小时才发现这是我的网络设置错误。
enter"网络">"高级">"代理",并确保选中"自动代理发现"和"自动代理配置",但未选中其他代理选项。


我有时会遇到这种情况,因为我拥有多个版本的Xcode,并将其存档在Beta版的Xcode中。

Make sure you do Archive only in the Xcode release version, not in
Xcode beta or other versions.


我在列表中上载了构建10到15次,但始终出现此错误-" App Store Connect Operation Error ",因为我以较慢的互联网速度上传了构建。当我尝试高速上网时,然后在应用商店上首次构建上传的文件。


请按照以下步骤操作:
-转到"偏好设置">"网络">"高级">"代理",并确保"自动代理发现"和" Web代理(HTTP)"。
-并尝试再次上传您的应用。

在此处输入图片说明