iOS Question Error retrieving token: Communication error: ConnectFailure

Discussion in 'iOS Questions' started by Ramezanpour, Mar 18, 2015.

  1. Ramezanpour

    Ramezanpour Active Member Licensed User

    I have hosted builder.
    when i click on release app

    after few second :

    Parsing code. 0.02
    Compiling code. 0.06
    Compiling layouts code. 0.02
    Building Xcode project 0.04
    Sending data to remote compiler. Error
    Error retrieving token: Communication error: ConnectFailure

    Can't connect
    (debug worked)
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    What is the size of rc.dat from the Objects folder (when you compile in release mode)?
     
    Ramezanpour likes this.
  3. Ramezanpour

    Ramezanpour Active Member Licensed User

    845kb
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Does it still not work for you?

    It is probably a firewall issue that breaks the connection.
     
    Ramezanpour likes this.
  5. Ramezanpour

    Ramezanpour Active Member Licensed User

    solved
     
  6. Medel

    Medel Member Licensed User

    Hi Erel, i've follow the steps in the "Creating a certificate and provisioning file" thread and however in the "Installing B4i-Bridge and debugging first app" i got a Connect Failure. I've already turn off the firewall to see if this was the problem but it wasn't, can you give some advise? The picture below shos the error.
     

    Attached Files:

  7. Erel

    Erel Administrator Staff Member Licensed User

    Are you using a local builder or a remote builder?
     
  8. Paul Garcia

    Paul Garcia Member Licensed User

    I have the same problem, I'm using Windows 10 and I'm using an iPhone with B4i-bridge, but I get the same error.
    I have the csr file and the mobile provision in the folder "keys".
     

    Attached Files:

  9. Erel

    Erel Administrator Staff Member Licensed User

    Are you using the hosted builder or a local Mac?
     
  10. Paul Garcia

    Paul Garcia Member Licensed User

    I am using a local PC, usually install the B4i and where I ask the IP, put the IP of the cases where I'm going to do the tests.
    It is the first time I use the B4i and do not understand the reason for the error.
    Thank you.
     
  11. Erel

    Erel Administrator Staff Member Licensed User

    This error means that the IDE failed to connect to the Mac builder.

    Have you configured the IDE to use the hosted builder under Tools - Build Server - Server Settings ?
     
  12. Paul Garcia

    Paul Garcia Member Licensed User

    I have not configured server settings, in "user id" is the id of the apple store? ..
    and "server ip" ip going ?, iphone
    Please explain not like starting, I appreciate it.
     

    Attached Files:

  13. Erel

    Erel Administrator Staff Member Licensed User

    You should have received an email with your hosted builder account (5 or 6 random letters). You need to put it in the user id field and check the Use Hosted Builder checkbox.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice