Dear support team,
i upgraded my bitbucket server from 4.14.4 to 5.14.0.
Since this it fails to clone big repositories via http.
fatal: The remote end hung up unexpectedly
error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
After a bit researching i found the reason in the log files:
"git-http-backend is missing or not executable"
I tried to add the path for the libexec to the bitbucket.properties like this:
plugin.bitbucket-git.path.libexec=C:\\Program Files\\Git\\mingw64\\libexec
(I tried also serveral other formats of the path)
But the it's every time the same result:
2018-09-29 13:49:07,224 WARN [spring-startup] c.a.s.i.scm.git.DefaultGitScmConfig libexec path "C:\Program Files\Git\mingw64\libexec" is not valid and will be ignored; git-http-backend is missing or not executable
Can you explain me what i'm doing wrong?
Kind regards
Florian
Instead of using HTTP protocol to clone, I suggest you use SSH protocol. You can create a public key in git bash using below command :
ssh-keygen -t rsa
This would create an id_rsa.pub under .ssh folder in your user folder. Copy the public key and paste in under SSH keys of your bitbucket account. This way you can authenticate via ssh easily and you wouldn`t find such issues like you found in HTTP.
Hope this helps
Regards,
Rajath
Hello Rajath,
it works. Thank you!
But why doesn't the http clone work anymore? I would prefer that ssh and http work.
Kind regards
Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.