Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Amazon CodeCommit - "Could not clone repository"

Discussion in 'Unity Build Automation' started by Graffle, Jan 15, 2016.

  1. Graffle

    Graffle

    Joined:
    Sep 10, 2015
    Posts:
    4
    We use AWS CodeCommit to host our git repo, and have Cloud Build hooked up to it to create our builds. *When* Cloud Build works it works great, however *most* of the time we get the following error:

    Summary: 1 warnings, 2 errors:

    ERROR: Error cloning remote repo 'origin' : Could not clone ssh://XXX...XXX@git-codecommit.us-east-1.amazonaws.com/v1/repos/XXXXX
    ERROR: Could not clone repository
    Caused by: java.io.IOException: Could not clone

    We have to restart the build multiple times until the repo can be cloned and the game built. Any help in resolving this would be greatly appreciated. The service is great, but it's incredibly frustrating to have to restart build jobs multiple times before we get a decent build out of it.

    Cheers --
     
  2. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    785
    Can you send me a direct message with a link to your project?
     
  3. Graffle

    Graffle

    Joined:
    Sep 10, 2015
    Posts:
    4
    Sent! Let me know if you need anything else :)
     
  4. FFGSoftware

    FFGSoftware

    Joined:
    Aug 22, 2013
    Posts:
    14
    We too are having this same error with our AWS CodeCommit repository. If you would like any additional information from us, please let me know.
     
  5. robbiew

    robbiew

    Joined:
    Apr 20, 2014
    Posts:
    4
    Setting up CodeCommit - ran into this exact issue. Is there a solution? Thanks.