Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket port 22 connection timed out

Hello I am trying to connect to `ssh -Tvvv git@bitbucket.org` 

But I am getting:
OpenSSH_8.2p1 Ubuntu-4, OpenSSL 1.1.1f 31 Mar 2020
debug1: Reading configuration data /home/romzah/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: resolving "bitbucket.org" port 22
debug2: ssh_connect_direct
debug1: Connecting to bitbucket.org [2406:da00:ff00::34cc:ea4a] port 22.


Can somebody help me? I went through all of the similar problems over the internet and here in forum but nothing helped me so far.

1 answer

@Roman_Zahradník 

 

Hi Roman

welcome to the Atlassian community.

How are you connected to the internet is there somewhere a proxy inbetween.

Any chance that firewall rules are in place that block access to bitbucket.org

 

Cheers

Kurt

I am not aware of that, the weird thing is that it was working last week ago without any problems. For example I was checking GitHub and the command work seamlessly.

So I was experimenting a little bit more and if I leave it hanging for 30 minutes to 1 hour it download the content eventually but still I would like to find a solution however I am not sure if the problem is on your side or with my ISP or on my machine 

The script first checks a list of IPv6 addresses and all of them time out but after it tries IPv4 it works here is the output of script that run successfully:


OpenSSH_8.2p1 Ubuntu-4, OpenSSL 1.1.1f  31 Mar 2020
debug1: Reading configuration data /home/romzah/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: resolving "bitbucket.org" port 22
debug2: ssh_connect_direct
debug1: Connecting to bitbucket.org [2406:da00:ff00::22c3:9b0a] port 22.
debug1: connect to address 2406:da00:ff00::22c3:9b0a port 22: Connection timed out
debug1: Connecting to bitbucket.org [2406:da00:ff00::22e9:9f55] port 22.
debug1: connect to address 2406:da00:ff00::22e9:9f55 port 22: Connection timed out
debug1: Connecting to bitbucket.org [2406:da00:ff00::22cd:e0db] port 22.
debug1: connect to address 2406:da00:ff00::22cd:e0db port 22: Connection timed out
debug1: Connecting to bitbucket.org [2406:da00:ff00::6b17:d1f5] port 22.
debug1: connect to address 2406:da00:ff00::6b17:d1f5 port 22: Connection timed out
debug1: Connecting to bitbucket.org [2406:da00:ff00::34cc:ea4a] port 22.
debug1: connect to address 2406:da00:ff00::34cc:ea4a port 22: Connection timed out
debug1: Connecting to bitbucket.org [2406:da00:ff00::3403:4be7] port 22.
debug1: connect to address 2406:da00:ff00::3403:4be7 port 22: Connection timed out
debug1: Connecting to bitbucket.org [2406:da00:ff00::22c2:513] port 22.
debug1: connect to address 2406:da00:ff00::22c2:513 port 22: Connection timed out
debug1: Connecting to bitbucket.org [2406:da00:ff00::22c0:3470] port 22.
debug1: connect to address 2406:da00:ff00::22c0:3470 port 22: Connection timed out
debug1: Connecting to bitbucket.org [18.205.93.2] port 22.
debug1: Connection established.

Ok I have added line to etc hosts file according to the aforementioned output: 


18.205.93.2 bitbucket.org

However can you still please explain why would not IPv6 addresses not work?

Like # people like this

Thank you @Roman_Zahradník  I experienced the same issues.

All of sudden ssh to bitbucket stopped working. Adding ip address to `/etc/hosts` helped. I am on ubuntu 18.04 and not using any proxy/vpn.

I would be greatful if we could hear some explanation from atlassian, so we can prevent it in the future.

Thank you

Same issue here :

script for fix on windows (needs to run in cmd with admin-rights)

 

echo adding bitbucket to hosts file in Windows 10
cd C:\Windows\System32\drivers\etc\
echo 18.205.93.2 bitbucket.org>> hosts

Same error here, I am using Arch Linux.
I would like to know why this happens? until 09/05/2020 it worked perfectly.

has my provider added some type of block?

 

Adding 18.205.93.2 bitbucket.org on /etc/hosts fix this error.

I do this workaround, and it works. But, I am not behind a firewall blocking IPV6 traffic.
But, is working.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

499 views 6 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you