Skip to content

broken auth on bitmask.net

Authentication is broken atm in bitmask.net

Client fails with InvalidAuthTokenError with freshly created accounts.

2014-02-27 17:51:32,082 - DEBUG    - L#1245 : leap.bitmask.gui.mainwindow:_retry_soledad_connection() - Retrying soledad connection.
2014-02-27 17:51:32,084 - DEBUG    - L#189  : leap.bitmask.services.soledad.soledadbootstrapper:should_retry_initialization() - current retries: 10, max retries: 10
2014-02-27 17:51:32,086 - WARNING  - L#1253 : leap.bitmask.gui.mainwindow:_retry_soledad_connection() - Max number of soledad initialization retries reached.
2014-02-27 17:51:32,088 - DEBUG    - L#53   : leap:write() - 2014-02-27 17:51:32-0400 [-] Unhandled Error
2014-02-27 17:51:32,091 - DEBUG    - L#53   : leap:write() -    Traceback (most recent call last):
2014-02-27 17:51:32,099 - DEBUG    - L#53   : leap:write() -      File "/usr/lib/python2.7/threading.py", line 783, in __bootstrap
2014-02-27 17:51:32,102 - DEBUG    - L#53   : leap:write() -        self.__bootstrap_inner()
2014-02-27 17:51:32,110 - DEBUG    - L#53   : leap:write() -      File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
2014-02-27 17:51:32,113 - DEBUG    - L#53   : leap:write() -        self.run()
2014-02-27 17:51:32,114 - DEBUG    - L#53   : leap:write() -      File "/usr/lib/python2.7/threading.py", line 763, in run
2014-02-27 17:51:32,116 - DEBUG    - L#53   : leap:write() -        self.__target(*self.__args, **self.__kwargs)
2014-02-27 17:51:32,119 - DEBUG    - L#53   : leap:write() -    ---  ---
2014-02-27 17:51:32,127 - DEBUG    - L#53   : leap:write() -      File "/home/kali/Virtualenvs/leap-bitmask/lib/python2.7/site-packages/twisted/python/threadpool.py", line 191, in _worker
2014-02-27 17:51:32,132 - DEBUG    - L#53   : leap:write() -        result = context.call(ctx, function, *args, **kwargs)
2014-02-27 17:51:32,134 - DEBUG    - L#53   : leap:write() -      File "/home/kali/Virtualenvs/leap-bitmask/lib/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext
2014-02-27 17:51:32,141 - DEBUG    - L#53   : leap:write() -        return self.currentContext().callWithContext(ctx, func, *args, **kw)
2014-02-27 17:51:32,147 - DEBUG    - L#53   : leap:write() -      File "/home/kali/Virtualenvs/leap-bitmask/lib/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext
2014-02-27 17:51:32,154 - DEBUG    - L#53   : leap:write() -        return func(*args,**kw)
2014-02-27 17:51:32,157 - DEBUG    - L#53   : leap:write() -      File "/home/kali/leap/leap_client/src/leap/bitmask/services/soledad/soledadbootstrapper.py", line 475, in _download_config
2014-02-27 17:51:32,161 - DEBUG    - L#53   : leap:write() -        self.load_and_sync_soledad(uuid)
2014-02-27 17:51:32,163 - DEBUG    - L#53   : leap:write() -      File "/home/kali/leap/leap_client/src/leap/bitmask/services/soledad/soledadbootstrapper.py", line 280, in load_and_sync_soledad
2014-02-27 17:51:32,169 - DEBUG    - L#53   : leap:write() -        server_url, cert_file, token)
2014-02-27 17:51:32,177 - DEBUG    - L#53   : leap:write() -      File "/home/kali/leap/leap_client/src/leap/bitmask/services/soledad/soledadbootstrapper.py", line 394, in _try_soledad_init
2014-02-27 17:51:32,183 - DEBUG    - L#53   : leap:write() -        auth_token=auth_token)
2014-02-27 17:51:32,186 - DEBUG    - L#53   : leap:write() -      File "/home/kali/leap/soledad/client/src/leap/soledad/client/__init__.py", line 301, in __init__
2014-02-27 17:51:32,194 - DEBUG    - L#53   : leap:write() -        self._bootstrap()  # might raise BootstrapSequenceError()
2014-02-27 17:51:32,199 - DEBUG    - L#53   : leap:write() -      File "/home/kali/leap/soledad/client/src/leap/soledad/client/__init__.py", line 411, in _bootstrap
2014-02-27 17:51:32,207 - DEBUG    - L#53   : leap:write() -        token, timeout = self._shared_db.lock()
2014-02-27 17:51:32,216 - DEBUG    - L#53   : leap:write() -      File "/home/kali/leap/soledad/client/src/leap/soledad/client/__init__.py", line 712, in _shared_db
2014-02-27 17:51:32,218 - DEBUG    - L#53   : leap:write() -        creds=self._creds)
2014-02-27 17:51:32,219 - DEBUG    - L#53   : leap:write() -      File "/home/kali/leap/soledad/client/src/leap/soledad/client/shared_db.py", line 113, in open_database
2014-02-27 17:51:32,235 - DEBUG    - L#53   : leap:write() -        db.open(create)
2014-02-27 17:51:32,238 - DEBUG    - L#53   : leap:write() -      File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/u1db/remote/http_database.py", line 67, in open
2014-02-27 17:51:32,240 - DEBUG    - L#53   : leap:write() -        self._check()
2014-02-27 17:51:32,241 - DEBUG    - L#53   : leap:write() -      File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/u1db/remote/http_database.py", line 70, in _check
2014-02-27 17:51:32,247 - DEBUG    - L#53   : leap:write() -        return self._request_json('GET', [])[0]
2014-02-27 17:51:32,250 - DEBUG    - L#53   : leap:write() -      File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/u1db/remote/http_client.py", line 221, in _request_json
2014-02-27 17:51:32,258 - DEBUG    - L#53   : leap:write() -        content_type)
2014-02-27 17:51:32,264 - DEBUG    - L#53   : leap:write() -      File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/u1db/remote/http_client.py", line 213, in _request
2014-02-27 17:51:32,267 - DEBUG    - L#53   : leap:write() -        return self._response()
2014-02-27 17:51:32,275 - DEBUG    - L#53   : leap:write() -      File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/u1db/remote/http_client.py", line 160, in _response
2014-02-27 17:51:32,279 - DEBUG    - L#53   : leap:write() -        self._error(respdic)
2014-02-27 17:51:32,284 - DEBUG    - L#53   : leap:write() -      File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/u1db/remote/http_client.py", line 145, in _error
2014-02-27 17:51:32,288 - DEBUG    - L#53   : leap:write() -        raise exc_cls(message)
2014-02-27 17:51:32,289 - DEBUG    - L#53   : leap:write() -    leap.soledad.common.errors.InvalidAuthTokenError:

(from redmine: created on 2014-02-27, closed on 2014-03-03, relates #5239 (closed), relates #6487)