error: The requested URL returned error: 400 while accessing https://email@example.com/scm/PR/app1.git/info/refs
I have stash(port7990) running behind apache.(port 80)
Apache is behind a hardware loadbalancer, SSL terminates at the hardware loadbalancer(ssl accelerator)
I can loginto the stash ui just find, all actions through the UI are working, just can check in, out, clone, push etc.
The 400 code (Bad Request) usually means that your git client version is trying to use the git 'dumb' HTTP protocol, which is not supported by Stash. Stash only supports the 'smart' HTTP protocol, which was introduced in git 1.6.6. Check the Stash logs; it should contain messages along the lines 'Stash received an invalid git request from host ....'.
If you're using a git client that is older than 1.6.6, please upgrade your client.
I finally found the logs for stash and noticed "git http-backend not a command"
I realized that I had compiled and installed git incorrectly. FML!
CentOS 6 comes with 1.6.6 so I chose to compile from source, didn't configure the build properly the first time.
All is well now.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot