This is a migrated thread and some comments may be shown as answers.

ECONNREFUSED error when uploading to iTunes Connect

3 Answers 64 Views
Command-Line Interface
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
IE
Top achievements
Rank 1
IE asked on 28 Apr 2015, 09:53 AM

I've been using the AppBuilder CLI to upload our app to iTunes Connect, which has always worked successfully in the past, however recently it just keeps failing with the following error 'connect ECONNREFUSED'.

The app is uploaded to Telerik, built and then the binary downloaded successfully, it only fails when being uploaded to iTunes Connect.

 I have noticed something strange, once the app has been built the following line is shown:

 "Package built with 'Development' provision type. Downloading package, instead of generating QR code."

 I am definitely specifying a Production provisioning profile when running the 'appbuilder appstore upload' command, so I find this line confusing and am not really sure if it is related to the problem.

 Any help that you could provide would be greatly appreciated!

 Thanks

 

 

 

3 Answers, 1 is accepted

Sort by
0
Zdravko
Telerik team
answered on 29 Apr 2015, 06:15 PM
Hi,

Thank you for contacting us.
I wasn't able to reproduce your error on our side so I would ask you to execute the same command but ending with '--log TRACE > log.txt 2>&1' at the end. This will produce a log file (log.txt) in the root of your project. Please send it to us for examination.
e.g.
appbuilder appstore upload AppName --certificate 8 --provision 2 --log TRACE > log.txt 2>&1
Also provide a list of the custom plugins you are using in your app and the Cordova version.
A sample app would be greatly appreciated.
Before that verify your provision and certificate.

In order to send over all this data consider opening a private ticket where to attach it.

Regards,
Zdravko
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
IE
Top achievements
Rank 1
answered on 30 Apr 2015, 01:43 PM

Thanks for your response - I've raised a support ticket including the details you've asked for.

 Many thanks

 Richard

0
Rosen Vladimirov
Telerik team
answered on 01 May 2015, 11:45 AM
Hi,

Thank you for sending the additional information. I've answered to your ticket, but I just want to share the issue here, in case someone else has the same issue.
When you want to upload you app to iTunes and you have files, that start with #! (for example "#!/bin/bash") itms requires additional signing for them. Such files are shell scripts, python files and javascript files with explicitly set "#!/usr/bin/env node" set at the beginning. Most of the times these files should not be included in the project, so we recommend you to check your project for such entries and add them to your .abignore file. This way you'll be able to use these executables during your development, but they will not be included in the build application.

Hope this helps.

Regards,
Rosen Vladimirov
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
Command-Line Interface
Asked by
IE
Top achievements
Rank 1
Answers by
Zdravko
Telerik team
IE
Top achievements
Rank 1
Rosen Vladimirov
Telerik team
Share this question
or