playframework / playframework/play1
failed: Error during WebSocket handshake: Unexpected response code: 426
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.6k
- Forks
- 671
- Avg merge
- 12d 15h
- Merged PRs (30d)
- 1
Description
When I run the example chat and select a websocket option, there console an error:
WebSocket connection to 'ws://localhost:9000/websocket/room/socket?user=yy' failed: Error during WebSocket handshake: Unexpected response code: 426
my Play version is 1.2.4, can you help me to solve this problem? Thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with the example chat in Play 1.2.4 and the WebSocket URL shown in the report. Inspect the example's WebSocket entry point and the server response to the handshake, then verify the selected WebSocket option connects without a 426 response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100