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

Sourcetree hangs frequently and randomly

matthewpritchard April 16, 2019

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
Atlassian Team members are employees working across the company in a wide variety of roles.
April 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!

matthewpritchard April 17, 2019

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
Stephan Geissbühler April 17, 2019

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
1 vote
Stephan Geissbühler April 16, 2019

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
Atlassian Team members are employees working across the company in a wide variety of roles.
April 16, 2019

Hi,

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

Brian Ganninger
Principal Developer, Sourcetree

matthewpritchard April 17, 2019

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

Stephan Geissbühler April 17, 2019

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
AUG Leaders

Atlassian Community Events