Recent IPv6 Changes
We've recently enabled IPv6 for Bitbucket access, and this change may cause some users trouble to access Bitbucket.
You may see errors such as:
- Git operation shows this errors
- "error: RPC failed; curl 52 Empty reply from server"
- "Failed to connect to bitbucket.org port 443: Network is unreachable"
Running this command "ssh -v firstname.lastname@example.org" shows this error - "port 22: Operation timed out"
- Running this command "GIT_CURL_VERBOSE=1 git ls-remote https://bitbucket.org/bitbucket/do_not_delete" shows this error - "Hostname was not found in DNS cache"
In case you are behind a firewall blocking IPv6 traffic, you will need to add our IPv6 addresses to an allowlist as well:
If you are still encountering errors, then you should also be able to work around the issue by adding this...
... to your hosts file could also work as an alternative workaround which will force your machine to use our IPv4 address instead.
You may follow this guide to add it to your hosts file: