-
Notifications
You must be signed in to change notification settings - Fork 18
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
Random Error Messages: ┌ Error: handle_connection handler error #106
Comments
Thanks! I have also seen this error sometimes. It looks like this happens when a visitor of the site makes a request (i.e. moves a slider), and while the response from PSS is still coming in, they close the tab, closing the TCP connection. You can see that the entire stack trace happens inside HTTP.jl and Julia Base, and it goes through this line: https://github.com/JuliaWeb/HTTP.jl/blob/a3a576807a4ecddcefa8d76f9efd07ea2b309f8e/src/Handlers.jl#L61 , which is where HTTP.jl takes the data that we want to send in the HTTP response and actually transmits it over the TCP connection. Since this exception is safe to ignore, we should add a check and hide this specific error. |
It might be cleanest to make a copy of https://github.com/JuliaWeb/HTTP.jl/blob/a3a576807a4ecddcefa8d76f9efd07ea2b309f8e/src/Handlers.jl#L53-L64 and add a specific try catch around the |
After talking to @fonsp I will start to report my random error messages from now on ;)
This one appears when I just started the sliderserver. Julia 1.8.3, [2fc8631c] PlutoSliderServer v0.3.21
Prior to this I had killed all julia processes on my virtual machine (centos 7)
I have seen the error before, it didnt affect my notebooks in any way. No entry in journalctl
The text was updated successfully, but these errors were encountered: