Secure Socket not working
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.1k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
The code is the one from example3
Tested Browsers Errors...
Chrome.... v 39.0.2171.71
WebSocket connection to 'wss://localhost:4649/Echo' failed: Error during WebSocket handshake: net::ERR_CONNECTION_RESET
Internet Explorer.... v11.0.9600.17420
SCRIPT12031: WebSocket Error: Network Error 12031, The connection with the server was reset
The .pfx file was created with openssl (can send you a copy if need it)
FYI - I am planning to use websocket-sharp with NTwain in https://github.com/gaiaehr/gaiaehr to handle "image scan" :-)
wws:// sreenshot (Secure ConnectionTest)

ws:// screenshot (Connection 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
Start by reproducing the secure connection from example3 at wss://localhost:4649/Echo, using the reported browser errors and the OpenSSL-created .pfx certificate as the investigation context. Compare it with the working ws:// connection and inspect the secure WebSocket handshake and certificate setup; done means the wss:// connection succeeds without the reported reset.
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