I am using SignalR to implement the Chat in asp.net but when I open multiple tabs of my web application I am getting "Waiting for Available Sockets...".
I have implemented all settings specified on Performance Tuning SignalR but my problem is not getting solved from this.
How can I resolve this issue?
The default keepalive timeout period is currently 20 seconds. If your client code tries to call a Hub method while SignalR is in reconnecting mode, SignalR will try to send the command.
ASP.NET Core SignalR is a library that simplifies adding real-time web functionality to apps. It uses WebSockets whenever possible. For most applications, we recommend SignalR rather than raw WebSockets.
You can get the “Waiting for available sockets” error in Chrome when the connection sockets get overloaded. Freeing up the sockets can resolve this issue for good. Flushing the sockets will make them available for your connection. Type “Chrome://net-internal” (no quotes) into the address bar and hit the Enter key.
As already indicated in the comments, you're hitting the connection limit per hostname which is enforced by the browser.
Your basic options are
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With