Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Problems cloning bitbucket repo

Paul
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 17, 2018

Hello, 

 

I tried pushing to bitbucket repo : did not work (with netbeans, using https OR ssh, on 2 different computers).

 

I tried cloning : same happened (with netbeans, using https OR ssh, on 2 different computers).

 

I add a screeenshot of error message :

 

git bitbucket.JPG

 

Let me know what's wrong. I already used without problem github in netbeans, and now i want to migrate to bitbucket.Thanks!

 

Paul 

1 answer

1 accepted

0 votes
Answer accepted
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 18, 2018

Hi Paul, welcome to the Community!

The error message says that the credentials are wrong, can you double check you're using the right ones? Also, can you try to log in to Bitbucket using the web interface and see if you have any issue? You could also try entering your Bitbucket username in Netbeans instead of your email address and see if that works.

Have you tried pushing/cloning using something different that Netbeans?

For troubleshooting purposes, you can try performing these operations from the command line. Do you get any error?

Let us know!

Ana

jredmond
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 18, 2018

I see two things in the screenshot which may contribute:

1. You're giving Netbeans an SSH URL, but a username and password. Bitbucket SSH does not work with username and password.

2. You're giving Netbeans a Mercurial repository URL, but Netbeans is expecting Git.

Paul
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 19, 2018

@jredmond @Ana Retamal Thanks so much for your valuable help, problem is solved now as it was indeed a mercurial repo and not a Git.

 

I thought there was only Git repo so I didnt see that by default i had created a mercurial repo, which created this error.

 

Now it works fine, thanks !!

Paul 

Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 19, 2018

That's great, I'm happy to hear that's working for you now @Paul :) 

If you need anything else, you know where to find us!

Have a nice day,

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events