#2643 bug: RESTStream not retrying in TimeoutError
Issue created by
hudovisk
Singer SDK Version
0.39
Is this a regression?
• Yes
Python Version
3.9
Bug scope
Taps (catalog, state, etc.)
Operating System
Linux
Description
We have a RESTStream that eventually fails due to a timeout error, but the SDK does not retry it with proper backoff (you can see it by the timestamp of the logs). The timeout error is unhandled. Is there any additional configuration needed in the tap code?
Here are the logs:
---
Logs
| [@timestamp](
https://github.com/timestamp) | event |
| ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 2024-09-03 22
3113.687 | Environment 'prod' is active |
| 2024-09-03 22
3114.190 | kind: password is deprecated for setting definitions in favour of sensitive: true, and is currently in use by the following settings of loader 'target-postgres': 'password'. Please open an issue or pull request to update the plugin definition on Meltano Hub at
https://github.com/meltano/hub/blob/main/%5Fdata/meltano/loaders/target-postgres/transferwise.yml. |
| 2024-09-03 22
3114.737 | Running extract & load... |
| 2024-09-03 22
3115.075 | No state was found, complete import. |
| 2024-09-03 22
3119.364 | 2024-09-03 22
3119,363 \| INFO |
| 2024-09-03 22
3119.365 | 2024-09-03 22
3119,363 \| INFO |
| 2024-09-03 22
3119.460 | time=2024-09-03 22
3119 name=target_postgres level=INFO message=Table '"chamados"' exists |
| 2024-09-03 22
4904.011 | 2024-09-03 22
4904,009 \| INFO |
| 2024-09-03 22
4904.011 | 2024-09-03 22
4904,010 \| INFO |
| 2024-09-03 22
4904.013 | 2024-09-03 22
4904,010 \| INFO |
| 2024-09-03 22
4904.024 | 2024-09-03 22
4904,010 \| ERROR |
| 2024-09-03 22
4904.025 | Traceback (most recent call last): |
| 2024-09-03 22
4904.026 | File "/project/.meltano/extractors/tap-americanet/venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 716, in urlopen |
| 2024-09-03 22
4904.026 | httplib_response = self._make_request( |
| 2024-09-03 22
4904.026 | File "/project/.meltano/extractors/tap-americanet/venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 404, in _make_request |
| 2024-09-03 22
4904.028 | self._validate_conn(conn) |
| 2024-09-03 22
4904.029 | File "/project/.meltano/extractors/tap-americanet/venv/lib/python3.9/site-packages/urllib3/…
meltano/sdk