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

SourceTree: Bitbucket GIT SSH connection refused for pulling and pushing Edited

Hi Team,

We are currently experiencing a problem that started yesterday sometime, where we are unable to push or pull any of our bitbucket git repositories via SSH in sourcetree we keep receiving the following error:

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin
FATAL ERROR: Network error: Connection refused
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

 We have only ever connected via SSH and have never experienced a problem until yesterday. If we change over to HTTPs we are able to pull the repositories without any issues. Further this issue is not consistent there are times when everything works and we are able to push and pull as expected and other times where we receive the error constantly. We have found that if we restart sourcetree or putty agent we are able to push and pull however after sometime we start receiving the above error again. Please can you assist in helping see why we are getting this issue all of a sudden. 

 

Kind regards,

Taryn

1 answer

0 votes
Mike Corsaro Atlassian Team Aug 03, 2018

Hello! I'll need a bit more information:

  • OS
  • Version of Sourcetree
  • Version of Git

In the meantime, try removing your SSH key from Bitbucket, and try adding a new one. Make sure your SSH key is loaded into Putty.

Hi Mike,

Sorry for the late reply as requested please see the below information:

 

  • OS: Windows 10 Pro2.
  • SourceTree Version: 2.6.93.
  • Git Version: 2.18.0.windows.1

However this issue is affecting all our developers and we are on a mix of Windows 8.1 and Windows 10.

I also tried you suggestion of adding as new SSH Key however I am still experiencing the above mentioned issue.

Hi Mike,

Please note we have since resolved this issue. It was discovered that the issue was due to an IP randomly being blocked by our firewall at various times. 

Kind regard,

Taryn

Suggest an answer

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

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,927 views 0 12
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