Open Itach1Uchixa opened 7 years ago
This issue is closed due to its mannerlessness.
From my environment, ws://echo.websocket.org
responds as expected.
If not only echo.websocket.org
but also other WebSocket servers return 400, one of possible reasons is that one or more proxy servers between your WebSocket client application and the WebSocket servers cannot handle WebSocket-related HTTP headers properly. That is, it may be a network issue.
I also tested ws servers with Simple WebSocket Firefox plugin they all working as expected
Web browsers are special software which can detect proxy settings automatically (of course depending on the configuration). Therefore, tests using a browser plugin are sometimes meaningless.
Why don't you try other WebSocket client libraries or tools such as wscat?
I directly connected to internet there aren't any proxies
Try wss
(not ws
). This is worth trying.
I tried already including (http and https)
I tested other libraries like TooTallNate/Java-WebSocket and koush/AndroidAsync they working as expected
Hi there! I wanted to use this library for my new project and started testing simple echo client implementation that I got from gist. But it give 400 error when I try to connect to server
ws://echo.websocket.org
. I tested other servers they give 400 too. Logs:P.S: Sorry for my hurry and previous version of this issue thou