-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Description
Describe the bug
I'm receiving "Writing is not allowed after writer was completed" on the latest release of SignalR with .NET Core 2.2. We previously used 1.0.0-rc1-final without any issues, and all of a sudden started receiving this issue with 1.1 on the client. We also receive a lot of "Task was cancelled" from the RedisHubLifetimeManager. Attaching screenshots below.
We ran SignalR 1.1 on the backend with 1.0.0-rc1-final on the client without any issues, but when we upgraded our client to 1.1, we started receiving this in our logs.
Another change we did while upgrading was to add "skipNegotiate: true" on the client, as well as forcing websockets. Not sure if this is related. I can't reproduce the error locally, since it doesn't happen often and seems related to only a few of our clients.
Also, the server seems to go down quite often after the upgrade. Can't seem to find any reason for this, but it was stable before we upped our clients.
To Reproduce
Can't reproduce the error locally, we just see it in our production environment logs.
Expected behavior
Expected it to be gone with 1.1.0, since I saw previous reports of the problem on RC versions.
Screenshots
Screenshot of writing is not allowed message:
Screenshot of task cancelled exception:
Additional context
dotnet --info
output:
This is on our production environment. Locally we have the 2.2 runtime.
EDIT: If this issue is misplaced or inproper, feel free to close it. I didn't know where to turn.