Hi there,
I created a python UI with the dash but recently sometimes run into the following error message:
80.82.65.74 - - [08/Jun/2020 00:18:52] code 400, message Bad request syntax ('\x05\x01\x00')
----------------------------------------
Exception happened during processing of request from ('80.82.65.74', 36310)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 596, in process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.7/SocketServer.py", line 652, in __init__
self.handle()
File "/home/ubuntu/.local/lib/python2.7/site-packages/werkzeug/serving.py", line 345, in handle
BaseHTTPRequestHandler.handle(self)
File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "/home/ubuntu/.local/lib/python2.7/site-packages/werkzeug/serving.py", line 378, in handle_one_request
elif self.parse_request():
File "/usr/lib/python2.7/BaseHTTPServer.py", line 286, in parse_request
self.send_error(400, "Bad request syntax (%r)" % requestline)
File "/usr/lib/python2.7/BaseHTTPServer.py", line 384, in send_error
self.wfile.write(content)
IOError: [Errno 32] Broken pipe
Moreover, the bad request always comes from the same above IP.
I am using dash 1.8.0.
Thanks for any insight into this issue.