Git-SVN Not Allowing Me to Authenticate

6,262

@DavidAlpert's advice was correct. I fixed this by simply entering my domain credentials (username, then password) 3 or 4 times in a row.

I don't know why, but it worked for me! I repeated this as an answer here since it is easy to miss in the comments.

Share:
6,262

Related videos on Youtube

Hugh Guiney
Author by

Hugh Guiney

Hi, my name’s Hugh Guiney (🗣 GUY-knee). I’m a UX Developer, which means I design and code thoughtful digital products. I’ve worked with organizations of all sizes, from startups to SMBs to household names. In my spare time I build open-source software (check out my interactive video player, RedBlue), play fighting games, and perform improv comedy. Last name is pronounced “GUY-knee”.

Updated on September 18, 2022

Comments

  • Hugh Guiney
    Hugh Guiney almost 2 years

    Git 1.7.9.1 on Arch Linux:

    git svn init -s https://app.svn.beanstalk.com/repo
    Initialized empty Git repository in /path/to/repo/.git/
    Authentication realm: <https://app.svn.beanstalk.com/repo:443> SVN    
    Password for 'localuser':
    Authentication realm: <https://app.svn.beanstalk.com/repo:443> SVN
    Username: remoteuser
    Password for 'remoteuser':
    Authentication realm: <https://app.svn.beanstalk.com/repo:443> SVN
    Username:
    

    No matter how many times I enter my details, it never accepts them. I have logged in successfully with the same credentials in a web browser. I have also tried this without the -s, and with the --no-minimize-url flags. What's going on?

    • penguin359
      penguin359 over 12 years
      Do you know if it's Basic, Digest, NTLM, or Negotiate authnetication?
    • Hugh Guiney
      Hugh Guiney over 12 years
      Pretty sure it's Basic.
    • JonnyJD
      JonnyJD over 11 years
      Did you try svn directly? Did you try accessing the server directly per http? This probably isn't related to git or even svn.
    • David Alpert
      David Alpert over 10 years
      I have the same scenario using git-svn on windows in the mingw32 shell with Git 1.8.5.5. On my Windows x64 machine I am running TortoiseSVN 1.7.5 with SVN 1.7.3 and I can connect with SVN-cached credentials through both Tortoise and SVN command line yet when I attempt to clone the same SVN url with git-svn I get the behavior described above.
    • David Alpert
      David Alpert over 10 years
      Apparently this problem went away for me after I entered my domain credentials (username, then password) 3 or 4 times in a row. Now my git-svn is working against the local svn repos just fine.