KeyError: 'target_replica_uid' when soledad left syncing for many hours
Today I woke up to these cyclic errors on my log (after client running overnight):
I suspect it might have to do with an expired session, returning a different content than expected. We might have to catch the keyerror early on.
Traceback (most recent call last): File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/Twisted-15.1 .0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 1105, in _inlineCallbacks result = result.throwExceptionIntoGenerator(g) File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/Twisted-15.1 .0-py2.7-linux-x86_64.egg/twisted/python/failure.py", line 389, in throwExceptionIntoGener ator return g.throw(self.type, self.value, self.tb) File "/home/kali/leap/soledad/client/src/leap/soledad/client/sync.py", line 73, in sync sync_target.get_sync_info(self.source._replica_uid) File "/home/kali/Virtualenvs/leap-bitmask/local/lib/python2.7/site-packages/Twisted-15.1 .0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 1107, in _inlineCallbacks result = g.send(result) File "/home/kali/leap/soledad/client/src/leap/soledad/client/http_target.py", line 156, in get_sync_info res['target_replica_uid'], KeyError: 'target_replica_uid'
(from redmine: created on 2015-06-04, closed on 2015-09-30)
- Relations:
- relates #6776 (closed)