Can't git clone, tracert, or ping bitbucket repository.
Asked by jtappe:

Hi, I can't git clone using https or ssl my repo. It just says Cloning into 'myrepo'... and never returns.

I also can't tracert, or ping bitbucket.org.

My IP config :

$ ipconfig

Windows IP ConfigurationEthernet adapter tap4bd71b5f-13:

Connection-specific DNS Suffix . :  
Link-local IPv6 Address . . . . . : fe80::b8a4:718e:68be:200c%5  
IPv4 Address. . . . . . . . . . . : 104.168.198.24  
Subnet Mask . . . . . . . . . . . : 255.255.255.0  
Default Gateway . . . . . . . . . : fe80::200:5eff:fe00:205%5  
fe80::200:5eff:fe00:201%5  
fe80::200:5eff:fe00:204%5  
fe80::200:5eff:fe00:202%5  
fe80::200:5eff:fe00:203%5  
104.168.198.1

Tracing route to bitbucket.org \[104.192.141.1\]  
over a maximum of 30 hops:

1 \<1 ms \<1 ms \<1 ms 10.5.0.1  
2 1 ms \<1 ms 1 ms xe-0-0-25-2.a00.sttlwa01.us.bb.gin.ntt.net \[157.238.64.157\]  
3 1 ms \<1 ms \<1 ms ae-8.r24.sttlwa01.us.bb.gin.ntt.net \[129.250.5.117\]  
4 \<1 ms \<1 ms 4 ms ae-0.a03.sttlwa01.us.bb.gin.ntt.net \[129.250.2.99\]  
5 11 ms 14 ms 12 ms ae-0.amazon.sttlwa01.us.bb.gin.ntt.net \[129.250.193.10\]  
6 3 ms \* 3 ms 52.95.53.211  
7 \* \* \* Request timed out.  
8 \* \* \* Request timed out.  
9 \* \* \* Request timed out.  
10 \* \* \* Request timed out.  
11 \* \* \* Request timed out.  
12 \* \* \* Request timed out.  
13 \* \* \* Request timed out.  
14 \* \* \* Request timed out.  
15 \* \* \* Request timed out.


Answers:
author: Theodora Boudale
body: Hi [@jtappe](/t5/user/viewprofilepage/user-id/300341),

Is your machine running behind a corporate firewall? If so, it is possible that Bitbucket Cloud IPs may need to be whitelisted or certain ports may need to be opened in order to be able to reach Bitbucket from this network:

* <https://support.atlassian.com/bitbucket-cloud/docs/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall/>

We also have the following guide for troubleshooting network issues, which may be useful if this is indeed a problem with the network:

* <https://confluence.atlassian.com/bbkb/troubleshooting-network-issues-389778693.html>

I'd like to ask a few more questions, so we can narrow down the scope and possible cause of the issue:

**1.** Are you using a command line tool to clone or a Git GUI client?

**2.** Are you able to clone any other repo you have access to, or does the issue occur only with a specific repo?

**3.** Are you able to clone the following public repo?

```
git clone https://bitbucket.org/mirror/git.git
```

**4.** Is there another computer in this network, and if so, are you able to clone from a different computer?

**5.** Do you have access to a different network, and if so, are you able to clone when using a different network?

**6.** Could you please provide us with the output of the following command?

```
GIT_TRACE_PACKET=1 GIT_TRACE=1 GIT_CURL_VERBOSE=1 git clone <url_of_your_repo>
```

If this command gives output, **please remove the line that starts with "Authorization:" from the output, prior to sharing the output here**, as it includes credential info.

Please feel free to let me know if you have any questions.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud