Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce timeout wait time #56

Closed
digizeph opened this issue Aug 21, 2024 · 0 comments · Fixed by #57
Closed

Reduce timeout wait time #56

digizeph opened this issue Aug 21, 2024 · 0 comments · Fixed by #57

Comments

@digizeph
Copy link
Member

We've seen data outages happen periodically due to very long timeout errors

For example, the following log shows a timeout error happened roughly 2 hours after the initial request started.

2024-08-21T09:06:02.792213Z  INFO wait for 300 seconds before next update
2024-08-21T09:09:50.995973Z  INFO start updating broker database for 71 collectors
2024-08-21T09:10:07.798624Z ERROR NetworkError: request or response body error: error reading a body from connection: Connection reset by peer (os error 54)
2024-08-21T09:10:52.257978Z ERROR NetworkError: error sending request for url (https://data.ris.ripe.net/rrc14/2024.08/): error trying to connect: Connection reset by peer (os error 54)
2024-08-21T11:20:08.024570Z ERROR NetworkError: error sending request for url (https://data.ris.ripe.net/rrc03/2024.08/): connection error: Operation timed out (os error 60)
2024-08-21T11:20:08.227205Z  INFO heartbeat sent
2024-08-21T11:20:08.227213Z  INFO finished updating broker database
2024-08-21T11:20:08.227238Z  INFO wait for 300 seconds before next update

Setting timeouts should resolve this issue.

@digizeph digizeph linked a pull request Aug 21, 2024 that will close this issue
digizeph added a commit that referenced this issue Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant