-
Notifications
You must be signed in to change notification settings - Fork 178
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
What is "Server never wrote a response" ? #643
Comments
It looks like this is happening for every new WebSocket connection. The error is false: HTTP.jl writes a response to the HTTP upgrade request: Line 154 in 39f1139
|
@staticfloat helped me fix the problem: In my case, we check each incoming connection whether it is authenticated. For simple HTTP endpoints, we respond with a 403 error page if it is not. The problem was the "protocol upgrade" request for establishing a websocket connection. Here we checked for authentication, and if not, we did not write a response to the upgrade request. The solution is tricky, you need to manually write the response: |
Julia 1.5.3
HTTP.jl 0.9.1
Pluto started printing a new error message since the HTTP 0.9.1 update:
Why is this an error? Can I disable this message? I also can't tell which request this error is about, so it's difficult for me to fix. I will limit Pluto to HTTP 0.9.0 as a workaround
You can reproduce this error by using the version of Pluto before I set the 0.9.0 limit:
The text was updated successfully, but these errors were encountered: