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

Havig problems cloning

Silver Ferrer Martinez
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 30, 2024

Hello, I have this problem, I have tried many options found in Internet but nothing works, can anyone help me.
Thank you

 

<screenshot_removed_for_privacy>

Error: fatal: unable to access 'https://bitbucket.org/{workspace-id}/{repo}.git': Could not resolve host: bitbucket.org 

2 answers

1 vote
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 2, 2024

Hi and welcome to the community!

The error indicates a DNS issue; your DNS cannot translate the domain name bitbucket.org to an IP.

This may be caused by an incorrect value for http.proxy in your Git config, so I suggest checking:

  • The .git/config file in the repo
  • The ~/.gitconfig or ~/.config/git/config file
  • The system-level gitconfig on your computer

to see if there is such an option configured, and in case it has an incorrect value, remove it.

If this is not the case and you work from your company's network, I suggest reaching out to the network administrator.

Just a heads up, I removed the screenshot from your post to protect your privacy, as it was displaying username, workspace-id and repo name.

Kind regards,
Theodora

0 votes
Julien Dephix October 1, 2024

Hi.

Can you ping bitbucket.org? Do you have anything special in localhost that's related to BitBucket?

I would also suggest using an SSH key to access your repo so you can clone like this:

`git clone git@bitbucket.org/your_org/your_project`

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events