ECONNREFUSED error when uploading to iTunes Connect

4 posts, 0 answers
  1. IE
    IE avatar
    3 posts
    Member since:
    Nov 2014

    Posted 28 Apr 2015 Link to this post

    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

     

     

     

  2. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 29 Apr 2015 Link to this post

    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.

     
  3. IE
    IE avatar
    3 posts
    Member since:
    Nov 2014

    Posted 30 Apr 2015 in reply to Zdravko Link to this post

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

     Many thanks

     Richard

  4. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 01 May 2015 Link to this post

    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.

     
Back to Top