I was struggling few days to resolve issue with pushing a new repository to my local (on-premise) Bitbucket Server implementation. I was trying to add an existing code to a new Bitbucket repository by following:
cd existing-project
git init
git add --all
git commit -m "Initial Commit"
git remote add origin ssh://git@bitbucket.mydomain.com:7999/phscs/temp.git
git push -u origin master
But whenever I tried to actually push (the last line), I was getting an ugly error:
packet_write_wait: Connection to 172.16.1.1 port 7999: Broken pipe
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
I was also trying to push over HTTPS, but with no luck. With HTTPS I was getting some RPC call related error.
Very strange facts:
Finally, I've solved it. The answer is below.
Update: I'm not able to post the answer here, probably because the question is for some reason marked as "spam" (????)
So you won't be able to see the answer, thanks to Atlassian. Ridiculous!
Thank you very much, it worked for me :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it worked!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've searched for an answer to this and read literally every single page on the web.
This is the answer that worked for me.
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.
Hi Aleksandar
Are you able to try and post the answer again please?
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aleksandar! This question is not showing as Spam to me, maybe our filter marked it as Spam by accident, but now it's been cleared (it happens sometimes!).
Would you mind sharing your solution with the rest of our Community, so hopefully it will help someone else?
Kind regards!
Ana
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.