Open behinger opened 1 year ago
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 write
call.
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