xcode App Store Connect 操作错误:无法连接到 Apple 的网络服务
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/55695236/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
App Store Connect Operation Error: Could not connect to Apple's web service
提问by Dinesh Sekar
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.
过去 3 天,我一直在尝试将我的应用存档上传到 App Store connect。一开始,iTMSTransporter 出现问题,我不得不从 iTunes Connect 手动安装它。现在当我尝试上传它时它失败了。这是出现的错误。
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.
我试过在谷歌上搜索这个问题,但找不到适合我的解决方案。我尝试使用应用程序加载器而不是组织器来上传,但我仍然遇到了同样的错误。我还尝试在上传存档时不包含 bitcode,但它不起作用。当我使用应用程序加载器时,似乎是在将元数据与 App Store 进行比较时发生错误。我不太确定这意味着什么,但也许这可能是问题所在?如果我能在这个问题上得到一些帮助,那将非常有帮助。提前致谢。
Edit 1: I tried looking into the diagnostic report and this is what I got.
编辑 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("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
回答by Hooman Malek
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.
我遇到了确切的问题。它最终导致网络配置问题。转至首选项 > 网络 > 高级 > 代理并确保选中“自动代理发现”和“自动代理配置”,但未选中任何其他代理选项。我不得不取消选中“SOCKS 代理”选项来解决这个问题。
回答by Balachandran Bala
Follow these steps: - Go to Preferences > Network > Advanced > Proxies and make sure "Auto Proxy Discovery" and "web proxy (HTTP)". - and try to Upload you app again.
请按照以下步骤操作: - 转至首选项 > 网络 > 高级 > 代理并确保“自动代理发现”和“网络代理 (HTTP)”。- 并尝试再次上传您的应用程序。