-
Notifications
You must be signed in to change notification settings - Fork 81
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
Unable to generate audit report on large node with lots of data #144
Comments
This looks suspiciously like a timeout closing the connection. I'll look into it. |
guggero
added a commit
that referenced
this issue
Nov 16, 2020
To make sure that long-running calls and indefinitely opened streaming connections aren't terminated by the internal proxy, we need to disable all timeouts except the one for reading the HTTP headers. That timeout shouldn't be removed as we would otherwise be prone to the slowloris attack where an attacker takes too long to send the headers and uses up connections that way. Once the headers are read, we either know it's a static ressource and can deliver that very cheaply or check the authentication for other calls. Fixes #140 and #144.
guggero
added a commit
that referenced
this issue
Nov 16, 2020
To make sure that long-running calls and indefinitely opened streaming connections aren't terminated by the internal proxy, we need to disable all timeouts except the one for reading the HTTP headers. That timeout shouldn't be removed as we would otherwise be prone to the slowloris attack where an attacker takes too long to send the headers and uses up connections that way. Once the headers are read, we either know it's a static resource and can deliver that very cheaply or check the authentication for other calls. Fixes #140 and #144.
Confirmed - this resolves the issue. Thanks! |
Thanks for the quick fix @guggero |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
I seem to be unable to generate an audit report for a large node with lots of data.
The command errors with:
And in the logs I see:
I'm able to do the report successfully on nodes with less data.
I tried setting
start_date
to yesterday in the hope that limiting the dataset would get it to work, but I get the same issue.The text was updated successfully, but these errors were encountered: