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.
Thought we'd try from another system but same error.
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
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!
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.
Related
I can't upload a new build using Xcode7 or Application Loader. It gets stuck on "Verifying assest with Itunes Store", and after a couple of minutes i get the error "Client unable to connect to server (check UDP port and firewall) (15)".
I tried uploading a new build with the Xcode6.4, and it worked. Did they change some port? Any way to fix it? My Mac have the firewall disabled.
Yesterday somehow i could upload a build, i was messing around with the router and other things, but i'm not sure what did the trick.
I was having the very same issue in my company's network because there was a firewall. Contacted with the system admin and we have monitored the process, seen that it was trying to connect over UDP 33001 port but failing, then passing to alternatives. So we have allowed UDP 33001 port, I was able to upload successfully.
The thing is that these numbers might change in the future, as it (most probably) happened when Xcode has changed from 6.4 to 7.0. Take a look at this comment: https://stackoverflow.com/a/6178286/705982
There you will see the ports Application Loader uses. If you can't monitor the upload process, then try to create allow rules for one or some of these ports. You should be good to go.
I just changed network. I changed to another WiFi having another network provider (my phone's internet). That solved my problem. And I was actually using company's network. So I had proxy and thus I think the issue of firewall also came across.
I am new to phonegap and coding so I am unaware as to how to use PhoneGap. First of all what I did was connect my PhoneGap (desktop) app thing to my iPhone PhoneGap developers app. On my iPhone it just says downloading... there is nothing else happening. I then tried using an Android phone to see if it works but it just says
unable to download archive from the server.
unable to properly connect to the server.
I dont know what to do so any help will be appreciated.
This can be caused by many things.
I assume you followed the steps from http://app.phonegap.com/ site:
you have created a phonegap app (at least a sample one using 'phonegap create')
you have a server running (using phonegap desktop or 'phonegap serve' from command line)
There are some things you have to check in order to know what is wrong:
Both the devices must be in the same network to 'see' each other.
The firewall is turned off or allows communication on the port the server is running on (default is port 3000)
Check if your antivirus isn't blocking the same port.
If you still have no connection here is the survey/checklist you should go through. It helps you get closer to the center of the problem you have (points: 7-11).
If that does not help you can always fill an issue (and attach above-mentioned survey) but I strongly recommend reading documentation first
First of all I know this question has been asked several times before, and I do try all the possible solutions. I have used Application loader 2.9.1 and 3.0 , I have used archiving from Xcode but it still the same problem. I have only one apple developer ID, so there shouldn't be any issue concerning that. I have tried to create a single view app from Xcode template and just add a distribution provisioning profile to see if there is anything wrong with my original app or not, but still I was not able to submit a simple template app to the iTunesConnect.
I am getting really frustrated, any help guys would be really appreciated.
below are my info.plist and code signing part:
Application loader require some TCP port to be open, you can check the requirement here, page 6, the doc is here : https://itunesconnect.apple.com/docs/UsingApplicationLoader.pdf . It is mention :
For the best upload experience, verify that all of the ports and IP
addresses are accessible
And there is actually a lot of ports and ip !!
The fact that it says "We're having trouble connecting to the App Store. Please try again later" in the application loader seems like a clue.
I am also experiencing the same problem today (same day as original poster). I suspect Apple has some problems at their end (i.e. the iTunes Connect server).
I just had the same error. After reading the documentation of Application Loader, I just delete files on my mac to have at least 20 GB of free space, and guest what ? It worked! I can't believe it !
From the doc :
Application Loader 3.0 requires a Mac, at least 512 MB RAM, and OS X
v10.8 or later installed. Apple recommends at least 20 GB of available
space
I'm trying to submit an iOS PhoneGap app to the app store via Xcode 5.0.2 but I'm encountering problems at the final distribution stage. The app works perfectly on the simulators and devices that I've used and even passes the validation yet when I go to distribute it a number of errors pop up and the project's status is listed as "Failed Validation".
I've had no luck searching for these errors on-line and I don't understand how it passes validation when I click validate but somehow fails it when I go to distribute.
I see other Xcode submission problems are linked to Apple server traffic but I'm not getting any "network connection lost" errors.
I've seen some issues requiring a Java update for Xcode but they seemed to effect Xcode 4 and I'm using Xcode 5.
EDIT:
I forgot to mention that I'm using an iMac on a University network.
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!
The problem was that I was using a university network which has a number of restrictions on servers as well as uploading and downloading. The only fix for this problem was to find another Mac to use which wasn't restricted.
A possible solution is to do what #kernix suggests, make sure your bitching corporate firewall isn't trying to mug you off. Are your ports open?
Another solution is to user Application Loader instead.
Open Application Loader, got to preferences (⌘+,) and unselect Signiant and Aspera, but leave DAV selected.
In Xcode i have have created an archive of the app. Verified it no problem. then when i click Distribute i get as far as "Your application is being uploaded" and shows the progress bar.
The bar never moves and after a few minutes my internet breaks. i need to restart my router to get the internet back.
one of the times i received this error "SSL error occured and a secure connection to the server cannot be made"
Anyone ever experienced this or have an idea of whats happening?
Thanks
I also faced this problem: "your application is being uploaded stuck"
My ANSWER IS:
Either just delete your derived data from organizer or Instead of uploading via Xcode, try via it using Application Loader.
I choosed via Appplication Loader and Steps to do that are:
Step1: Make .ipa file via Ad-Hoc Deployment by click Distribution button.
Step2: Find from menu bar of Xcode -> Open Developer Tool -> Application Loader.
Step3: Then upload it that .ipa file in Application Loader.
**
OR ANOTHER SOLUTION
**
For uploading it via XCode:
Step1: Firstly Validate your archive file by clicking on validation button of Organiser.
Step2: Then Upload it to App Store via Oraganiser.This way you can also solve this problem as well
THIS IS MY ANSWER . HAPPY TO HELP :):)
apple uses java ?
my mac does not have problem for internet.any application can download/upload.
except xcode's organizer's distribute or application loader blocks whole internet and modem stops working for a temporal time.
it is obvious not a mac problem. but apple's uploading system strategy seems not good.
they gotto fix this.
I've heard of some users having issues if they're running old versions of Java. If you can't update, or if updating doesn't fix it, you can try:
sudo ln -s CurrentJDK /System/Library/Frameworks/JavaVM.framework/Versions/1.5
sudo ln -s CurrentJDK /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0
(other similar workarounds here.)
It could also be an Internet connectivity issue.
Either way, you can also try uploading your app using Application Loader.
I updated my old Java version (from 21 to 51). Is still freezing my Internet.
I validated my archive with Organizer. Is still freezing my Internet.
I tried to upload an IPA with Application Loader. Is still freezing my Internet.
I deleted all my old archives in Organizer. Is still freezing my Internet.
Finally I connected my Mac to Internet through my iPhone's Internet. In resume I connected my Mac to Internet with another provider. This solved my problem
Sounds like my land ADSL provider have some problem with the AppStore.
It will be to do with your firewall on your mac, it may be blocking java all together. Go to settings, security and privacy and then firewall. Once on there go to fire wall options and then there should be an option to allow java to pass through the firewall.
Hope that helps, did with me :)
None of the above suggestions work for me. Likely the real cause is physical and related how Application Loader is using the internet. I have ADSL2 connection with a Netgear modem/router assigning each device at home a fixed IP address according to the mac address of the network interface of each device. I had noticed that when Application Loader is uploading, my Windows PC could not connect to the internet. However, if in Mac mini I use Safari doing various things like watching video, my Windows PC can access internet.
Even stranger, when Application Loader is uploading, the modem/router could easily lost connection to the internet, as I could see from the LED lights of the modem. The connection is lost randomly at any progress of uploading the 20 MB file.
So I had turned off Windows PCs, iPads, iPhones and Android device at home, so Mac mini is the only device using the Internet, the Application Loading has finally been able to upload the app successfully in one go.
My guess is, my home phone line has some noise, and Application Loader is using the internet aggressively particularly the up link, so stressing out the modem, then causing other devices like my Windows PC lost connection, not even able to resolve host. When Safari is uploading video to App Store, no problem.
So my working solution is to make Mac be the only device using the Internet, given that the internet connection is already in poor condition with noise, near the edge of losing connection.
It's very old issue, but in case any of you is still looking for a solution, I stopped using Xcode to upload my apps to the app store. Instead I'm using Transporter (by Apple) and it seems to fix the freezing