-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Websocket 1006 close error on official examples #1427
Comments
EDIT: the example work FINE on firefox! What do you think, feel free to close the issue. |
I hit the same bug on https://www.websocket.org/echo.html which is the de facto standard for quick websocket testing. But this website use the same code as kaazing. |
On firefox when I ask the client to close the connection, the connection close fine (no error code) |
I've encountered the same bug, in Chrome when closing from the web client after a few seconds it errors with code 1006. Weirdly this occurs only when using Chrome and the Netty engine. The other engines/browser combinations I've tested works fine |
…accordance with RFC (#1427).
…accordance with RFC (#1427).
…accordance with RFC (#1427).
Hi @LifeIsStrange, thanks for the report. I've investigated the problem and realized that Well, we changed the default behavior and now we close TCP connection on the server-side, so the next release will include this fix. |
so unstable framework :((( you kill my 3 days |
@NurseyitTursunkulov What are you talking about? Hasn't this been fixed since January? (I can't attest myself I no longer use Ktor) |
EDIT: the example work FINE on firefox!
I'm a beginner at Ktor.
Using the websockets examples from the doc/guide and testing with http://demos.kaazing.com/echo/index.html at ws://0.0.0.0:8080/myws/echo
When I try to connect to the ws route, it close after a few seconds with status code 1006 (close error)
I cannot send any text from the client nor send any text from the server.
for the following code
I get the following log:
You could save learners a lot of time by documenting this behavior.
The text was updated successfully, but these errors were encountered: