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

时间:2019-04-15 18:27:39

标签: xcode appstoreconnect

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

enter image description here

我已经尝试过搜索该问题,但找不到适合我的解决方案。我尝试使用应用程序加载器而不是管理器进行上传,但仍然遇到相同的错误。当我上传档案时,我也尝试不包含位码,但它不起作用。当我使用应用程序加载器时,似乎在将元数据与App Store进行比较时发生错误。我不确定这意味着什么,但也许是问题所在?如果我能在这个问题上得到一些帮助,那将真的很有帮助。预先感谢。

编辑1: 我试图查看诊断报告,这就是我得到的。

[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

6 个答案:

答案 0 :(得分:0)

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

答案 1 :(得分:0)

这帮助了我。我尝试了几个小时才发现这是我的网络设置错误。 enter image description here

答案 2 :(得分:0)

我在列表中上载了10到15次构建,但始终出现此错误-“ App Store连接操作错误” ,因为我上载构建的速度很慢。当我尝试以高速上网时,然后在应用商店上首次构建上传的视频。

答案 3 :(得分:0)

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

确保仅在Xcode发行版本中执行存档,而不在 Xcode beta或其他版本。

答案 4 :(得分:0)

转到“偏好设置”>“网络”>“高级”>“代理”,并确保已选中“自动代理发现”和“自动代理配置”,但未选中任何其他代理选项。

答案 5 :(得分:-2)

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

enter image description here