You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I upload a larger file (about 1.2G) I encounter the following error, what should I do or where should I configure the timeout?
Process Unpacking-Worker-2:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/urllib3/response.py", line 443, in _error_catcher
yield
File "/usr/local/lib/python3.8/dist-packages/urllib3/response.py", line 815, in read_chunked
self._update_chunk_length()
File "/usr/local/lib/python3.8/dist-packages/urllib3/response.py", line 745, in _update_chunk_length
line = self._fp.fp.readline()
File "/usr/lib/python3.8/socket.py", line 669, in readinto
return self._sock.recv_into(b)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/requests/models.py", line 760, in generate
for chunk in self.raw.stream(chunk_size, decode_content=True):
File "/usr/local/lib/python3.8/dist-packages/urllib3/response.py", line 623, in stream
for line in self.read_chunked(amt, decode_content=decode_content):
File "/usr/local/lib/python3.8/dist-packages/urllib3/response.py", line 844, in read_chunked
self._original_response.close()
File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/local/lib/python3.8/dist-packages/urllib3/response.py", line 448, in _error_catcher
raise ReadTimeoutError(self._pool, None, "Read timed out.")
urllib3.exceptions.ReadTimeoutError: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/opt/FACT_core/src/helperFunctions/process.py", line 56, in run
raise exception
File "/opt/FACT_core/src/helperFunctions/process.py", line 51, in run
Process.run(self)
File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/opt/FACT_core/src/scheduler/unpacking_scheduler.py", line 64, in unpack_worker
extracted_objects = unpacker.unpack(fo)
File "/opt/FACT_core/src/unpacker/unpack.py", line 38, in unpack
extracted_files = self.extract_files_from_file(file_path, tmp_dir)
File "/opt/FACT_core/src/unpacker/unpack_base.py", line 26, in extract_files_from_file
result = run_docker_container(
File "/opt/FACT_core/src/helperFunctions/docker.py", line 41, in run_docker_container
response = container.wait(timeout=timeout)
File "/usr/local/lib/python3.8/dist-packages/docker/models/containers.py", line 512, in wait
return self.client.api.wait(self.id, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/docker/utils/decorators.py", line 19, in wrapped
return f(self, resource_id, *args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/docker/api/container.py", line 1303, in wait
res = self._post(url, timeout=timeout, params=params)
File "/usr/local/lib/python3.8/dist-packages/docker/utils/decorators.py", line 46, in inner
return f(self, *args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/docker/api/client.py", line 233, in _post
return self.post(url, **self._set_request_timeout(kwargs))
File "/usr/local/lib/python3.8/dist-packages/requests/sessions.py", line 577, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.8/dist-packages/requests/sessions.py", line 687, in send
r.content
File "/usr/local/lib/python3.8/dist-packages/requests/models.py", line 838, in content
self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b''
File "/usr/local/lib/python3.8/dist-packages/requests/models.py", line 767, in generate
raise ConnectionError(e)
requests.exceptions.ConnectionError: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out.
[2024-03-05 09:12:52][process][ERROR]: Exception in Unpacking process:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/urllib3/response.py", line 443, in _error_catcher
yield
File "/usr/local/lib/python3.8/dist-packages/urllib3/response.py", line 815, in read_chunked
self._update_chunk_length()
File "/usr/local/lib/python3.8/dist-packages/urllib3/response.py", line 745, in _update_chunk_length
line = self._fp.fp.readline()
File "/usr/lib/python3.8/socket.py", line 669, in readinto
return self._sock.recv_into(b)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/requests/models.py", line 760, in generate
for chunk in self.raw.stream(chunk_size, decode_content=True):
File "/usr/local/lib/python3.8/dist-packages/urllib3/response.py", line 623, in stream
for line in self.read_chunked(amt, decode_content=decode_content):
File "/usr/local/lib/python3.8/dist-packages/urllib3/response.py", line 844, in read_chunked
self._original_response.close()
File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/local/lib/python3.8/dist-packages/urllib3/response.py", line 448, in _error_catcher
raise ReadTimeoutError(self._pool, None, "Read timed out.")
urllib3.exceptions.ReadTimeoutError: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/FACT_core/src/helperFunctions/process.py", line 51, in run
Process.run(self)
File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/opt/FACT_core/src/scheduler/unpacking_scheduler.py", line 64, in unpack_worker
extracted_objects = unpacker.unpack(fo)
File "/opt/FACT_core/src/unpacker/unpack.py", line 38, in unpack
extracted_files = self.extract_files_from_file(file_path, tmp_dir)
File "/opt/FACT_core/src/unpacker/unpack_base.py", line 26, in extract_files_from_file
result = run_docker_container(
File "/opt/FACT_core/src/helperFunctions/docker.py", line 41, in run_docker_container
response = container.wait(timeout=timeout)
File "/usr/local/lib/python3.8/dist-packages/docker/models/containers.py", line 512, in wait
return self.client.api.wait(self.id, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/docker/utils/decorators.py", line 19, in wrapped
return f(self, resource_id, *args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/docker/api/container.py", line 1303, in wait
res = self._post(url, timeout=timeout, params=params)
File "/usr/local/lib/python3.8/dist-packages/docker/utils/decorators.py", line 46, in inner
return f(self, *args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/docker/api/client.py", line 233, in _post
return self.post(url, **self._set_request_timeout(kwargs))
File "/usr/local/lib/python3.8/dist-packages/requests/sessions.py", line 577, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.8/dist-packages/requests/sessions.py", line 687, in send
r.content
File "/usr/local/lib/python3.8/dist-packages/requests/models.py", line 838, in content
self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b''
File "/usr/local/lib/python3.8/dist-packages/requests/models.py", line 767, in generate
raise ConnectionError(e)
requests.exceptions.ConnectionError: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out.
The text was updated successfully, but these errors were encountered:
When I upload a larger file (about 1.2G) I encounter the following error, what should I do or where should I configure the timeout?
The text was updated successfully, but these errors were encountered: