将 ios 应用程序上传到 itunesconnect 时出错“无法打开 ssh 会话 (16)”

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/24120220/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-31 00:43:01  来源:igfitidea点击:

Error uploading ios application to itunesconnect "failed to open ssh session (16)"

iosxcodesshapp-store-connectapplication-loader

提问by Janez Rupar

I am having a real repetitive issue uploading app to itunesConnect. It does not matter if I use "Application loader" or xcodes "Archive" utility, the result is the same ("failed to open ssh session (16)"). I am doing this on a Computer and network that was used for multiple uploads of applications to itunesConnect in the past and never having this problem. I even uploaded an application the same day (without problem), but got errors for this app.

我在将应用程序上传到 itunesConnect 时遇到了一个真正的重复问题。无论我使用“应用程序加载器”还是 xcodes“存档”实用程序,结果都是相同的(“无法打开 ssh 会话 (16)”)。我在过去用于将应用程序多次上传到 itunesConnect 的计算机和网络上执行此操作,但从未遇到此问题。我什至在同一天上传了一个应用程序(没有问题),但是这个应用程序出错了。

I reviewed the detail log and found nothing useful to determine why the problem would happen.

我查看了详细日志,没有发现任何有用的信息来确定为什么会发生问题。

I posted the log at link bellow since it is to long to be posted here
http://pastebin.ca/2801584

我在下面的链接中发布了日志,因为它很长时间才能发布在这里
http://pastebin.ca/2801584

I am using:
-java (1.6.0)
-xcode 5.1.1
-appLoader 2.9.1
-osx 10.9.3

我正在使用:
-java (1.6.0)
-xcode 5.1.1
-appLoader 2.9.1
-osx 10.9.3

what i tried already:
-checked and rechecked application meta data
-tried to upload via different network
-changed app bundle identifier (develop site, itunesconnect and application)
-tried contacting support via itunesConnect (with no response after multiple days).

我已经尝试过的: -
检查并重新检查应用程序元数据 -
尝试通过不同的网络上传 -
更改了应用程序包标识符(开发站点、itunesconnect 和应用程序) -
尝试通过 itunesConnect 联系支持(多天后没有响应)。

I thank you for any help you can offer me.

我感谢您为我提供的任何帮助。

采纳答案by Kenster

According to the log, you don't have network connectivity to Apple's servers, so all of your connection attempts are timing out.

根据日志,您没有与 Apple 服务器的网络连接,因此您的所有连接尝试都超时。

[2014-06-09 11:12:22 CEST] <main> DBG-X:   testing host/port: vgr105.apple.com/33001
[2014-06-09 11:13:38 CEST] <aspera.util.SelectThread> ERROR: The session's status is FAILED and the error description is 'failed to open ssh session. (16)'

[2014-06-09 11:23:07 CEST] <Transport Protocol Seeker> DEBUG: Transfer warning: Unable to connect to sgr403.apple.com:44001: Failed to connect
    at com.signiant.interactivetransfer.engine.TransferEngine.run(TransferEngine.java:3617)
Caused by: Transfer error: Failed to connect
    at com.signiant.interactivetransfer.engine.TransferInstance.newControlPort(TransferInstance.java:367)
    at com.signiant.interactivetransfer.engine.ControlStream.<init>(ControlStream.java:894)
    at com.signiant.interactivetransfer.engine.TransferEngine$Connector.run(TransferEngine.java:3185)
Caused by: java.io.IOException: java.io.IOException: connection timeout
    at com.signiant.mobilize.ddsclient.connection.Tcp.<init>(Tcp.java:47)
    at com.signiant.interactivetransfer.engine.TransferInstance.newControlPort(TransferInstance.java:361)
    ... 2 more
Caused by: java.io.IOException: connection timeout
    at com.signiant.mobilize.ddsclient.connection.Tcp.<init>(Tcp.java:42)
    ... 3 more

The simplest explanation is that you're being blocked by a firewall within your local network. If that is the case, then you need to contact your network administrators to open up the ports needed for the transporter to work.

最简单的解释是您被本地网络中的防火墙阻止了。如果是这种情况,那么您需要联系您的网络管理员以打开传输器工作所需的端口。

The iTunes Connect Transporter Quick Start Guidelists the ports that have to be opened in order for the transporter to work. You can get the document from the iTunes developer site, or I found a copy online here.

iTunes Connect的运输车快速入门指南列出了必须以开放的转运工作的端口。您可以从 iTunes 开发者站点获取该文档,或者我在此处在线找到了一份副本

回答by Stewart Macdonald

You can also try the answer here:

您也可以在这里尝试答案:

itunesconnect using application loader behind a firewall

itunesconnect 使用防火墙后面的应用程序加载器

In short, change Application Loader's Advanced preferences so that it only uses the DAV transfer protocol.

简而言之,更改 Application Loader 的高级首选项,使其仅使用 DAV 传输协议。

回答by InitLipton

If anyone comes across this issue again and cant find a resolution. I had to re download the application loader and after the IPA has been created open up the application loader you just downloaded.

如果有人再次遇到此问题并且找不到解决方案。我不得不重新下载应用程序加载器,并在创建 IPA 后打开您刚刚下载的应用程序加载器。

回答by Sazzad Hissain Khan

Make sure that all sites are smoothly accessible from your Mac,

确保所有网站都可以从您的 Mac 顺利访问,

http://help.apple.com/itc/apploader/e3#/itc8e7ec5a60

http://help.apple.com/itc/apploader/e3#/itc8e7ec5a60