Error during WebSocket handshake: Unexpected response code: 302
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.1k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to setup a wss to ws proxy in apache and it's working for my PHP websocket server, but I'm getting a 302 response code for my C# websocket server.
I'm using a basic echo server using the examples provided on this github to test
Contributor guide
No contributing guide indexed for this repository
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
Review the Apache wss-to-ws proxy configuration and the basic echo server example mentioned in the report. Reproduce the handshake and compare the C# server's response with the working PHP case; done means identifying why the C# handshake returns 302 and documenting a verified configuration or code change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100