-
Notifications
You must be signed in to change notification settings - Fork 142
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
Kubebox crashes when viewing pod that actively produces logs #93
Comments
Thanks for the report. I'll try to reproduce ASAP, or at least find a way to get more information. In the meantime, would you be able to run the Docker container version, and see if you reproduce the issue, e.g.:
It uses another version of Node, and without the single binary executable, so that would help narrowing the analysis. |
Thanks for the quick reply! I ran it in the docker image, and I noticed now that the crash only occurs when the pod starts to stream a lot of logs. I.e. I was watching logs for some minutes, once the pod started to produce several lines of logs per second, kubebox crashed. When running it with the docker image, it printed the following error to the console upon crashing:
|
Thanks a lot. It seems the culprit is that call to the https://nodejs.org/api/buffer.html#buffer_buf_readbiguint64be_offset It’s consistent with your use case, as this branch is called only when larger data is received: Line 340 in 6320993
|
It should be fixed with 3691593. Thanks for your patience. |
I just installed kubebox v0.8 on Ubuntu 19.10.
Everything seems to work, but when I select a pod that actively produces logs, it just crashes and prints "Error" on the console.
I would be happy to provide more detailed information, but I am not sure how to access the actual error logs.
Also we do not have currently cAdvisor installed on our cluster, so the Resources tabs never works, but that should not infringed the other functionality and I am mainly interested in logs at the moment.
The text was updated successfully, but these errors were encountered: