Connection Timeouts

Recently I have been getting random timeouts. My code worked properly for months but now it times out maybe 75% of the time.

It seems to happen when using the https://api.binance.com/api/v3/myTrades endpoint. I am checking many different trading pairs one after the other. However, I do not exceed the weight limit.

Error code:

requests.exceptions.ConnectionError: (‘Connection aborted.’, TimeoutError(10060, ‘A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond’, None, 10060, None))

There are a few possible reasons for this which are mainly related to connectivity issues to the API server. Please ensure that you have stable connection.

I have not had any connectivity issues with other applications, it seems to be just related to binance. Is there something else that can cause this?