Unable to complete the registration process
Asked by deepakoshi:

Hi

I am trying to install Sourcetree and am having problems with the registration step, I select Bitbucket and then use my gmail account to sign in, the authentication is performed then it gets redirected to

http://localhost:34106/?state=authenticated\&code=5uvS5gYe9R7hSAuvT5

At this point I get a page can't be displayed message and am unable to proceed further

Am adding the log message below

ERROR \[2019-12-30 15:16:41,656\] \[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 request was aborted: Could not create SSL/TLS secure channel.  
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.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)  
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.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)  
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)  
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)  
at Refit.RequestBuilderImplementation\`1.\<\>c__DisplayClass13_0\`1.\<\<BuildCancellableTaskFuncForMethod\>b__0\>d.MoveNext()  
--- End of inner exception stack trace ---  
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)  
at System.Threading.Tasks.Task\`1.GetResultCore(Boolean waitCompletionNotification)  
at System.Threading.Tasks.Task\`1.get_Result()  
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 request was aborted: Could not create SSL/TLS secure channel.  
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.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)  
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.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)  
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)  
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)  
at Refit.RequestBuilderImplementation\`1.\<\>c__DisplayClass13_0\`1.\<\<BuildCancellableTaskFuncForMethod\>b__0\>d.MoveNext()\<---

ERROR \[2019-12-30 15:17:30,076\] \[35\] \[Sourcetree.Installer.Squirrel.Utils.UpdateHelper\] \[Log\] - Failed to check for updates  
System.Exception: Failed to check for updates ---\> System.MissingMethodException: Method not found: 'Void Splat.IFullLogger.Info(System.String, !!0)'.  
at Squirrel.UpdateManager.CheckForUpdateImpl.\<CheckForUpdate\>d__2.MoveNext()  
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder\`1.Start\[TStateMachine\](TStateMachine\& stateMachine)  
at Squirrel.UpdateManager.CheckForUpdateImpl.CheckForUpdate(String localReleaseFile, String updateUrlOrPath, Boolean ignoreDeltaUpdates, Action\`1 progress, IFileDownloader urlDownloader)  
at Squirrel.UpdateManager.\<CheckForUpdate\>d__7.MoveNext()  
--- End of stack trace from previous location where exception was thrown ---  
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)  
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)  
at Sourcetree.Installer.Squirrel.Utils.UpdateHelper.\<CheckForUpdate\>d__19.MoveNext()  
--- End of inner exception stack trace ---  
at Sourcetree.Installer.Squirrel.Utils.UpdateHelper.\<CheckForUpdate\>d__19.MoveNext()  
--- End of stack trace from previous location where exception was thrown ---  
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)  
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)  
at Sourcetree.Installer.Squirrel.Utils.UpdateHelper.\<HasAvailableUpdates\>d__20.MoveNext()  
ERROR \[2019-12-30 15:20:09,111\] \[1\] \[SourceTree.Exceptions.RemoteHostException\] \[Log\] - Failure awating incoming request.  
ERROR \[2019-12-30 15:20:09,940\] \[1\] \[SourceTree.Exceptions.RemoteHostException\] \[Log\] - Unable to receive callback from OAuth service provider  
ERROR \[2019-12-30 15:20:09,941\] \[1\] \[SourceTree.Exceptions.RemoteHostException\] \[Log\] - Unable to get user secret  
ERROR \[2019-12-30 15:20:09,942\] \[1\] \[SourceTree.Exceptions.RemoteHostException\] \[Log\] - Unable to get secret

Thanks

Deepa


Answers:
author: Tan_Lee_Hong
body: Hi,  
Same error for me on Sourcetree 3.3.8

login successful but it just stop at the Registration step:

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 request was aborted: Could not create SSL/TLS secure channel.

comments: author: deepakoshi
body: Hi

I tried one of the older versions (3.1.2). and that installed successfully... From that, I then updated to 3.3.8...

It's worth giving that a shot...

Regards


author: Manju
body: Hi,

Have you tried uninstalling the version, installing the latest version from <https://sourcetreeapp.com>? If not, please give it a try and do get back here if it doesn't work.

Thanks!

comments: author: deepakoshi
body: Hi,

I updated to the latest version from the app itself without uninstalling the older version..

Thanks