[2022-06-30 13:05:07,519: ERROR/ForkPoolWorker-4] Task refill.tasks.fixWikipage[64de18f4-91aa-46cf-81d8-30551d88dbd3] raised unexpected: ConnectionError(MaxRetryError("HTTPConnectionPool(host='wordvietnam.com', port=80): Max retries exceeded with url: /news-latest/briefings/think-playgrounds (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f616d58c518>: Failed to establish a new connection: [Errno -5] No address associated with hostname'))")) Traceback (most recent call last): File "/data/project/refill-api/www/python/venv/lib/python3.7/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/data/project/refill-api/www/python/venv/lib/python3.7/site-packages/urllib3/util/connection.py", line 73, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -5] No address associated with hostname During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/data/project/refill-api/www/python/venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/data/project/refill-api/www/python/venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/data/project/refill-api/www/python/venv/lib/python3.7/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.7/http/client.py", line 1260, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1306, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1255, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1030, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 970, in send self.connect() File "/data/project/refill-api/www/python/venv/lib/python3.7/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/data/project/refill-api/www/python/venv/lib/python3.7/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f616d58c518>: Failed to establish a new connection: [Errno -5] No address associated with hostname During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/data/project/refill-api/www/python/venv/lib/python3.7/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/data/project/refill-api/www/python/venv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/data/project/refill-api/www/python/venv/lib/python3.7/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='wordvietnam.com', port=80): Max retries exceeded with url: /news-latest/briefings/think-playgrounds (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f616d58c518>: Failed to establish a new connection: [Errno -5] No address associated with hostname')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/data/project/refill-api/www/python/venv/lib/python3.7/site-packages/celery/app/trace.py", line 405, in trace_task R = retval = fun(*args, **kwargs) File "/data/project/refill-api/www/python/venv/lib/python3.7/site-packages/celery/app/trace.py", line 697, in __protected_call__ return self.run(*args, **kwargs) File "/data/project/refill-api/refill/backend/refill/tasks.py", line 34, in fixWikipage ctx.applyTransforms(wikicode) File "/data/project/refill-api/refill/backend/refill/models/context.py", line 69, in applyTransforms transform.apply(self.wikicode) File "/data/project/refill-api/refill/backend/refill/transforms/fillexternal.py", line 34, in apply future.result() File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result return self.__get_result() File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result raise self._exception File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/data/project/refill-api/refill/backend/refill/transforms/fillexternal.py", line 53, in _fulfill p.apply(citation) File "/data/project/refill-api/refill/backend/refill/dataparsers/download.py", line 21, in apply response = session.get(citation.url) File "/data/project/refill-api/www/python/venv/lib/python3.7/site-packages/requests/sessions.py", line 555, in get return self.request('GET', url, **kwargs) File "/data/project/refill-api/www/python/venv/lib/python3.7/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/data/project/refill-api/www/python/venv/lib/python3.7/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/data/project/refill-api/www/python/venv/lib/python3.7/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='wordvietnam.com', port=80): Max retries exceeded with url: /news-latest/briefings/think-playgrounds (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f616d58c518>: Failed to establish a new connection: [Errno -5] No address associated with hostname'))
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T310754 Recurrent API worker failures | |||
Open | None | T310752 Investigate root cause of recurrent API worker failures | |||
Open | BUG REPORT | None | T311714 Unexpected exception(s): ConnectionError / NewConnectionError / MaxRetryError |