sta / sta/websocket-sharp

Secure Socket not working

Open
#89 1 comment 0 reactions 0 assignees View on GitHub

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)
screen shot 2014-11-30 at 3 47 22 pm

ws:// screenshot (Connection Test)
screen shot 2014-11-30 at 3 48 15 pm

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.