Skip to content
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

Sent non-empty 'Sec-WebSocket-Protocol' header but no response was received #370

Closed
MrBlaTi opened this issue Feb 5, 2016 · 0 comments
Closed

Comments

@MrBlaTi
Copy link

MrBlaTi commented Feb 5, 2016

I'm trying to fire up a server using

this.server = new Server(11112);
this.server.start();

using

public Server(int port) throws UnknownHostException {
        super(new InetSocketAddress(port));
    }

And I try to connect to it using the standart js websocket api
but i keep getting the error

WebSocket connection to 'ws:https://192.168.0.13:11112/' failed: Error during WebSocket handshake: Sent non-empty 'Sec-WebSocket-Protocol' header but no response was received
general.js (4,0)

any ideas?
edit:nvm found the error

@MrBlaTi MrBlaTi closed this as completed Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant