error: The requested URL returned error: 400 while accessing https://user@stashserver.mydomain/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.
Hi Ronnie,
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.