docker-airflow icon indicating copy to clipboard operation
docker-airflow copied to clipboard

{taskinstance.py:1128} ERROR - ('Connection broken: IncompleteRead(0 bytes read)', IncompleteRead(0 bytes read))

Open Shubhamjain6197 opened this issue 3 years ago • 0 comments

I am calling docker image on airflow docker operator while downloading the image i end up getting below error.

can someone please suggest me workaround or solution.


[2020-11-04 01:03:46,138] {docker_operator.py:271} INFO - Downloading [2020-11-04 01:03:46,192] {taskinstance.py:1128} ERROR - ('Connection broken: IncompleteRead(0 bytes read)', IncompleteRead(0 bytes read)) Traceback (most recent call last): File "/usr/lib/python3.6/http/client.py", line 556, in _get_chunk_left chunk_left = self._read_next_chunk_size() File "/usr/lib/python3.6/http/client.py", line 523, in _read_next_chunk_size return int(line, 16) ValueError: invalid literal for int() with base 16: b''

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3.6/http/client.py", line 588, in _readinto_chunked chunk_left = self._get_chunk_left() File "/usr/lib/python3.6/http/client.py", line 558, in _get_chunk_left raise IncompleteRead(b'') http.client.IncompleteRead: IncompleteRead(0 bytes read)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/urllib3/response.py", line 436, in _error_catcher yield File "/usr/local/lib/python3.6/dist-packages/urllib3/response.py", line 518, in read data = self._fp.read(amt) if not fp_closed else b"" File "/usr/lib/python3.6/http/client.py", line 459, in read n = self.readinto(b) File "/usr/lib/python3.6/http/client.py", line 493, in readinto return self._readinto_chunked(b) File "/usr/lib/python3.6/http/client.py", line 604, in _readinto_chunked raise IncompleteRead(bytes(b[0:total_bytes])) http.client.IncompleteRead: IncompleteRead(0 bytes read)

Shubhamjain6197 avatar Nov 25 '20 09:11 Shubhamjain6197