iteration : 0, arg: tgnews.py iteration : 1, arg: server iteration : 2, arg: 3000 INFO:gensim.models.utils_any2vec:loading projection weights from ./__data__/model_en.bin INFO:gensim.models.utils_any2vec:loading projection weights from ./__data__/model_ru.bin INFO:gensim.models.utils_any2vec:loaded (200000, 300) matrix from ./__data__/model_en.bin INFO:gensim.models.utils_any2vec:loaded (200000, 300) matrix from ./__data__/model_ru.bin ./venv/lib/python3.6/site-packages/sklearn/base.py:334: UserWarning: Trying to unpickle estimator KMeans from version 0.22.1 when using version 0.23.1. This might lead to breaking code or invalid results. Use at your own risk. UserWarning) INFO:root:Starting httpd... INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:11:53] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37886) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:11:54] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37888) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:11:55] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37890) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:11:56] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37892) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:11:57] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37894) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:11:58] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37896) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:11:59] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37898) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:00] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37900) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:01] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37902) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:02] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37904) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:03] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37906) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:04] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37908) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:05] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37910) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:06] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37912) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:07] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37914) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:08] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37916) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:09] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37918) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:10] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37920) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:11] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37922) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:12] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37924) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:13] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37926) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:14] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37928) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:15] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37930) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:16] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37932) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:17] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37934) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:18] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37936) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:19] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37938) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:21] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37940) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:22] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37942) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:23] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37944) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:24] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37946) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:25] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37948) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:26] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37950) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:27] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37952) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:28] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37954) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:29] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37956) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:30] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37958) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:31] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37960) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:32] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37962) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:33] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37964) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:34] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37966) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:35] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37968) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded 127.0.0.1 - - [29/Jun/2020 16:12:36] "GET /threads?period=300&lang_code=en&category=any HTTP/1.1" 503 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 37970) Traceback (most recent call last): File "./server_app.py", line 80, in do_GET self._set_response() TypeError: _set_response() missing 1 required positional argument: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/socketserver.py", line 654, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/local/lib/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request method() File "./server_app.py", line 84, in do_GET self.wfile.write("HTTP/1.1 503 Service Unavailable") File "/usr/local/lib/python3.6/socketserver.py", line 803, in write self._sock.sendall(b) TypeError: a bytes-like object is required, not 'str' ---------------------------------------- INFO:root:GET request, Path: /threads?period=300&lang_code=en&category=any Headers: Host: 127.0.0.1:3000 Accept: */* Connection: Keep-Alive Keep-Alive: 300 Content-Length: 0 Content-Type: application/x-www-form-urlencoded