Unable to install Sourcetree
Asked by Lucia Radita:

environment Windows 7, browser Firefox or Chrome; have an Attlasian account

The message regarding successful authentication is displayed but Sourcetree is not able to read the authentication key therefore the Next button is not enabled in the installer and no action can be done other than closing

the Sourcetree.log file looks like:

//\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

ERROR \[2020-01-02 15:01:35,558\] \[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.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\`1.\<\>c__DisplayClass13_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.SubmitFinishedRegistrationAnalytics(Boolean onboardingResult)  
---\> (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.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\`1.\<\>c__DisplayClass13_0\`1.\<\<BuildCancellableTaskFuncForMethod\>b__0\>d.MoveNext()\<---

ERROR \[2020-01-02 15:01:35,558\] \[70\] \[Sourcetree.Analytics.Emau.EMauSubmissionService\] \[Log\] - POST MAU submission FAILED  
System.IO.FileLoadException: Could not load file or assembly 'TimeZoneConverter, Version=2.3.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)  
File name: 'TimeZoneConverter, Version=2.3.0.0, Culture=neutral, PublicKeyToken=null'  
at Atlassian.AnalyticsService.Client.Converters.IanaTimezoneConverter.WriteJson(JsonWriter writer, Object value, JsonSerializer serializer)  
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeConvertable(JsonWriter writer, JsonConverter converter, Object value, JsonContract contract, JsonContainerContract collectionContract, JsonProperty containerProperty)  
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)  
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)  
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType)  
at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType)  
at Newtonsoft.Json.JsonConvert.SerializeObjectInternal(Object value, Type type, JsonSerializer jsonSerializer)  
at Sourcetree.Analytics.Emau.EMauSubmissionService.\<SubmitBatch\>d__62.MoveNext()

WRN: Assembly binding logging is turned OFF.  
To enable assembly bind failure logging, set the registry value \[HKLM\\Software\\Microsoft\\Fusion!EnableLog\] (DWORD) to 1.  
Note: There is some performance penalty associated with assembly bind failure logging.  
To turn this feature off, remove the registry value \[HKLM\\Software\\Microsoft\\Fusion!EnableLog\].

ERROR \[2020-01-02 15:01:35,558\] \[70\] \[Sourcetree.Analytics.Emau.EMauSubmissionService\] \[Log\] - POST MAU submission FAILED  
System.IO.FileLoadException: Could not load file or assembly 'TimeZoneConverter, Version=2.3.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)  
File name: 'TimeZoneConverter, Version=2.3.0.0, Culture=neutral, PublicKeyToken=null'  
at Atlassian.AnalyticsService.Client.Converters.IanaTimezoneConverter.WriteJson(JsonWriter writer, Object value, JsonSerializer serializer)  
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeConvertable(JsonWriter writer, JsonConverter converter, Object value, JsonContract contract, JsonContainerContract collectionContract, JsonProperty containerProperty)  
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)  
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)  
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType)  
at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType)  
at Newtonsoft.Json.JsonConvert.SerializeObjectInternal(Object value, Type type, JsonSerializer jsonSerializer)  
at Sourcetree.Analytics.Emau.EMauSubmissionService.\<SubmitBatch\>d__62.MoveNext()

WRN: Assembly binding logging is turned OFF.  
To enable assembly bind failure logging, set the registry value \[HKLM\\Software\\Microsoft\\Fusion!EnableLog\] (DWORD) to 1.  
Note: There is some performance penalty associated with assembly bind failure logging.  
To turn this feature off, remove the registry value \[HKLM\\Software\\Microsoft\\Fusion!EnableLog\].

ERROR \[2020-01-02 15:01:35,587\] \[1\] \[SourceTree.App\] \[Log\] - Failed to start  
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.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\`1.\<\>c__DisplayClass13_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.AppRoot.OnboardIfRequired()  
at SourceTree.AppRoot.\<OnStartup\>d__24.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.App.\<OnStartup\>d__4.MoveNext()  
---\> (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.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\`1.\<\>c__DisplayClass13_0\`1.\<\<BuildCancellableTaskFuncForMethod\>b__0\>d.MoveNext()\<---

ERROR \[2020-01-02 15:01:49,117\] \[1\] \[SourceTree.Analytics.Submission.Gas.GasAnalyticsSubmissionService\] \[Log\] - Hi There!  
ERROR \[2020-01-02 15:01:49,694\] \[10\] \[Sourcetree.Analytics.Emau.EMauSubmissionService\] \[Log\] - POST MAU submission FAILED  
System.IO.FileLoadException: Could not load file or assembly 'TimeZoneConverter, Version=2.3.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)  
File name: 'TimeZoneConverter, Version=2.3.0.0, Culture=neutral, PublicKeyToken=null'  
at Atlassian.AnalyticsService.Client.Converters.IanaTimezoneConverter.WriteJson(JsonWriter writer, Object value, JsonSerializer serializer)  
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeConvertable(JsonWriter writer, JsonConverter converter, Object value, JsonContract contract, JsonContainerContract collectionContract, JsonProperty containerProperty)  
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)  
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)  
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType)  
at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType)  
at Newtonsoft.Json.JsonConvert.SerializeObjectInternal(Object value, Type type, JsonSerializer jsonSerializer)  
at Sourcetree.Analytics.Emau.EMauSubmissionService.\<SubmitBatch\>d__62.MoveNext()

WRN: Assembly binding logging is turned OFF.  
To enable assembly bind failure logging, set the registry value \[HKLM\\Software\\Microsoft\\Fusion!EnableLog\] (DWORD) to 1.  
Note: There is some performance penalty associated with assembly bind failure logging.  
To turn this feature off, remove the registry value \[HKLM\\Software\\Microsoft\\Fusion!EnableLog\].

ERROR \[2020-01-02 15:01:49,726\] \[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.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\`1.\<\>c__DisplayClass13_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 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.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\`1.\<\>c__DisplayClass13_0\`1.\<\<BuildCancellableTaskFuncForMethod\>b__0\>d.MoveNext()\<---

ERROR \[2020-01-02 15:02:06,502\] \[1\] \[SourceTree.Exceptions.RemoteHostException\] \[Log\] - Unable to get secret  
ERROR \[2020-01-02 15:02:11,444\] \[12\] \[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.ExceptionServices.ExceptionDispatchInfo.Throw()  
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.ExceptionServices.ExceptionDispatchInfo.Throw()  
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)  
at Sourcetree.Installer.Squirrel.Utils.UpdateHelper.\<HasAvailableUpdates\>d__20.MoveNext()

//\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*


Answers:
author: Vero Rivas
body: Hi [@Lucia Radita](/t5/user/viewprofilepage/user-id/3692700)

Check the version you are installing for windows, here are the links so you can check the files

<https://www.sourcetreeapp.com/download-archives>

And look this posts, maybe can help you

<https://community.atlassian.com/t5/Sourcetree-questions/Can-t-install-Sourcetree-on-Windows-7/qaq-p/1371216>

<https://community.atlassian.com/t5/Sourcetree-questions/Unable-to-install-SourceTree-on-Windows-7/qaq-p/1391181>

Cheers