Error: Operation is not supported on this platform
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.1k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
I've been running socket-sharp for 3 weeks now just fine (.net Core 2.1). Its started to throw this
System.PlatformNotSupportedException: Operation is not supported on this platform. at System.Action 1.BeginInvoke(T obj, AsyncCallback callback, Object object) at WebSocketSharp.WebSocket.open() at WebSocketSharp.WebSocket.Connect() | System.Exception {System.PlatformNotSupportedException}
I'm simply calling
using (ws = new WebSocketSharp.WebSocket(Address))
{
ws.Connect();
//Other stuff after
}
and it throws after connect.
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 at the WebSocket.open() and WebSocket.Connect() calls named in the stack trace, then reproduce the failure with the shown WebSocket constructor and ws.Connect() usage on .NET Core 2.1. Done means the connection no longer throws PlatformNotSupportedException on the affected platform.
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