Closed yang-xiaodong closed 2 months ago
Hello @smedjes,
I tested it locally and couldn't reproduce your issue. However, I did find that it's possible to check the connection status when returning the connection to the pool. I will attempt a fix, but I'm not sure if it will be effective for you.
@yang-xiaodong I could test it if you could provide a prerelease! :)
@yang-xiaodong I could test it if you could provide a prerelease!
Good! version 8.2.0-preview-234883029
with this patch is released to NuGet in a few minutes ago.
It works, thanks @yang-xiaodong!
We were apparently using an older version of CAP (8.0.1), so I wanted to make sure it wasn't a bug that's already been fixed.
I upgraded to your prerelease and it was working. Then I downgraded to version 8.1.2 and there I'm still getting the error. Now I've upgraded again, and it's working again.
Fixed in version 8.2.0.
Can this be an issue for NATS as well? I'm investigating an issue we're having that seems to be occurring after I stop and restart nats-server.
So I'm able to receive messages, but when I try to publish I get a error saying the connection is closed. Do you have any ideas?
Thanks in advance!
Originally posted by @smedjes in https://github.com/dotnetcore/CAP/issues/533#issuecomment-2159897063