Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,560,386
Community Members
 
Community Events
185
Community Groups

Installation problem localhost:34106

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 screenshotatlassian sourcetree.PNG  

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

 

 

 

21 answers

Incredible that this is still happening by Aug 2020...

Finally, what I did is:

  1. Install old version 2.
  2. Configure it.
  3. Install now version 3.3.9.

Now is working.

Incredible that this is still happening by Apr 2021

Like mcvendrell likes this

Incredible that this is still happening by Aug 2021...

Like mcvendrell likes this

Hi @Edward Wilson , I was facing the same issue. I followed the below tutorial and it helped. Hope it helps you as well

Link: https://www.youtube.com/watch?v=eVrsMDAvyvI&ab_channel=Britec09

Incredible that this is still happening by March 2022

Like # people like this

Incredible indeed. 
I lost the whole day today trying to pull the latest code.
HTTPS and SSH are both not working !!!
And 2FA is not even enabled for my account or for the repository. And yet, is is popping up AND NOT WORKING. Disaster

Confirmed still happening May 2022

Like Miroslav Stefan likes this

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 mode
2020-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 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__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 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-03-17 11:18:55,381] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to get secret

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

Like Val Quintero likes this

thanks, i got it installed this way.

Like Val Quintero likes this

Hi,

 

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?

Have the same problem, in WIndows 7, with Firefox, installer was started with admin rights.

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.

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 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-13 09:48:50,865] [10] [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()
ERROR [2020-01-13 09:49:06,325] [13] [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-13 09:49:06,327] [13] [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-13 09:49:06,604] [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-13 09:49:06,606] [12] [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-13 09:49:06,607] [12] [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].

 

Thanks,

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.   

Same problem here. I've setted EDGE as default browser and it works.

Like tawani likes this

Worked for me after several hours of forum crawling

Changed to Firefox and it fixed the problem. After over an hour of exhaustive research.

Like Savan Vadalia likes this

Changing default browser to firefox seem to fix the issue for me

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 prompt
System.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 FAILED
System.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()
--- 直前に例外がスローされた場所からのスタック トレースの終わり ---

December 2022

Fresh 3.4.10 install on a fresh Windows 11, and I see this behavior in Firefox and Chrome ...

Clearing the Bitbucket and Atlassian cookies from the browser that the auth flow tries to open seems to have worked for me.

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. 

This worked for me fixing similar issue trying to refresh BitBucket OAuth token. Thanks for the tip @Jim Scott !

Like Jim Scott likes this

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

Uninstall the new version and reinstall the older version. The issue should be solved.

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.

Like Walter H. Mcclure likes this

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.

0 votes
Deleted user Nov 26, 2019

Thanks @ali kamsari  "it's about your browser, change your default browser from Google Chrome to Firefox. " this work for me!! 

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.  

Like # people like this

I tried with Edge and it also worked, so Chrome was the problem.

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 was a temporaty problem !!

 

Fetch/ Pull are working now without problem after few days.

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 prompt
System.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

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jan 21, 2019

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

Can you help me here. Please

ERROR [2019-04-10 15:59:22,576] [61] [SourceTree.Analytics.NPS.Service.NPSFeedbackService] [Log] - NPS: Couldn't record shown prompt
System.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()
Like Sanjini.Suresh likes this

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 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__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-05-22 14:00:01,378] [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-05-22 14:00:15,626] [21] [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()
ERROR [2020-05-22 14:00:45,790] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to get secret
ERROR [2020-05-22 14:01:50,721] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to get secret
ERROR [2020-05-22 14:03:23,478] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to get secret
ERROR [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 secret
ERROR [2020-05-22 14:07:57,855] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to get secret
ERROR [2020-05-22 14:08:32,287] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to get secret
ERROR [2020-05-22 14:08:48,819] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to get secret
ERROR [2020-05-22 14:09:17,507] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to get secret
ERROR [2020-05-22 14:12:11,968] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to get secret
ERROR [2020-05-22 14:14:15,901] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to get secret
ERROR [2020-05-22 14:18:41,655] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to get secret

The same problem here.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events