There is an error in the code we think has to do with the API being outdated. We either want to create a mashup with the newer API or rewrite the program altogether using the new API. The file is attatched below. Here is a snippet of the error we receive:
Request return 404 error!
2018-06-13 01:09:12,132 - ERROR - [login to view URL] raised in main loop. Delaying 5 seconds and retrying.
Traceback (most recent call last):
File "C:\Users\cesar\AppData\Local\Programs\Python\Python36\lib\site-packages\urllib3\[login to view URL]", line 302, in _error_catcher
yield
File "C:\Users\cesar\AppData\Local\Programs\Python\Python36\lib\site-packages\urllib3\[login to view URL]", line 384, in read
data = [login to view URL](amt)
File "C:\Users\cesar\AppData\Local\Programs\Python\Python36\lib\http\[login to view URL]", line 449, in read
n = [login to view URL](b)
File "C:\Users\cesar\AppData\Local\Programs\Python\Python36\lib\http\[login to view URL]", line 493, in readinto
n = [login to view URL](b)
File "C:\Users\cesar\AppData\Local\Programs\Python\Python36\lib\[login to view URL]", line 586, in readinto
return self._sock.recv_into(b)
File "C:\Users\cesar\AppData\Local\Programs\Python\Python36\lib\[login to view URL]", line 1009, in recv_into
return [login to view URL](nbytes, buffer)
File "C:\Users\cesar\AppData\Local\Programs\Python\Python36\lib\[login to view URL]", line 871, in read
return [login to view URL](len, buffer)
File "C:\Users\cesar\AppData\Local\Programs\Python\Python36\lib\[login to view URL]", line 631, in read
v = [login to view URL](len, buffer)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\cesar\AppData\Local\Programs\Python\Python36\lib\site-packages\requests\[login to view URL]", line 745, in generate
for chunk in [login to view URL](chunk_size, decode_content=True):
File "C:\Users\cesar\AppData\Local\Programs\Python\Python36\lib\site-packages\urllib3\[login to view URL]", line 436, in stream
data = [login to view URL](amt=amt, decode_content=decode_content)
File "C:\Users\cesar\AppData\Local\Programs\Python\Python36\lib\site-packages\urllib3\[login to view URL]", line 401, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "C:\Users\cesar\AppData\Local\Programs\Python\Python36\lib\[login to view URL]", line 99, in __exit__
[login to view URL](type, value, traceback)
File "C:\Users\cesar\AppData\Local\Programs\Python\Python36\lib\site-packages\urllib3\[login to view URL]"
I am an excellent web and software developer with over 7+ years experience. I want to use this skills to provide you good work. Please provide more information on your project and get it done.
Thanks.
Hi,
This is happening because the server declared chunked encoding, and being sent some other values.
This change has been introduced in python very long ago. So, I would like to know when you upgraded the latest python version?
If it was working well before?
Thanks,
Jithil