Traceback (most recent call last):
File "C:\Users\autospider\AppData\Roaming\Python\Python313\site-packages\urllib3esponse.py", line 754, in _error_catcher
yield
File "C:\Users\autospider\AppData\Roaming\Python\Python313\site-packages\urllib3esponse.py", line 1219, in read_chunked
self._update_chunk_length()
~~~~~^^
File "C:\Users\autospider\AppData\Roaming\Python\Python313\site-packages\urllib3esponse.py", line 1138, in _update_chunk_length
line = self._fp.fp.readline() # type: ignore[union-attr]
File "C:\Program Files\Python313\Lib\socket.py", line 719, in readinto
return self._sock.recv_into(b)
~~~~^^^
File "C:\Program Files\Python313\Lib\ssl.py", line 1304, in recv_into
return self.read(nbytes, buffer)
~~~~~^^^^^^^^^^^^^^^^
File "C:\Program Files\Python313\Lib\ssl.py", line 1138, in read
return self._sslobj.read(len, buffer)
~~~~~^^^^^^^^^^^^^
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\autospider\AppData\Roaming\Python\Python313\site-packagesequests\models.py", line 820, in generate
yield from self.raw.stream(chunk_size, decode_content=True)
File "C:\Users\autospider\AppData\Roaming\Python\Python313\site-packages\urllib3esponse.py", line 1063, in stream
yield from self.read_chunked(amt, decode_content=decode_content)
File "C:\Users\autospider\AppData\Roaming\Python\Python313\site-packages\urllib3esponse.py", line 1202, in read_chunked
with self._error_catcher():
~~~~~~~^^
File "C:\Program Files\Python313\Lib\contextlib.py", line 162, in exit
self.gen.throw(value)
~~~~~~^^^^^^^
File "C:\Users\autospider\AppData\Roaming\Python\Python313\site-packages\urllib3esponse.py", line 781, in _error_catcher
raise ProtocolError(f"Connection broken: {e!r}", e) from e
urllib3.exceptions.ProtocolError: ("Connection broken: ConnectionResetError(10054, ''An existing connection was forcibly closed by the remote host'', None, 10054, None)", ConnectionResetError(10054, ''An existing connection was forcibly closed by the remote host'', None, 10054, None))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:
onATS\jobsgenericwebcrawlerapp\main\ZyteSpiderClass.py", line 108, in read_post
response = self.client.post(
self.APIURL,
auth=tuple(self.auth),
json=request_params
)
File "C:\Users\autospider\AppData\Roaming\Python\Python313\site-packagesequests\sessions.py", line 637, in post
return self.request("POST", url, data=data, json=json, kwargs)
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\autospider\AppData\Roaming\Python\Python313\site-packagesequests\sessions.py", line 589, in request
resp = self.send(prep, send_kwargs)
File "C:\Users\autospider\AppData\Roaming\Python\Python313\site-packagesequests\sessions.py", line 746, in send
r.content
File "C:\Users\autospider\AppData\Roaming\Python\Python313\site-packagesequests\models.py", line 902, in content
self._content = b"".join(self.iter_content(CONTENT_CHUNK_SIZE)) or b""
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\autospider\AppData\Roaming\Python\Python313\site-packagesequests\models.py", line 822, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ("Connection broken: ConnectionResetError(10054, ''An existing connection was forcibly closed by the remote host'', None, 10054, None)", ConnectionResetError(10054, ''An existing connection was forcibly closed by the remote host'', None, 10054, None))