Authentication failed for Azure Git

后端 未结 18 997
攒了一身酷
攒了一身酷 2020-12-31 03:19

I\'m trying to clone my webapp in Azure.

When I run git clone https://username@appname.scm.azurewebsites.net:443/appname.git the terminal asks me for my

18条回答
  •  隐瞒了意图╮
    2020-12-31 04:09

    I had the same problem with my site and it turned out the issue is with the site url: the automatically generated remote url was: https://user@site.scm.azurewebsites.net/site.git

    On the other hand the portal showed: https://user@site.scm.azurewebsites.net:443/site.git

    After updating the remote url in git with the following command:

    git remote set-url azure
    https://@.scm.azurewebsites.net/.git
    https://@.scm.azurewebsites.net:443/.git
    

    things started working as expected.

    The morale of the story: check the deployment url as well as the password.

提交回复
热议问题