dotnet / dotnet/orleans

Error when running Orleans in WSL

Open
#8,434 0 comments 1 reaction 0 assignees View on GitHub
Needs: triage :mag:
Dominant language
C#
Stars
10.9k
Forks
2.1k
Avg merge
14h 42m
Merged PRs (30d)
354

Description

I have a pretty big project in event sourcing that is migrating to orleans. I have everything works perfectly in Windows, but since I'd like to run also on linux I tried from visual studio to execute in WSL, but I got this error

```
fail: Orleans.Runtime.Scheduler.OrleansTaskScheduler[101231]
QueueWorkItem was called on a non-null context [SystemTarget: S192.168.222.62:40101:421581709*stg/13/0000000d@S0000000d] but there is no valid WorkItemGroup for it.
```

And then the hosting environment shut down without any other exception or information. It seems that something prevents it from running underl linux in actual configuration. What can I do to further invesetigate the issue and understand the root cause?

Thanks.

Contributor guide

Open the contributing guide

Research direction

Start with the reported OrleansTaskScheduler error and compare the Windows and WSL hosting configurations. Reproduce the shutdown under WSL with additional logging and capture the complete exception and environment details. Done means identifying a reproducible Linux-specific cause and documenting an actionable fix or clearly bounded next investigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend, distributed-systems
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.