diff --git a/twscrape/queue_client.py b/twscrape/queue_client.py index 7009052..f8386e2 100644 --- a/twscrape/queue_client.py +++ b/twscrape/queue_client.py @@ -221,7 +221,7 @@ async def req(self, method: str, url: str, params: ReqParams = None) -> Response except (httpx.ReadTimeout, httpx.ProxyError): # http transport failed, just retry with same account continue - except httpx.ConnectError as e: + except (httpx.ConnectError, httpx.ConnectTimeout) as e: # if proxy missconfigured or ??? connection_retry += 1 if connection_retry >= 3: