can't view backups on one client
Hello dear @ziirish. Thank you very much for your work. I have an issue with listing client backups on one of my servers - i can't see list of backups in BURP UI. I have seven servers connected and this problem appeared on same server where BURP-UI installed. When i click on server - i see client list, but when i click on client (there are 3, bui and two real clients) i see error "The read operation timed out", "Sorry! There are no backups for this client." Sometimes i get http error 500. When i list backups for each client form server cli burp -a l -C "client name" - it works well, i see list of backups. It was working fo sure - i have restored dozens files for these clients, but now it is impossible.
I have reinstalled all from scratch - just copied configs for burp and burp-ui and results are the same.
I have centos 7 VM running on proxmox VE and storage for this server is hetzner soragebox mounted using cifs in local folder. Looks like after system updates something went wrong with burp ui.
bui-manage sysinfo:
Python version: 3.6.8
Burp-UI version: 0.6.6 (stable)
OS: Linux:3.10.0-1160.21.1.el7.x86_64 (posix)
Distribution: centos 7.9.2009 Core
Single mode: False
Backend version: multi
WebSocket embedded: False
WebSocket available: False
Config file: /etc/burp/burpui.cfg
Some errors from burp-ui may be helpfull:
[2021-04-04 03:58:46,331] ERROR in multi.do_command: !!! The read operation timed out !!!
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/burpui/misc/backend/multi.py", line 477, in do_command
raise e
File "/usr/local/lib/python3.6/site-packages/burpui/misc/backend/multi.py", line 464, in do_command
if not self.setup(gsock.sock, gsock, raw):
File "/usr/local/lib/python3.6/site-packages/burpui/misc/backend/multi.py", line 424, in setup
tmp = to_unicode(sock.recv(2))
File "/usr/lib64/python3.6/ssl.py", line 956, in recv
return self.read(buflen)
File "/usr/lib64/python3.6/ssl.py", line 833, in read
return self._sslobj.read(len, buffer)
File "/usr/lib64/python3.6/ssl.py", line 592, in read
v = self._sslobj.read(len)
socket.timeout: The read operation timed out
[2021-04-04 06:41:42,525] ERROR in multi.do_command: !!! The read operation timed out !!!
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/burpui/misc/backend/multi.py", line 464, in do_command
if not self.setup(gsock.sock, gsock, raw):
File "/usr/local/lib/python3.6/site-packages/burpui/misc/backend/multi.py", line 424, in setup
tmp = to_unicode(sock.recv(2))
File "/usr/lib64/python3.6/ssl.py", line 956, in recv
return self.read(buflen)
File "/usr/lib64/python3.6/ssl.py", line 833, in read
return self._sslobj.read(len, buffer)
File "/usr/lib64/python3.6/ssl.py", line 592, in read
v = self._sslobj.read(len)
socket.timeout: The read operation timed out
[2021-04-04 06:41:42,525] ERROR in multi.do_command: !!! The read operation timed out !!!
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/burpui/misc/backend/multi.py", line 477, in do_command
raise e
File "/usr/local/lib/python3.6/site-packages/burpui/misc/backend/multi.py", line 464, in do_command
if not self.setup(gsock.sock, gsock, raw):
File "/usr/local/lib/python3.6/site-packages/burpui/misc/backend/multi.py", line 424, in setup
tmp = to_unicode(sock.recv(2))
File "/usr/lib64/python3.6/ssl.py", line 956, in recv
return self.read(buflen)
File "/usr/lib64/python3.6/ssl.py", line 833, in read
return self._sslobj.read(len, buffer)
File "/usr/lib64/python3.6/ssl.py", line 592, in read
v = self._sslobj.read(len)
socket.timeout: The read operation timed out
[2021-04-04 06:41:42,526] WARNING in resource.abort: [burpui.api.client] 500: The read operation timed out
[2021-04-04 06:41:42,526] ERROR in app.log_exception: Exception on /api/client/tc/stats/tc-ts1 [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/burpui/misc/backend/multi.py", line 477, in do_command
raise e
File "/usr/local/lib/python3.6/site-packages/burpui/misc/backend/multi.py", line 464, in do_command
if not self.setup(gsock.sock, gsock, raw):
File "/usr/local/lib/python3.6/site-packages/burpui/misc/backend/multi.py", line 424, in setup
tmp = to_unicode(sock.recv(2))
File "/usr/lib64/python3.6/ssl.py", line 956, in recv
return self.read(buflen)
File "/usr/lib64/python3.6/ssl.py", line 833, in read
return self._sslobj.read(len, buffer)
File "/usr/lib64/python3.6/ssl.py", line 592, in read
v = self._sslobj.read(len)
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/burpui/api/client.py", line 985, in get
json = bui.client.get_client(name, agent=server)
File "/usr/local/lib/python3.6/site-packages/burpui/misc/backend/multi.py", line 82, in __call__
return getattr(agent, self.method)(**encoded_args)
File "/usr/local/lib/python3.6/site-packages/burpui/misc/backend/multi.py", line 66, in __call__
return json.loads(self.proxy.do_command(data))
File "/usr/local/lib/python3.6/site-packages/burpui/misc/backend/multi.py", line 495, in do_command
raise BUIserverException(str(e))
burpui.exceptions.BUIserverException: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/local/lib/python3.6/site-packages/burpui/api/__init__.py", line 74, in decorated_view
return func(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/flask_restplus/api.py", line 313, in wrapper
resp = resource(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/flask/views.py", line 84, in view
return self.dispatch_request(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/flask_restplus/resource.py", line 44, in dispatch_request
resp = meth(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/flask_caching/__init__.py", line 366, in decorated_function
rv = f(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/burpui/api/custom/namespace.py", line 31, in wrapper
resp = f(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/burpui/decorators.py", line 38, in cache_func
resp, code, headers = unpack(view(*args, **kwargs))
File "/usr/local/lib/python3.6/site-packages/burpui/api/client.py", line 987, in get
self.abort(500, str(exp))
File "/usr/local/lib/python3.6/site-packages/burpui/api/custom/resource.py", line 61, in abort
abort(code, message, **kwargs)
File "/usr/local/lib/python3.6/site-packages/flask_restplus/errors.py", line 29, in abort
flask.abort(code)
File "/usr/local/lib/python3.6/site-packages/werkzeug/exceptions.py", line 707, in abort
return _aborter(status, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/werkzeug/exceptions.py", line 687, in __call__
raise self.mapping[code](*args, **kwargs)
werkzeug.exceptions.InternalServerError: 500 Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.