Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Problem when cloning bitbucket repo: HTTP/2 stream 0 was not closed cleanly

Dear friends,

I have problem cloning any file to my computer... It just tells me:

Error: fatal: unable to access 'repo': HTTP/2 stream 0 was not closed cleanly: STREAM_CLOSED (err 5)

Btw, I am new to Bitbucket and Git and I do not know any technical thing about them.
Your help is so much appreciated.

2 answers

Hi Saeid and all fellow developers from Iran who come down with this issue, If you are using SourceTree git GUI, you are able to add your proxy setting by checking it in this directory:

Tools>Options then network tab and check this option:

- Add proxy server configuration to git/mercurial.

And if you are on Linux, you need to set a DNS server for such purpose.

Best wishes


thank you for your information. would you please tell me how can I fix this issue on Linux?

1 vote
Ana Retamal Atlassian Team Feb 06, 2019

Hi Saeid, welcome to the Community

Error messages like "empty reply", "stream not closed cleanly", and "connection closed by remote host" suggest that something in the network between your system and Bitbucket is preventing traffic. Are you using a proxy of some kind?

Best regards,


Hello Ana, thank you for your response!

Yes, since I live in Iran and cannot access Bitbucket with normal internet connection, I need to use VPN to do so. Can you please help me on how to connect to Bitbucket without problem?

Best Regards,


Ana Retamal Atlassian Team Feb 06, 2019

Hi Saeid, in this case you'll need to contact your VPN provider to know what is causing this connection issue. Since they're causing the problem, they should be able to help you establish a good connection or provide a workaround.

Hope that helps!


Thank you Ana.

But I think the VPN providers would not take any responsibilities.

Thank you anyway, I would find a way myself.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events