Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Unable to collect changes


We are getting the error unable to collect changes in our TeamCity builds intermittently. 

Failed to collect changes, error: List remote refs failed: com.jcraft.jsch.JSchException: Session.connect: Connection reset, VCS root:


Not sure if this is related to using one SSH key for all our VCS triggers within bitbucket cloud and if using several keys would resolve this issue. Any advice would be much appreciated. 

1 answer

0 votes

Hi Nate,

I see that you have opened a support ticket for this issue and one of our engineers is working with you on this.

I will follow the progress of the ticket, and once the investigation is finished I will post here regarding the root cause of the issue and resolution, for any other users that may come across the same issue. (Otherwise, feel free to also leave a note here yourself)

Kind regards,

is there a solution for this issue? We are experiencing the same problem.

Hi @Adam Crane,

I would suggest creating a ticket with Bitbucket Cloud support team so we can investigate your specific issue.

You can create a ticket via, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product.

Please mention in the ticket:

1. What is the exact operation in TeamCity that gives this error, is it a clone operation, another Git operation, API calls. It would be useful to have the exact command that is executed and gives an error.
2. The URL of the repo (or repos) where this issue occurs
3. What kind of authentication is used for these operations
4. The date and time (+ timezone) of such a failed recent event

Kind regards,

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,158 views 2 9
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