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 hangs frequently and randomly Edited

Edit: I've created a bug for this issue.

Sourcetree has been working fine for months until yesterday when it started hanging. Oddly it seems to work OK when not maximised (although it has occasionally hung in windowed mode too). However, when maximised it seems to hang almost immediately. 

I have uninstalled and installed multiple times to no avail.

I am using Sourcetree version 3.1.2. I am using Windows 10 1803 and Visual Studio 2017. 

I have tried version 3.0.17 and this does not hang however the same exception as below is recorded in the log. Using 3.0.17 solves this issue for me but this seems like a bug introduced in the latest version.

Everytime a hang occurs an exception is recorded in the sourcetree.log. 

ERROR [2019-04-16 11:59:11,673] [6] [SourceTree.Analytics.NPS.Service.NPSFeedbackService] [Log] - NPS: Couldn't record shown prompt
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The remote name could not be resolved: 'sourcetree-nps-bridge.us-east-1.prod.public.atl-paas.net'
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SourceTree.Analytics.NPS.Transport.AuthHttpClientHandler.<SendAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Net.Http.HttpClient.<FinishSendAsyncBuffered>d__58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Refit.RequestBuilderImplementation.<>c__DisplayClass17_0.<<BuildVoidTaskFuncForMethod>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SourceTree.Analytics.NPS.Service.NPSFeedbackService.<RecordShownPromptAsync>d__18.MoveNext()

3 answers

1 accepted

2 votes
Answer accepted
Mike Corsaro Atlassian Team Apr 16, 2019

Hello! Is there any chance you're using a 4K monitor? If so, could you try the work-around described in this thread: https://jira.atlassian.com/browse/SRCTREEWIN-11421

 

Thanks!

Yes! I'm using dual 4k monitors at 3840x2160 scaled to 150%.

I'm pleased to report that the workaround has resolved the issue I was experiencing.

 

Many Thanks 

Matt

Like Mike Corsaro likes this

I was on 4K with 150% too. Workaround did it for me.

 

Thanks for the hard work you put into this guys!!!

Cant wait for the dark theme :)

Wish you all a happy easter!

Like Mike Corsaro likes this

I was using 3.1.2 too, and it was  constantly crashing. So much more often than previous version. Then someone mentioned the workaround, and now sourcetree is back to its old greatness :)

0 votes
bgannin Atlassian Team Apr 16, 2019

Hi,

Our apologies for the hassle. Thank you for the report, we're investigating this now.

Brian Ganninger
Principal Developer, Sourcetree

Thank you for replying. I am pleased to report that my issue has been resolved with the workaround suggested in this thread.

I was on 4K with 150% too. Workaround did it for me.

 

Thanks for the hard work you put into this guys!!!

 

Cant wait for the dark theme :)

Wish you all a happy easter!

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,962 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