Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Mercurial: ERROR: Failed to clone / abort: http authorization required error

Discussion in 'Unity Build Automation' started by dcarrigg, Mar 11, 2016.

  1. dcarrigg

    dcarrigg

    Joined:
    May 21, 2014
    Posts:
    24
    We're testing out Unity Cloud Build, and have been unsuccessful so far. Our log files show the following:

    Code (CSharp):
    1. 1: Running Prebuild steps
    2. 2: done.
    3. 3: bvr 1.2.1
    4. 4: bvr-api 0.2.0
    5. 5: $ hg clone --rev default --noupdate OURREPOLOCATION /BUILD_PATH/dcarrigg.uc-server.windows-desktop-64-bit
    6. 6: abort: http authorization required for OURREPOLOCATION
    7. 7: ERROR: Failed to clone OURREPOLOCATION
    8. 8: ERROR: Failed to clone OURREPOLOCATION
    9. 9: postbuildstatus finished successfully.
    10. 10: Deleting project workspace...
    11. 11: Finished: FAILURE
    We've verified the connection information, both our repo location and the username/password. Is there something else we could be missing?

    Thanks
     
  2. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    785
    Are you hosting the repo with a service, or is it on your own servers? Are you putting your credentials directly in the URL or adding the username/password through the setup wizard?
     
  3. dcarrigg

    dcarrigg

    Joined:
    May 21, 2014
    Posts:
    24
    We're using our own server in our office, which we can connect to externally as well. I've tried entering the username/password in the setup wizard, as well as adding them directly to the url... same log output either way.

    I also created a new user account, and double checked the credentials, which didn't seem to make a difference either.
     
  4. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    785
    This is going to require some investigation on our end. Can you PM me a link to the project so I can look into it?
     
  5. dcarrigg

    dcarrigg

    Joined:
    May 21, 2014
    Posts:
    24
    Message sent. Thanks for looking into this!
     
  6. linxuzi

    linxuzi

    Joined:
    Dec 28, 2012
    Posts:
    2
    we have the same problem
     
  7. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    785
    @linxuzi: We have a fix for this specific mercurial error, however it is dependent on some changes that are part of a major infrastructure upgrade that is still several weeks away from being deployed. Will keep this thread updated once those changes are live.