-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
Description
Randomly happens on login.
Seems like an issue with intermediate file transfer container.
A minute is a lot in this case, lowering timeout to 10secs for now
ERROR:root:JsonRpcError(-32603): UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60) -- Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pyjsonrpc/rpclib.py", line 114, in call
result = rpc_function(*positional_params, **named_params)
File "dockerbridge.py", line 155, in files_writesecret
filemanager.tocontainer(container, data, '/etc/rosauth/secret')
File "/opt/dockerbridge/filemanager.py", line 71, in tocontainer
self.__writefile(container, source, targetfile, user)
File "/opt/dockerbridge/filemanager.py", line 210, in __writefile
self.__stop_and_remove(cont, True)
File "/opt/dockerbridge/filemanager.py", line 248, in __stop_and_remove
self.docker.wait(container, timeout=60)
File "/usr/local/lib/python2.7/dist-packages/docker/utils/decorators.py", line 21, in wrapped
return f(self, resource_id, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/docker/api/container.py", line 455, in wait
res = self._post(url, timeout=timeout)
File "/usr/local/lib/python2.7/dist-packages/docker/utils/decorators.py", line 47, in inner
return f(self, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/docker/client.py", line 135, in _post
return self.post(url, **self._set_request_timeout(kwargs))
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 535, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 488, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 609, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 499, in send
raise ReadTimeout(e, request=request)
ReadTimeout: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)