Thursday, April 18, 2013

Getting a HTTP 501 When Starting a Project in Stash


I just started using "Stash" at work. I started a project and tried to push my existing git code into their repo.


c:\LeicaAutomation>git push origin master
Username for 'http://xxx:7990': nwt
Password for 'http://nwt@xxx:7990':
Counting objects: 2010, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (882/882), done.
error: RPC failed; result=22, HTTP code = 501
fWatal: The remote end hung up unexpectedly
Writing objects: 100% (2010/2010), 448.82 MiB | 86.20 MiB/s, done.
Total 2010 (delta 1441), reused 1442 (delta 1059)
fatal: The remote end hung up unexpectedly
Everything up-to-date

c:\LeicaAutomation>git config http.proxy ""

c:\LeicaAutomation>git push origin master
Username for 'http://xxx:7990': nwt
Password for 'http://nwt@xxx:7990':
Counting objects: 2010, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (882/882), done.
Writing objects: 100% (2010/2010), 448.80 MiB | 16.37 MiB/s, done.
Total 2010 (delta 1442), reused 1441 (delta 1059)
To http://xxx:7990/scm/AUTO/leicatestframework.git
 * [new branch]      master -> master

c:\LeicaAutomation>
Removing my proxy settings fixed it. Hope this helps.

No comments:

GitHub Projects