soledad sync timeout
While trying to sync a soledad account (with some heavy mailbox use), I'm getting constant timeouts.
in the client:
2013-11-28 12:13:10,710 - leap.bitmask.services.soledad.soledadbootstrapper:load_and_sync_soledad:L#184 - DEBUG - local_db:/home/kali/.config/leap/soledad/116837065af069a8e31f399f6f2883dc.db 2013-11-28 12:13:10,712 - leap.bitmask.services.soledad.soledadbootstrapper:load_and_sync_soledad:L#185 - DEBUG - secrets_path:/home/kali/.config/leap/soledad/116837065af069a8e31f399f6f2883dc.secret 2013-11-28 12:13:11,600 - leap.bitmask.services.soledad.soledadbootstrapper:_try_soledad_sync:L#298 - DEBUG - trying to sync soledad.... 2013-11-28 12:15:20,292 - leap.bitmask.services.soledad.soledadbootstrapper:_try_soledad_sync:L#301 - ERROR - SSLError('The read operation timed out',) 2013-11-28 12:15:20,295 - leap.bitmask.services.soledad.soledadbootstrapper:_try_soledad_sync:L#298 - DEBUG - trying to sync soledad.... 2013-11-28 12:17:17,953 - leap.bitmask.services.soledad.soledadbootstrapper:_try_soledad_sync:L#301 - ERROR - SSLError('The read operation timed out',) 2013-11-28 12:17:17,956 - leap.bitmask.services.soledad.soledadbootstrapper:_try_soledad_sync:L#298 - DEBUG - trying to sync soledad....
in the server:
2013-11-28 14:17:18+0000 [-] 189.18.13.52 - - [28/Nov/2013:14:17:18 +0000] "GET /user-116837065af069a8e31f399f6f2883dc/sync-from/eb3b63e7ed4c414b9a79b46ef29017b8 HTTP/1.1" 200 320 "-" "-" 2013-11-28 14:19:19+0000 [-] WSGI application error Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/python/threadpool.py", line 172, in _worker result = context.call(ctx, function, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext return func(*args,**kw) File "/usr/lib/python2.7/dist-packages/twisted/web/wsgi.py", line 332, in run self.reactor.callFromThread(wsgiError, self.started, *exc_info()) --- --- File "/usr/lib/python2.7/dist-packages/twisted/web/wsgi.py", line 315, in run appIterator = self.application(self.environ, self.startResponse) File "/usr/lib/python2.7/dist-packages/leap/soledad/server/__init__.py", line 384, in application return application(environ, start_response) File "/usr/lib/python2.7/dist-packages/leap/soledad/server/auth.py", line 295, in __call__ return self._app(environ, start_response) File "/usr/lib/python2.7/dist-packages/leap/soledad/server/__init__.py", line 154, in __call__ return http_app.HTTPApp.__call__(self, environ, start_response) File "/usr/lib/python2.7/dist-packages/u1db/remote/http_app.py", line 581, in __call__ HTTPInvocationByMethodWithBody(resource, environ, self)() File "/usr/lib/python2.7/dist-packages/u1db/remote/http_app.py", line 543, in __call__ line = body_getline() File "/usr/lib/python2.7/dist-packages/u1db/remote/http_app.py", line 93, in getline chunk = self.read_chunk(self.MAXCHUNK) File "/usr/lib/python2.7/dist-packages/u1db/remote/http_app.py", line 85, in read_chunk data = self.rfile.read(min(self.remaining, atmost)) File "/usr/lib/python2.7/dist-packages/twisted/web/wsgi.py", line 94, in read return self._wrapped.read(size) exceptions.ValueError: I/O operation on closed file 2013-11-28 14:19:19+0000 [-] Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 402, in startReactor self.config, oldstdout, oldstderr, self.profiler, reactor) File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 323, in runReactorWithLogging reactor.run() File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1192, in run self.mainLoop() File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1201, in mainLoop self.runUntilCurrent() --- --- File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 797, in runUntilCurrent f(*a, **kw) File "/usr/lib/python2.7/dist-packages/twisted/web/wsgi.py", line 331, in wsgiError self.request.finish() File "/usr/lib/python2.7/dist-packages/twisted/web/server.py", line 231, in finish return http.Request.finish(self) File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 885, in finish "Request.finish called on a request after its connection was lost; " exceptions.RuntimeError: Request.finish called on a request after its connection was lost; use Request.notifyFinish to keep track of this. 2013-11-28 14:19:19+0000 [-] 189.18.13.52 - - [28/Nov/2013:14:19:19 +0000] "GET /user-116837065af069a8e31f399f6f2883dc/sync-from/eb3b63e7ed4c414b9a79b46ef29017b8 HTTP/1.1" 200 320 "-" "-"
Running: soledad 'version': '0.4.3', 'full': 'f53e92114dec527edb8ca32dbf01d80c266d0a2d'
(from redmine: created on 2013-11-28, closed on 2014-06-30, relates #4614 (closed))