uncatched error: invalidauthtoken error
I left my soledad instance idle, and syncing during some time, and after a while I found these errors for each sync attempt:
Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 783, in __bootstrap self.__bootstrap_inner() File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 763, in run self.__target(*self.__args, **self.__kwargs) --- --- File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/twisted/python/threadpool.py", line 196, in _worker result = context.call(ctx, function, *args, **kwargs) File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext return func(*args,**kw) File "/home/kali/leap/soledad/client/src/leap/soledad/client/sqlcipher.py", line 669, in _sync defer_decryption=defer_decryption) File "/home/kali/leap/soledad/client/src/leap/soledad/client/sync.py", line 82, in sync defer_decryption=defer_decryption) File "/home/kali/leap/soledad/client/src/leap/soledad/client/sync.py", line 103, in _sync sync_target.get_sync_info(self.source._replica_uid) File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/u1db-13.09-py2.7.egg/u1db/remote/http_target.py", line 47, in get_sync_info res, _ = self._request_json('GET', ['sync-from', source_replica_uid]) File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/u1db-13.09-py2.7.egg/u1db/remote/http_client.py", line 217, in _request_json content_type) File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/u1db-13.09-py2.7.egg/u1db/remote/http_client.py", line 209, in _request return self._response() File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/u1db-13.09-py2.7.egg/u1db/remote/http_client.py", line 156, in _response self._error(respdic) File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/u1db-13.09-py2.7.egg/u1db/remote/http_client.py", line 142, in _error raise exc_cls(message) leap.soledad.common.errors.InvalidAuthTokenError: Result: None
maybe there was a reboot or something? I think we should catch and communicate this error somehow. I'm not sure if we need to demand user to logout/login again, or we can try to do it ourselves.
(from redmine: created on 2015-01-28, closed on 2016-03-29)
- Relations:
- relates #6776 (closed)