Hi,
We are facing a problem when we are installing. When we are in Registration stage and clicking Bitbucket, we are routed to this URL
https://bitbucket.org/site/oauth2/authorize?response_type=code&client_id=HJdmKXV87DsmC9zSWB&state=authenticated&redirect_uri=http://localhost:34106/
Now after authenticating via atlassian site and gmail, we are routed back to http://localhost:34106/?state=authenticated&code=eVTfGVpH3jjzKSPMju
with status Authentication successful, pfa screenshot
Post this also the Next button of Registration window is still inactive.
Please help us in this regard as soon as possible, as are work is stalling because of this.
Thanks
Hi Madhavi, welcome to the Community!
The localhost URL is correct. SourceTree runs a temporary webserver in order to support OAuth callbacks to give the auth_token. It seems like Sourcetree has been installed, it will be installed at %localappdata%/SourceTree. Can you check it is there?
If so, I guess the issue here is the 'Next' button being disabled. I can see you're on Windows, can you confirm that Internet Explorer is updated to the latest version?
Another thing you can try is to check the Sourcetree logs and tell us what you find, they can be found at
C:\Users\<username>\AppData\Local\Atlassian\SourceTree\sourcetree.log
Let us know!
Ana
Hi I seen error in log file.ERROR [2019-04-10 15:59:22,576] [61] [SourceTree.Analytics.NPS.Service.NPSFeedbackService] [Log] - NPS: Couldn't record shown promptSystem.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()
Can you help me here. PleaseERROR [2019-04-10 15:59:22,576] [61] [SourceTree.Analytics.NPS.Service.NPSFeedbackService] [Log] - NPS: Couldn't record shown promptSystem.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()
I got the same problm, dont know how to solve it.
error log is different with yours, as below. Who have solving method ,plz help. thanks.
ERROR [2019-04-12 14:09:20,740] [1] [SourceTree.Analytics.Submission.Gas.GasAnalyticsSubmissionService] [Log] - Hi There!ERROR [2019-04-12 14:10:24,900] [5] [Sourcetree.Analytics.Emau.EMauSubmissionService] [Log] - POST MAU submission FAILEDSystem.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: リモート サーバーに接続できません。 ---> System.Net.Sockets.SocketException: 接続済みの呼び出し先が一定の時間を過ぎても正しく応答しなかったため、接続できませんでした。または接続済みのホストが応答しなかったため、確立された接続は失敗しました。 52.4.35.51:443 場所 System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult) 場所 System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) 場所 System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) --- 内部例外スタック トレースの終わり --- 場所 System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context) 場所 System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar) --- 内部例外スタック トレースの終わり --- 場所 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 場所 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 場所 System.Net.Http.HttpClient.<FinishSendAsyncUnbuffered>d__59.MoveNext()--- 直前に例外がスローされた場所からのスタック トレースの終わり ---
Hi I have the same problem today please help !
My log:
ERROR [2019-04-18 18:07:56,253] [8] [SourceTree.Analytics.NPS.Service.NPSFeedbackService] [Log] - NPS: Couldn't record shown promptSystem.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
It was a temporaty problem !!
Fetch/ Pull are working now without problem after few days.
I had this today, chrome was complaining about an TLS error. I suspect chrome changes http to https if you've ever visited that domain before with HTTPS and won't let you change it to HTTP.
My fix was to copy/paste the url into FireFox and chante it to http then it worked.
I believe you can remove the entry in chrome cache somewhere but can't remember where.
it's about your browser, change your default browser from Google Chrome to Firefox.
if still you had the same issue try using some VPN applications (ex: Hotspot shiled) .
Update : uninstall your current version of sourcetree app and download 3.1.3 version friom version history Link :
https://www.sourcetreeapp.com/download-archives
authentication will be successful after that.
Good luck.
Thanks @ali kamsari "it's about your browser, change your default browser from Google Chrome to Firefox. " this work for me!!
I'm in windows and get the issue when install this app. But when i close the installing window and run the app with admin role, the issue is gone.
Same problem here. I've setted EDGE as default browser and it works.
I am having this issue, and changing default browsers did not solve the problem. The authenticated was successful in Firefox; however, the 'NEXT' button is still disabled in installation not allowing me to continue.
same problem. Any help?
Eric,
I found that an earlier version downloads and installs successfully.
Link to that download is: https://downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-2.3.5.0.exe?_ga=2.132046607.1450006588.1578741782-950746547.1578573409 which is found in these support pages: https://community.atlassian.com/t5/Sourcetree-questions/source-tree-won-t-start/qaq-p/143526
Good luck, and I hope this helps. Not sure why ATLASSIAN is not providing any help here!
@Walter H. Mcclure thanks that worked for me.
I have an issue to update. I tried to update the new version of the sourcetree when I saw a yellow flag, but not successfully even I went back the previous version, the sourcetree won't work. Here are error messages from the sourcetree.log
ERROR [2020-01-13 09:48:29,629] [1] [SourceTree.UI.OnboardingManager] [Log] - Unable to submit Finished Registration AnalyticsSystem.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-13 09:48:50,865] [10] [Sourcetree.Installer.Squirrel.Utils.UpdateHelper] [Log] - Failed to check for updatesSystem.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()ERROR [2020-01-13 09:49:06,325] [13] [Sourcetree.Analytics.Emau.EMauSubmissionService] [Log] - POST MAU submission FAILEDSystem.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-13 09:49:06,327] [13] [Sourcetree.Analytics.Emau.EMauSubmissionService] [Log] - POST MAU submission FAILEDSystem.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()
ERROR [2020-01-13 09:49:06,604] [1] [SourceTree.UI.OnboardingManager] [Log] - Unable to submit Finished Registration AnalyticsSystem.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-13 09:49:06,606] [12] [Sourcetree.Analytics.Emau.EMauSubmissionService] [Log] - POST MAU submission FAILEDSystem.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()
ERROR [2020-01-13 09:49:06,607] [12] [Sourcetree.Analytics.Emau.EMauSubmissionService] [Log] - POST MAU submission FAILEDSystem.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()
Thanks,
I have the exact same problem, after upgrading to the latest version Sourcetree authorises itself but you are unable to move on past the Next button in the authorisation pane.
The default browser is Firefox, not Microsoft Edge
The only solution seems that as there is no fix to this year old problem is to try to downgrade to versions below 3.3.7.
Have the same problem, in WIndows 7, with Firefox, installer was started with admin rights.
Uninstall the new version and reinstall the older version. The issue should be solved.
Worked for me after several hours of forum crawling
I tried with Edge and it also worked, so Chrome was the problem.
I just changed the URL from https to http in the browser, and it worked:
https://localhost:34106/?state=authenticated&code=XXXXXX
To
http://localhost:34106/?state=authenticated&code=XXXXXX
SourceTree 2.6.10 which has its own window for registration worked for me. the variants where a browser is opened (3.1.3, 3.3.8) had the same problem: connection refused all the time with chrome, IE and FF
btw: after registration using 2.6.10 it was possible to update the to the newest version automatically
Also tried install 3.3.8 on a new fresh machine, but without success. I choose "Bitbucket" account, and after browser pops up with username/password in redirects to: http://localhost:34106/?state=.... but nothing is listening on that port?
The sourcetree.log says:
2020-03-17T11:18:50: LogHost: Initializing to normal mode2020-03-17T11:18:50: LogHost: Failed to handle Squirrel events: System.MissingMethodException: Method not found: 'Void Splat.IFullLogger.Info(System.String, !!0, !!1)'.at Squirrel.UpdateManager.ApplyReleasesImpl.CreateShortcutsForExecutable(String exeName, ShortcutLocation locations, Boolean updateOnly, String programArguments, String icon)at Squirrel.EasyModeMixin.CreateShortcutForThisExe(IUpdateManager This)at Sourcetree.Installer.Squirrel.SquirrelApplicationUpdater.<>c__DisplayClass13_0.<EnsureSquirrelExecutionStubIsCopied>b__0(Version v)at Squirrel.SquirrelAwareApp.HandleEvents(Action`1 onInitialInstall, Action`1 onAppUpdate, Action`1 onAppObsoleted, Action`1 onAppUninstall, Action onFirstRun, String[] arguments) - System.MissingMethodException: Method not found: 'Void Splat.IFullLogger.Info(System.String, !!0, !!1)'.at Squirrel.UpdateManager.ApplyReleasesImpl.CreateShortcutsForExecutable(String exeName, ShortcutLocation locations, Boolean updateOnly, String programArguments, String icon)at Squirrel.EasyModeMixin.CreateShortcutForThisExe(IUpdateManager This)at Sourcetree.Installer.Squirrel.SquirrelApplicationUpdater.<>c__DisplayClass13_0.<EnsureSquirrelExecutionStubIsCopied>b__0(Version v)at Squirrel.SquirrelAwareApp.HandleEvents(Action`1 onInitialInstall, Action`1 onAppUpdate, Action`1 onAppObsoleted, Action`1 onAppUninstall, Action onFirstRun, String[] arguments)ERROR [2020-03-17 11:18:51,622] [1] [SourceTree.Analytics.Submission.Gas.GasAnalyticsSubmissionService] [Log] - Hi There!ERROR [2020-03-17 11:18:52,239] [19] [Sourcetree.Analytics.Emau.EMauSubmissionService] [Log] - POST MAU submission FAILEDSystem.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__61.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-03-17 11:18:52,318] [1] [SourceTree.UI.OnboardingManager] [Log] - Unable to submit Finished Registration AnalyticsSystem.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-03-17 11:18:55,381] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to get secret
thanks, i got it installed this way.
I am a newbie to sourcetree and met this problem today. I had tried nearly all the ways above. At last, I successfully installed sourcetree 3.1.3 with firefox and admin rights under win10. Both 3.3.6 and 3.3.8 can't work no matter whatever I tried. I hope I can use the latest version ASAP.
Yje same for me
I was having this issue when trying to install SourceTree 3.3.8 on a laptop for the first time.
I then tried installing 2.6.10 as suggested and successfully installed. But now, I try to run the v3.3.8 but it cannot update due to the same registration issue.
How can I update to the latest version automatically?
ERROR [2020-05-22 13:59:52,802] [1] [SourceTree.Analytics.Submission.Gas.GasAnalyticsSubmissionService] [Log] - Hi There!ERROR [2020-05-22 13:59:57,951] [20] [Sourcetree.Analytics.Emau.EMauSubmissionService] [Log] - POST MAU submission FAILEDSystem.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__61.MoveNext()
ERROR [2020-05-22 14:00:01,378] [1] [SourceTree.UI.OnboardingManager] [Log] - Unable to submit Finished Registration AnalyticsSystem.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-05-22 14:00:15,626] [21] [Sourcetree.Installer.Squirrel.Utils.UpdateHelper] [Log] - Failed to check for updatesSystem.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()ERROR [2020-05-22 14:00:45,790] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to get secretERROR [2020-05-22 14:01:50,721] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to get secretERROR [2020-05-22 14:03:23,478] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to get secretERROR [2020-05-22 14:04:28,285] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to check login for user [russelsantos]ERROR [2020-05-22 14:04:28,287] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to check login for user [russelsantos]ERROR [2020-05-22 14:06:17,189] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to get secretERROR [2020-05-22 14:07:57,855] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to get secretERROR [2020-05-22 14:08:32,287] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to get secretERROR [2020-05-22 14:08:48,819] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to get secretERROR [2020-05-22 14:09:17,507] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to get secretERROR [2020-05-22 14:12:11,968] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to get secretERROR [2020-05-22 14:14:15,901] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to get secretERROR [2020-05-22 14:18:41,655] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to get secret
The same problem here.
For those having this problem, take the URL from the browser that popped up and open firefox and paste the URL in and change HTTPS to HTTP and execute and it will work. It appears that that Chrome and Edge have an issue with the SSL configuration and for whatever reason do not allow you to use HTTP and instead rewrite the localhost request to https. In firefox it leaves it alone and uses whatever you provided.
Incredible that this is still happening by Aug 2020...
Finally, what I did is:
Now is working.
This worked for me fixing similar issue trying to refresh BitBucket OAuth token. Thanks for the tip @Jim Scott !
Changed to Firefox and it fixed the problem. After over an hour of exhaustive research.
Incredible that this is still happening by Apr 2021
Incredible that this is still happening by Aug 2021...
Hi @Edward Wilson , I was facing the same issue. I followed the below tutorial and it helped. Hope it helps you as wellLink: https://www.youtube.com/watch?v=eVrsMDAvyvI&ab_channel=Britec09
Clearing the Bitbucket and Atlassian cookies from the browser that the auth flow tries to open seems to have worked for me.
December 2022
Fresh 3.4.10 install on a fresh Windows 11, and I see this behavior in Firefox and Chrome ...
Or, if you want to continue using Chrome:
It looks like you're new here. Sign in or register to get started.