I get the following error when trying to push a new repo to my bitbuket server. I have seen this error before and usually I just close Sourcetree and reopen it and the error goes away, but this time the error is happening every time.
git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags --set-upstream origin master:master
POST git-receive-pack (31653617 bytes)
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
error: RPC failed; result=22, HTTP code = 400
Pushing to https://xxxxxxxxx/xxxxx/xxxxx/xxxxxxxxxxxxxx.git
Everything up-to-date
Completed with errors, see above.
Any ideas?
This ended up being a firewall issue within my company's network. I was able to push files once they opened up the firewall for me.
Check if the workaround in this article helps: https://confluence.atlassian.com/stashkb/git-push-fails-fatal-the-remote-end-hung-up-unexpectedly-282988530.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there, I did find that article and tried increasing my http.postBuffer using the following command, and I still received the same error:
git config --global http.postBuffer 157286400
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you also check the other 2, related to proxy configuration?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the 2nd one links to this article https://confluence.atlassian.com/stashkb/git-push-fails-client-intended-to-send-too-large-chunked-body-590251250.html
which suggests setting some configuration properties, but it doesn't specify where in Bitbucket Server (or local file) to change them. do you know where those configurations are stored?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it appears that the 2nd resolution is related to NGINX server which i'm not using, the the 3rd resolution is referring to changing proxy settings. I'm not sure if that's the issue either since i can commit some of my projects to repositories, just not others.
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.