-
Notifications
You must be signed in to change notification settings - Fork 398
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
"CodeChecker store" on a large quantity of files failed with an unhelpful error message #1120
Comments
could you please run the store with --verbose debug and attach the logs? |
here it is:
|
The clientside log won't help in this case. 2.1GB is too large and it looks like Thrift decapitates the connection. The unexpected |
I wonder how many results are in that zip? Maybe it would make sense to turn some checks off? |
@whisperity even if the limit on the size is intentional, the unhelpful error message is a bug in my opinion. |
I agree, but I'm not sure if Thrift is able to gracefully handle receiving a HTTP error code when it expected a valid HTTP transport with a JSON in it. @sylvestre Can you try this again with a |
Looks like it is a different issue. The login timeouts:
|
It's strange, I recall specifically making the connection to the server initialise only after the ZIP is created in an earlier patch. You can alter the session timeouts serverside in the servers configuration. It's also good if you create a password file (see the authentication docs for a how-to) that stores your credentials so the client can automatically authenticate you when it is needed. |
We should definitely handle these types of errors better. Currently we only give a warning if the zip is more than 1GB but we do not stop the client. @sylvestre did the session timeout increase in the server config help? @whisperity maybe we should increase the default session timeout. |
@gyorb Nope, a 10 times increase didn't change anything :/ |
I also tried to remove the need of authentication for localhost operation but I could not figure out how to do that reading the documentation. |
@sylvestre Start the server without specifying |
getting this error too:
since CodeChecker 6, the browser session expires really quickly. Set the session expiration in the config to a larger value now. Will see if it appears again |
My store directory is about 2.1G.
CodeChecker store fails on this directory with Request failed to localhost:8001
Which is not super useful to debug or understand anything!
The text was updated successfully, but these errors were encountered: