问题
NOTE: We finally uploaded the app but we didn't really troubleshoot this issue so I would appreciate if someone could share some valuable insight or experience pertaining to this question.
I've also checked the following 2 similar questions but these didn't help:
- Error uploading ios application to itunesconnect “failed to open ssh session (16)”
- App Store submission/distribution error “failed to open ssh session”
So...
Firstly, I am on a company network and just a week back we published a fresh new app using Max OSX 10.9.3 (13D65) & Xcode v5.1.1 (5B1008).
This week, while trying to upload an update for this app via the same system, I ran into a few issues.
1st try*firewalled
2nd/3rd try*firewalled
So, I got our network admin to open up port number 44001 and tried again.
Although it did reduce the number of errors, it failed again.
4th try*firewalled
NOTE: No changes in network or system
5th try*firewall bypassed
So, I got our network admin to look into it and eventually we ended up bypassing the company firewall just for this upload session but it failed again.
6th try*firewalled
Thought we'd try from another system again so I switched to a colleague's system that hadn't been involved in this app's development, note that it was not bypassing the firewall, and it uploaded successfully in it's 1st attempt, albeit with a few warnings.
- System was a Mac OSX 10.9.3 that we later realized had an older version of Xcode (5.0) but anyways...
Would someone be kind enough to shed some light or hints for the following errors/warnings:
- Error:
Failed to open ssh session. (16)
(NOTE: this appeared with/without firewall/restrictions) - Error:
Could NOT set the remote path to the existing package
- Error:
Could not create/set the package's folder on Apple's webDAV
Warning: Creating a new Signiant Transfer Engine
回答1:
After having the same issue I've been able to fix this issue.
To solve this issue you need to:
Go to page 6 "System and Network Requirements" from https://itunesconnect.apple.com/docs/UsingApplicationLoader.pdf
verify that all of the ports and IP addresses are accessible.
After opening all of the ports from the table, I'm now able to upload my apps.
Enjoy!
回答2:
I had the same problem when using my company's network because we use a proxy and due to security reasons all the needed ports and IPs reported on the official documentation were blocked. After switching to an external network without proxies, I was able to upload my new app.
来源:https://stackoverflow.com/questions/25169034/xcode-upload-error-failed-to-open-ssh-session-16