Error 32: Broken Pipe with get_transaction call
On latest develop
for HAF, hived and HafAH.
----------------------------------------
Exception happened during processing of request from ('172.18.0.5', 53850)
Traceback (most recent call last):
File "/home/hafah_user/app/hafah/serve.py", line 134, in process_request
ctx['data_length'] = self.process_response(OK_CODE, CONTENT_TYPE_JSON, _response)
File "/home/hafah_user/app/hafah/serve.py", line 110, in process_response
self.wfile.write(data)
File "/usr/local/lib/python3.8/socketserver.py", line 826, in write
self._sock.sendall(b)
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/hafah_user/app/hafah/serve.py", line 164, in do_POST
self.process_request(request, ctx)
File "/home/hafah_user/app/hafah/serve.py", line 139, in process_request
self.process_response(ERR_CODE, CONTENT_TYPE_HTML, ex)
File "/home/hafah_user/app/hafah/serve.py", line 109, in process_response
self.end_headers()
File "/usr/local/lib/python3.8/http/server.py", line 536, in end_headers
self.flush_headers()
File "/usr/local/lib/python3.8/http/server.py", line 540, in flush_headers
self.wfile.write(b"".join(self._headers_buffer))
File "/usr/local/lib/python3.8/socketserver.py", line 826, in write
self._sock.sendall(b)
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/socketserver.py", line 616, in process_request
self.finish_request(request, client_address)
File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/home/hafah_user/app/hafah/serve.py", line 98, in __init__
super().__init__(*args, **kwargs)
File "/usr/local/lib/python3.8/socketserver.py", line 747, in __init__
self.handle()
File "/usr/local/lib/python3.8/http/server.py", line 434, in handle
self.handle_one_request()
File "/usr/local/lib/python3.8/http/server.py", line 422, in handle_one_request
method()
File "/home/hafah_user/app/hafah/serve.py", line 168, in do_POST
self.process_response(ERR_CODE, CONTENT_TYPE_HTML, ex)
File "/home/hafah_user/app/hafah/serve.py", line 109, in process_response
self.end_headers()
File "/usr/local/lib/python3.8/http/server.py", line 536, in end_headers
self.flush_headers()
File "/usr/local/lib/python3.8/http/server.py", line 540, in flush_headers
self.wfile.write(b"".join(self._headers_buffer))
File "/usr/local/lib/python3.8/socketserver.py", line 826, in write
self._sock.sendall(b)
BrokenPipeError: [Errno 32] Broken pipe
----------------------------------------
2022-09-28 22:50:39,377 - AH synchronizer - ERROR - [Errno 32] Broken pipe
2022-09-28 22:50:39,378 - AH synchronizer - ERROR - [Errno 32] Broken pipe
----------------------------------------
Exception happened during processing of request from ('172.18.0.5', 47998)
Traceback (most recent call last):
File "/home/hafah_user/app/hafah/serve.py", line 134, in process_request
ctx['data_length'] = self.process_response(OK_CODE, CONTENT_TYPE_JSON, _response)
File "/home/hafah_user/app/hafah/serve.py", line 110, in process_response
self.wfile.write(data)
File "/usr/local/lib/python3.8/socketserver.py", line 826, in write
self._sock.sendall(b)
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/hafah_user/app/hafah/serve.py", line 164, in do_POST
self.process_request(request, ctx)
File "/home/hafah_user/app/hafah/serve.py", line 139, in process_request
self.process_response(ERR_CODE, CONTENT_TYPE_HTML, ex)
File "/home/hafah_user/app/hafah/serve.py", line 109, in process_response
self.end_headers()
File "/usr/local/lib/python3.8/http/server.py", line 536, in end_headers
self.flush_headers()
File "/usr/local/lib/python3.8/http/server.py", line 540, in flush_headers
self.wfile.write(b"".join(self._headers_buffer))
File "/usr/local/lib/python3.8/socketserver.py", line 826, in write
self._sock.sendall(b)
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/socketserver.py", line 616, in process_request
self.finish_request(request, client_address)
File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/home/hafah_user/app/hafah/serve.py", line 98, in __init__
super().__init__(*args, **kwargs)
File "/usr/local/lib/python3.8/socketserver.py", line 747, in __init__
self.handle()
File "/usr/local/lib/python3.8/http/server.py", line 434, in handle
self.handle_one_request()
File "/usr/local/lib/python3.8/http/server.py", line 422, in handle_one_request
method()
File "/home/hafah_user/app/hafah/serve.py", line 168, in do_POST
self.process_response(ERR_CODE, CONTENT_TYPE_HTML, ex)
File "/home/hafah_user/app/hafah/serve.py", line 109, in process_response
self.end_headers()
File "/usr/local/lib/python3.8/http/server.py", line 536, in end_headers
self.flush_headers()
File "/usr/local/lib/python3.8/http/server.py", line 540, in flush_headers
self.wfile.write(b"".join(self._headers_buffer))
File "/usr/local/lib/python3.8/socketserver.py", line 826, in write
self._sock.sendall(b)
BrokenPipeError: [Errno 32] Broken pipe
----------------------------------------
2022-09-28 23:07:47,065 - hafah.adapter - ERROR - [pid=99105] Got exception `InternalError` in query `SELECT * FROM hafah_python.get_transaction_json( '\x8321e36a8b69d267d3e58785a9d12ec33041ae31', false, true )`
2022-09-28 23:31:24,078 - AH synchronizer - ERROR - [Errno 32] Broken pipe
2022-09-28 23:31:24,079 - AH synchronizer - ERROR - [Errno 32] Broken pipe
----------------------------------------
Exception happened during processing of request from ('172.18.0.5', 55760)
Traceback (most recent call last):
File "/home/hafah_user/app/hafah/serve.py", line 134, in process_request
ctx['data_length'] = self.process_response(OK_CODE, CONTENT_TYPE_JSON, _response)
File "/home/hafah_user/app/hafah/serve.py", line 110, in process_response
self.wfile.write(data)
File "/usr/local/lib/python3.8/socketserver.py", line 826, in write
self._sock.sendall(b)
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/hafah_user/app/hafah/serve.py", line 164, in do_POST
self.process_request(request, ctx)
File "/home/hafah_user/app/hafah/serve.py", line 139, in process_request
self.process_response(ERR_CODE, CONTENT_TYPE_HTML, ex)
File "/home/hafah_user/app/hafah/serve.py", line 109, in process_response
self.end_headers()
File "/usr/local/lib/python3.8/http/server.py", line 536, in end_headers
self.flush_headers()
File "/usr/local/lib/python3.8/http/server.py", line 540, in flush_headers
self.wfile.write(b"".join(self._headers_buffer))
File "/usr/local/lib/python3.8/socketserver.py", line 826, in write
self._sock.sendall(b)
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/socketserver.py", line 616, in process_request
self.finish_request(request, client_address)
File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/home/hafah_user/app/hafah/serve.py", line 98, in __init__
super().__init__(*args, **kwargs)
File "/usr/local/lib/python3.8/socketserver.py", line 747, in __init__
self.handle()
File "/usr/local/lib/python3.8/http/server.py", line 434, in handle
self.handle_one_request()
File "/usr/local/lib/python3.8/http/server.py", line 422, in handle_one_request
method()
File "/home/hafah_user/app/hafah/serve.py", line 168, in do_POST
self.process_response(ERR_CODE, CONTENT_TYPE_HTML, ex)
File "/home/hafah_user/app/hafah/serve.py", line 109, in process_response
self.end_headers()
File "/usr/local/lib/python3.8/http/server.py", line 536, in end_headers
self.flush_headers()
File "/usr/local/lib/python3.8/http/server.py", line 540, in flush_headers
self.wfile.write(b"".join(self._headers_buffer))
File "/usr/local/lib/python3.8/socketserver.py", line 826, in write
self._sock.sendall(b)
BrokenPipeError: [Errno 32] Broken pipe
----------------------------------------
2022-09-28 23:51:24,204 - AH synchronizer - ERROR - [Errno 32] Broken pipe
2022-09-28 23:51:24,205 - AH synchronizer - ERROR - [Errno 32] Broken pipe
----------------------------------------
Exception happened during processing of request from ('172.18.0.5', 45244)
Traceback (most recent call last):
File "/home/hafah_user/app/hafah/serve.py", line 134, in process_request
ctx['data_length'] = self.process_response(OK_CODE, CONTENT_TYPE_JSON, _response)
File "/home/hafah_user/app/hafah/serve.py", line 110, in process_response
self.wfile.write(data)
File "/usr/local/lib/python3.8/socketserver.py", line 826, in write
self._sock.sendall(b)
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/hafah_user/app/hafah/serve.py", line 164, in do_POST
self.process_request(request, ctx)
File "/home/hafah_user/app/hafah/serve.py", line 139, in process_request
self.process_response(ERR_CODE, CONTENT_TYPE_HTML, ex)
File "/home/hafah_user/app/hafah/serve.py", line 109, in process_response
self.end_headers()
File "/usr/local/lib/python3.8/http/server.py", line 536, in end_headers
self.flush_headers()
File "/usr/local/lib/python3.8/http/server.py", line 540, in flush_headers
self.wfile.write(b"".join(self._headers_buffer))
File "/usr/local/lib/python3.8/socketserver.py", line 826, in write
self._sock.sendall(b)
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/socketserver.py", line 616, in process_request
self.finish_request(request, client_address)
File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/home/hafah_user/app/hafah/serve.py", line 98, in __init__
super().__init__(*args, **kwargs)
File "/usr/local/lib/python3.8/socketserver.py", line 747, in __init__
self.handle()
File "/usr/local/lib/python3.8/http/server.py", line 434, in handle
self.handle_one_request()
File "/usr/local/lib/python3.8/http/server.py", line 422, in handle_one_request
method()
File "/home/hafah_user/app/hafah/serve.py", line 168, in do_POST
self.process_response(ERR_CODE, CONTENT_TYPE_HTML, ex)
File "/home/hafah_user/app/hafah/serve.py", line 109, in process_response
self.end_headers()
File "/usr/local/lib/python3.8/http/server.py", line 536, in end_headers
self.flush_headers()
File "/usr/local/lib/python3.8/http/server.py", line 540, in flush_headers
self.wfile.write(b"".join(self._headers_buffer))
File "/usr/local/lib/python3.8/socketserver.py", line 826, in write
self._sock.sendall(b)
BrokenPipeError: [Errno 32] Broken pipe
----------------------------------------
2022-09-29 00:02:29,818 - hafah.adapter - ERROR - [pid=156438] Got exception `InternalError` in query `SELECT * FROM hafah_python.get_transaction_json( '\xd2d957ececd98905f488b4e4f628eb4a2a67d9dc', false, true )`