Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-11842

Check For Updates" does not work under the authentication proxy

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Highest
    • None
    • 3.1.0-beta-2973
    • Bitbucket
    • Severity 1 - Critical

    Description

      In my company, we must access Web sites on the Internet via authentication proxy server which adopts BASIC authentication.
      When calling "git clone" via HTTPS from GitHub, we experience no problem and proxy authentication works normally, however, in case if we click on "Check For Updates", we encounter below error messages saying proxy authentication is required. As a result, we are unable to update our Source Tree.

      ERROR [2019-04-10 11:21:20,371] [1] [Sourcetree.Installer.Squirrel.Utils.UpdateHelper] [Log] - Couldn't read staging user ID
      ERROR [2019-04-10 11:21:20,376] [1] [Sourcetree.Installer.Squirrel.Utils.UpdateHelper] [Log] - Couldn't read staging user ID
      ERROR [2019-04-10 11:21:24,662] [1] [Sourcetree.Installer.Squirrel.Utils.UpdateHelper] [Log] - Unable to check for Updates.
      System.Net.WebException: The remote server returned an error: (407) Proxy authentication required
      at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
      at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
      at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)
      — 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 Squirrel.Utility.<LogIfThrows>d__43`1.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 Squirrel.FileDownloader.<DownloadUrl>d__3.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 Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>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 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__16.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__17.MoveNext()

      Attachments

        1. 3313.pdf
          275 kB
        2. 700-751.pdf
          276 kB
        3. 700-901.pdf
          275 kB
        4. 701-100.pdf
          275 kB
        5. 71200X.pdf
          275 kB
        6. 712-50.pdf
          275 kB
        7. 7130X.pdf
          275 kB
        8. 7141X.pdf
          275 kB
        9. 72200X.pdf
          275 kB
        10. 7230X.pdf
          275 kB
        11. 7241X.pdf
          275 kB
        12. 7392X.pdf
          275 kB
        13. 7492X.pdf
          275 kB
        14. 7495X.pdf
          275 kB
        15. 7750X.pdf
          275 kB
        16. 7765X.pdf
          275 kB
        17. 78200X.pdf
          276 kB
        18. 8004.pdf
          275 kB
        19. 810-440.pdf
          276 kB
        20. 820-445.pdf
          275 kB
        21. ACE.pdf
          276 kB
        22. ACE-A1.2.pdf
          275 kB
        23. ACE-P-ALE1.04.pdf
          275 kB
        24. ACMP_6.4.pdf
          275 kB
        25. AD01.pdf
          275 kB
        26. AD0-300.pdf
          275 kB
        27. ADM-201.pdf
          275 kB
        28. ADM-211.pdf
          275 kB
        29. AIE02.pdf
          275 kB
        30. AND-401.pdf
          275 kB
        31. AND-402.pdf
          275 kB
        32. AND-801.pdf
          275 kB
        33. AND-802.pdf
          275 kB
        34. AND-803.pdf
          276 kB
        35. ANS-C00.pdf
          275 kB
        36. API-571.pdf
          275 kB
        37. API-580.pdf
          275 kB
        38. ASD01.pdf
          275 kB
        39. ASF.pdf
          275 kB
        40. ASIS-CPP.pdf
          275 kB
        41. ASM.pdf
          275 kB
        42. ATA.pdf
          275 kB
        43. ATA02.pdf
          275 kB
        44. ATTA.pdf
          275 kB
        45. AWS-Certified-Advanced-Networking-Specialty.pdf
          276 kB
        46. AWS-Certified-Big-Data-Specialty.pdf
          276 kB
        47. AWS-Certified-Cloud-Practitioner.pdf
          277 kB
        48. AWS-Certified-Developer-Associate.pdf
          276 kB
        49. AWS-Certified-DevOps-Engineer-Professional.pdf
          276 kB
        50. AWS-Certified-Solutions-Architect-Professional.pdf
          276 kB

        Activity

          People

            Unassigned Unassigned
            da078e338bc8 Danny will
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 120h
                120h
                Remaining:
                Remaining Estimate - 120h
                120h
                Logged:
                Time Spent - Not Specified
                Not Specified