Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection opens and immediately closes on Linux using .NET 5 #43

Open
KrytenCoder opened this issue Mar 31, 2021 · 1 comment
Open

Comments

@KrytenCoder
Copy link

As the title suggests I am using Scs on a linux server with .NET 5 runtimes. When a connection opens, it immediately closes with a error "Resource temporarily unavailable".

I have fixed this by removing the code around the connection method in TcpHelper.cs which disables Blocking and then re-enables it again right after. This change works now with no noticeable side effects.

Could you explain why Blocking was disabled while connecting? Also could this cause issues later when I test with more connections?

@gfazzola
Copy link

gfazzola commented Oct 3, 2023

in .net 6 with linux debian 11 it does not work. I've been investigating but I can't find how to fix it.
MY BAD. Removing the code works.
Just see if there are any side effects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants