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

Receiving error on Disconnection #71

Open
binarygeotech opened this issue May 7, 2015 · 1 comment
Open

Receiving error on Disconnection #71

binarygeotech opened this issue May 7, 2015 · 1 comment

Comments

@binarygeotech
Copy link

I'm creating a simple Live Feed Application, Copying the ServeTimeApplication sample code, I'm receiving error on disconnection, when I check through Chrome console, I saw the following error:

WebSocket connection to 'ws://localhost:8000/test' failed: A server must not mask any frames that it sends to the client.

Any fix for this error?

Chrome version: 42

@FaimMedia
Copy link

Have the same problem, seems like Chrome doesn't like the status message after the status code.

lib/Wrench/Protocol/Protocol.php, line 521.

Change:
$body = pack('n', $code) . self::$closeReasons[$code];
to
$body = pack('n', $code);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants