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

Chapter 1 Websockets ServeHTTP:websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header #77

Open
sarvang00 opened this issue Jun 28, 2022 · 1 comment

Comments

@sarvang00
Copy link

Code followed as per book. Also verified by cloning the code from this repo. Issue persists.

Occurs when trying to open /room path from the browser, also leading the code to crash.

$ go run .
2022/06/28 16:23:28 Starting web server on :8080
2022/06/28 16:23:56 ServeHTTP:websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
exit status 1
@sarvang00
Copy link
Author

Is the room service supposed to run in background? If so, then this issue would be pointless and just my misunderstanding. Issue can be closed if that is the case.

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