Authentication failed, see inner exception
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.1k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I have implemented the basic secure websocket server as in the example, but when i try to connect, the server says:
- Authentication failed, see inner exception
My code is really simple and with NetCoreServer for example everything works, but they seem to not have permessage deflate:
var dataServer = new DataServer(4223, true);
dataServer.SslConfiguration.ServerCertificate = new X509Certificate2(Path.Combine(assemblyFolder, "cert.pfx"), "Password");
dataServer.Start();
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
No repository file or test is named. Start by reproducing the secure websocket server example with the provided DataServer and SslConfiguration snippet, then inspect the inner exception and certificate setup to identify the authentication failure. Done means the failure is explained with a targeted fix or a clearly documented configuration requirement.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100