Search Unity

Github Setup Timeout Error

Discussion in 'Unity Build Automation' started by CharlesCox44, Jul 18, 2017.

  1. CharlesCox44

    CharlesCox44

    Joined:
    Jul 17, 2017
    Posts:
    3
    Hello,

    I am having issues setting up Unity Cloud Build with Github. When I enter the server URL I get an Connection Timeout error:
    TimeOut.PNG

    This happens in the Unity website and the Unity editor. My github repository is Enterprise and Private. I looked at the documentation and It says unity will detect if it is private and provide a SSH key during the project setup but hasn't done that since it simply times out and put be back to the menu.
     
  2. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    785
    Is the host publicly accessible to the internet?
     
  3. CharlesCox44

    CharlesCox44

    Joined:
    Jul 17, 2017
    Posts:
    3
    I do not believe it accessible to the public. Our company has a firewall so I don't think anyone outside the firewall will have access to the github page
     
  4. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    785
    In general, Unity Cloud Build isn't going to be able to pull from a repository unless it's publicly accessible or you specifically allow our servers IPs through your firewall. Send me a PM and we can work out the details.
     
  5. Novack

    Novack

    Joined:
    Oct 28, 2009
    Posts:
    844
    Im having a similar issue.

    Im trying to connect a GitLab CE deployment on the cloud, containing a private repo. The url is actually accesible, as it is for a distributed team.

    Connection Timeout!

    • If I use the http url, UCB throws an error:
    Repo is not accessible. Please check your URL and repo settings.

    I have added the ssh key to the repo, and then tried adding it to the user to no avail.
    Any ideas what may be failing?
     
  6. Novack

    Novack

    Joined:
    Oct 28, 2009
    Posts:
    844
    Apparently the issue is related to a problem on our ssh, so we moved to http address with username and pass, and its working.
     
  7. Trivium_Dev

    Trivium_Dev

    Joined:
    Aug 1, 2017
    Posts:
    78
    I'm currently having issues adding new build targets using SSH. I get this error: "Git ls-remote failure: No user exists for uid 1001 fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists."

    We're using Bitbucket Cloud and have an SSH key saved for the organization so that Unity Cloud Build can access our private repos. The builds work fine but if I go to edit a build configuration that currently works or add a new one, I get that error (it actually pops up twice as well).