Sourcetree cannot get through registration
Asked by Ethel Benavidez:

I have the same problem as this post   

[Souretree registration problem ...](https://community.atlassian.com/t5/Sourcetree-questions/Souretree-registration-problem/qaq-p/982312 "Souretree registration problem ...")

Using windows server 2012

Updated chrome

and a fresh install of sourcetree stuck on the Registration with browser authentication success but next button disabled.

and I am getting this error message from sourcetree.log

Thanks for help.

> ERROR \[2019-03-23 06:19:28,966\] \[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()\<---
>
> ERROR \[2019-03-23 06:19:42,689\] \[1\] \[SourceTree.Exceptions.RemoteHostException\] \[Log\] - Unable to get secret


Answers:
author: minnsey
body: Hi  

If you already have a Bitbucket account could you try using Git, and the Git Credential Manager for Windows that bundles with it, to try and clone a private repo?  

This should prompt you for credentials, does this then work?  

From the error it looks like something is closing the connection, I wonder if the SSL/TLS configuration is failing, if that is the case then I might expect a clone of a private repo to fail too.