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
4,365,892
Community Members
 
Community Events
168
Community Groups

User Unable to Connect to BitBucket Server with Sourcetree 3.1.3.3158

Edited

I have a specific user who is unable to connect to our BitBucket Server with SourceTree.  When he types in the URL and his user name and clicks the Login button, SourceTree crashes.  The following error is observed in the sourcetree.log file:

ERROR [2019-08-08 12:20:06,699] [1] [SourceTree.Analytics.Submission.Gas.GasAnalyticsSubmissionService] [Log] - Hi There!
ERROR [2019-08-08 12:20:08,374] [1] [SourceTree.UI.OnboardingManager] [Log] - Unable to submit Finished Registration Analytics
System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
--- End of inner exception stack trace ---
at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
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 System.Net.Http.HttpClient.<FinishSendAsyncUnbuffered>d__59.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__DisplayClass11_0`1.<<BuildCancellableTaskFuncForMethod>b__0>d.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at SourceTree.Mau.Submission.Gas.GasMauSubmissionService.Submit(GasEvent userActivityEvent)
at SourceTree.Mau.Submission.Gas.GasMauSubmissionService.ForceSubmission()
at SourceTree.Analytics.AnalyticsDataManager.ForceSubmission()
at SourceTree.UI.OnboardingManager.SubmitStartedRegistrationAnalytics()
---> (Inner Exception #0) System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
--- End of inner exception stack trace ---
at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
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 System.Net.Http.HttpClient.<FinishSendAsyncUnbuffered>d__59.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__DisplayClass11_0`1.<<BuildCancellableTaskFuncForMethod>b__0>d.MoveNext()<---

 

1 answer

0 votes

Hello Doc,

Thanks for reporting this issue with Sourcetree. This issue does look to be a recorded defect in the product, you may find the reported bug at SRCTREEWIN-11516.

We would be interested to know if you’re able to upgrade Sourcetree to a later version and test again. Please see if Source tree 3.2.1 is displaying the same behavior for the user: https://www.sourcetreeapp.com/download-archives

Regards,
Stephen Sifers

The zip file for 3.2.1 only seems to contain the Mac App bits, this is a Windows computer that I need to install to.  Also, we're currently using the Enterprise installer, are there plans to publish an updated MSI for this version?

Like Stephen Sifers likes this

Hello Doc,

On the download archive page, if you scroll down you may see EXE installs for Windows and MSI installers for the enterprise.

Regards,
Stephen Sifers

Version 3.2.1 is not available for either of those groups.

Hello Doc,

Sourcetree 3.2.1 is currently a Mac App release. For Windows, it will be 3.1.3. The MSI download is https://product-downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-3.1.3.msi

Regards,
Stephen Sifers

As my ticket states, I am already on 3.1.3.  It was installed using the Enterprise Setup MSI.

Hello Doc,

You are 100%, correct and I apologize for the mix up on this. Let us review this further as you're on the latest available Windows version. Sorry for the run around on this one. Please allow me some time to get back to you on this one.

We appreciate your patience.

Regards,
Stephen Sifers

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events