While running my algo using the API's I am getting the following error intermittently - maybe once every 15 days any reason why ? This happens only to one program, the rest of them ( 3 algo's are running in parallel) are executing fine in the back ground.
Traceback (most recent call last): File "C:\Users\rvm1user\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\connectionpool.py", line 677, in urlopen chunked=chunked, File "C:\Users\rvm1user\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\connectionpool.py", line 426, in _make_request six.raise_from(e, None) File "", line 3, in raise_from File "C:\Users\rvm1user\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\connectionpool.py", line 421, in _make_request httplib_response = conn.getresponse() File "C:\Users\rvm1user\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 1344, in getresponse response.begin() File "C:\Users\rvm1user\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 306, in begin version, status, reason = self._read_status() File "C:\Users\rvm1user\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 267, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "C:\Users\rvm1user\AppData\Local\Programs\Python\Python37\lib\socket.py", line 589, in readinto return self._sock.recv_into(b) File "C:\Users\rvm1user\AppData\Local\Programs\Python\Python37\lib\ssl.py", line 1071, in recv_into return self.read(nbytes, buffer) File "C:\Users\rvm1user\AppData\Local\Programs\Python\Python37\lib\ssl.py", line 929, in read return self._sslobj.read(len, buffer) ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
During handling of the above exception, another exception occurred:
This happens only to one program, the rest of them ( 3 algo's are running in parallel) are executing fine in the back ground.
Traceback (most recent call last):
File "C:\Users\rvm1user\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\connectionpool.py", line 677, in urlopen
chunked=chunked,
File "C:\Users\rvm1user\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\connectionpool.py", line 426, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "C:\Users\rvm1user\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\connectionpool.py", line 421, in _make_request
httplib_response = conn.getresponse()
File "C:\Users\rvm1user\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 1344, in getresponse
response.begin()
File "C:\Users\rvm1user\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 306, in begin
version, status, reason = self._read_status()
File "C:\Users\rvm1user\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 267, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "C:\Users\rvm1user\AppData\Local\Programs\Python\Python37\lib\socket.py", line 589, in readinto
return self._sock.recv_into(b)
File "C:\Users\rvm1user\AppData\Local\Programs\Python\Python37\lib\ssl.py", line 1071, in recv_into
return self.read(nbytes, buffer)
File "C:\Users\rvm1user\AppData\Local\Programs\Python\Python37\lib\ssl.py", line 929, in read
return self._sslobj.read(len, buffer)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
During handling of the above exception, another exception occurred: