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

Every once in a while, valid login information is rejected. Closing/reopening SourceTree solves this.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Low
    • None
    • 1.1.1, 1.2.1
    • General
    • None

    Description

      I've seen this only happen at BitBucket, but that might be because I use that the most.

      Steps that happen:
      1- push a commit to BitBucket
      2- provide valid user/password credentials
      3- you get an "abort: authorization failed"
      4- retry: same "abort: authorization failed"
      5- restart SourceTree: success.

      This is the log:

      hg push --new-branch default
      pushing to https://bitbucket.org/jeroenp/gexperts

      warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting)

      searching for changes

      warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting)

      warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting)

      warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting)

      warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting)

      warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting)

      warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting)

      abort: authorization failed

      warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting)

      pushing to https://bitbucket.org/jeroenp/gexperts

      searching for changes

      warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting)

      warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting)

      warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting)

      warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting)

      warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting)

      warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting)

      abort: authorization failed

      pushing to https://bitbucket.org/jeroenp/gexperts

      warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting)

      searching for changes

        • Unknown exception encountered with possibly-broken third-party extension hgattic
        • which supports versions unknown of Mercurial.
        • Please disable hgattic and try your action again.
        • If that fixes the bug please report it to the extension author.
        • Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
        • Mercurial Distributed SCM (version 2.7)
        • Extensions loaded: eol, rebase, transplant, extdiff, fetch, hgattic, mq, hgflow, sourcetree_auth

      Traceback (most recent call last):
      File "hg", line 42, in <module>
      File "mercurial\dispatch.pyo", line 28, in run
      File "mercurial\dispatch.pyo", line 69, in dispatch
      File "mercurial\dispatch.pyo", line 97, in _runcatch
      File "mercurial\dispatch.pyo", line 778, in _dispatch
      File "mercurial\dispatch.pyo", line 549, in runcommand
      File "mercurial\dispatch.pyo", line 869, in _runcommand
      File "mercurial\dispatch.pyo", line 840, in checkargs
      File "mercurial\dispatch.pyo", line 775, in <lambda>
      File "mercurial\util.pyo", line 506, in check
      File "mercurial\extensions.pyo", line 143, in wrap
      File "mercurial\util.pyo", line 506, in check
      File "hgext\mq.pyo", line 3531, in mqcommand
      File "mercurial\util.pyo", line 506, in check
      File "mercurial\commands.pyo", line 4694, in push
      File "mercurial\localrepo.pyo", line 1865, in push
      File "mercurial\wireproto.pyo", line 308, in unbundle
      File "mercurial\httppeer.pyo", line 201, in _callpush
      File "mercurial\httppeer.pyo", line 171, in _call
      File "mercurial\httppeer.pyo", line 118, in _callstream
      File "urllib2.pyo", line 406, in open
      File "urllib2.pyo", line 519, in http_response
      File "urllib2.pyo", line 438, in error
      File "urllib2.pyo", line 378, in _call_chain
      File "urllib2.pyo", line 890, in http_error_401
      File "mercurial\url.pyo", line 431, in http_error_auth_reqed
      File "C:\Program Files (x86)\Atlassian\SourceTree\extras\hgext\sourcetree_hg_auth.py", line 218, in basic_http_error_auth_reqed
      return basic_http_error_auth_reqed.orig(self, authreq, host, req, headers)
      File "urllib2.pyo", line 865, in http_error_auth_reqed
      File "urllib2.pyo", line 871, in retry_http_basic_auth
      File "C:\Program Files (x86)\Atlassian\SourceTree\extras\hgext\sourcetree_hg_auth.py", line 212, in find_user_password
      return self._pwd_handler.find_auth(self, realm, authuri, req)
      File "C:\Program Files (x86)\Atlassian\SourceTree\extras\hgext\sourcetree_hg_auth.py", line 170, in find_auth
      ui.status('Error calling askpass for password: ' + erroroutput)
      NameError: global name 'erroroutput' is not defined

      Completed with errors, see above.

      Attachments

        Activity

          People

            sstreeting Steve Streeting (Inactive)
            6b69b1d3016e Jeroen Pluimers
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: