Arm0929
#1
I am using Twitter API and tweepy to retrieve tweets, but every time I do it, I get “ConnectionResetError”.
The communication method was wifi, but the connection was stable while the program was running.
Here is the code and erorr.
ConnectionError: (‘Connection aborted.’, ConnectionResetError(10054, ‘The existing connection was forcibly disconnected to the remote host.’, None, 10054, None))
I would like to know if anyone knows how to solve this problem.
Even though the connection may seem stable, it may still have too much latency for reliable API requests and could cause timeouts. The quality of the internet matters too - sometimes the wifi signal and router is good, but the ISP is not.
Arm0929
#3
Thank you for the advice!
I’ll check my latency and ISP.