Ian OLeary
02/22/2024, 4:36 PMBacking off _request(...) for 4.3s (requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='<http://api.jobdiva.com|api.jobdiva.com>', port=443): Read timed out. (read timeout=300))
I keep getting this error on the 2nd stream of my tap. It runs the first few batches just fine then I get this error. Where can I increase the timeout?Andy Carter
02/22/2024, 4:47 PMIan OLeary
02/22/2024, 5:09 PMkeep-alive: timeout=60
if my response shows this in the headers, should I set it to 60 instead?Ian OLeary
02/22/2024, 5:10 PMEdgar Ramírez (Arch.dev)
02/22/2024, 5:21 PMIan OLeary
02/22/2024, 5:21 PMIan OLeary
02/22/2024, 5:42 PMIan OLeary
02/22/2024, 5:44 PM@property
def timeout(self) -> int:
return 3600
Edgar Ramírez (Arch.dev)
02/22/2024, 5:46 PMIan OLeary
02/22/2024, 5:46 PMIan OLeary
02/22/2024, 5:48 PMEdgar Ramírez (Arch.dev)
02/22/2024, 6:11 PMEdgar Ramírez (Arch.dev)
02/22/2024, 6:14 PMsteve_clarke
02/26/2024, 4:37 AMbackoff_time_extension
as sometimes the reported time to backoff is not long enough, it will add this on top of the recommended backoff time in the API response.
https://github.com/s7clarke10/tap-rest-api-msdk/blob/4f87c1adae00446388ebbe418c70b87c231856dc/tap_rest_api_msdk/streams.py#L231-L269