Launch
closed
nobody
2014-03-12
2013-04-16
Nuno Martins
No
0 up votes | 0 down votes | 0%
8 comments

Svn project: checkout is done successfully, but when commiting code it gives the following message. I believe my password is correct.

Error message
svn: E175002: Commit failed (details follow):
svn: E175002: Server sent unexpected return value (401 Authorization
Required) in response to POST request for
'/svn/p/othermessageapi/code/!svn/me'
svn: E175002: Your commit message was left in a temporary file:
svn: E175002: '/tmp/othermessageapi-code/svn-commit.tmp'

Discussion

  • Rui Ferreira
    Rui Ferreira
    2013-04-16

    When/Where did this happen? SVN commit was working on Friday, and seems to be working right now.

     
    • Nuno Martins
      Nuno Martins
      2013-04-16

      Sorry I didn't point which repository I was talking about.

      The repository in question is the svn for "othermessageapi" project.

      Before I post the issue I tried and it have me also a 401 Authorization Required after I entered my password.

       
  • Rui Ferreira
    Rui Ferreira
    2013-04-16

    Weird, I just commited to that repo, and the user nunogmartins has permisions to write on that repo as well.

    Even weirder is that the access logs do no not show any authentication attempt against that repository (other than my own) since 11 a.m.

     
    • Nuno Martins
      Nuno Martins
      2013-04-16

      I just tried right now and it gives me

      Authentication realm: http://opensourceprojects.eu:80 SVN Access
      Password for 'nuno':
      svn: E175002: Commit failed (details follow):
      svn: E175002: Server sent unexpected return value (401 Authorization Required) in response to POST request for '/svn/p/othermessageapi/code/!svn/me'
      svn: E175002: Your commit message was left in a temporary file:
      svn: E175002: '/tmp/othermessageapi-code/svn-commit.4.tmp'

      The password I entered is correct, because I tried it in other browser and it was successfully accepted.
      In the svn it is not.
      Could you verify if this svn access is described in any log ?

      If you need that I run any other command just let me know.

       
  • Rui Ferreira
    Rui Ferreira
    2013-04-16

    Can you provide some details, what are you using to clone, svn (console) or some IDE?

     
  • Rui Ferreira
    Rui Ferreira
    2013-04-16

    I just saw a request going by, you svn client is trying to authenticate with username nuno shouldn't it be nunogmartins?

     
  • Nuno Martins
    Nuno Martins
    2013-04-16

    Yes you are right. That was the problem. I am using cli svn.

    When I checked out the repository with --username=nunogmartins

    I thought the --username was added to some svn structure so that I don't need to type it everytime I do a commit.

    I think you can mark it as closed.

    Thank you very much for your patience in this issue :)

     
  • Rui Ferreira
    Rui Ferreira
    2013-04-16

    • status: open --> closed