You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only hit reactor.netty.channel.FluxReceive#startReceiver once
Actual behavior
Hits twice, where second time throws silently the "Only one connection receive subscriber allowed."
In production, sometimes this exception is reported from reactor.core.publisher.Operators : Operator called default onErrorDropped ....
Locally I could only see this exception at the point of throwing inside FluxReceive#startReceiver with a debugger. Later in reactor.core.publisher.MonoFlatMap.FlatMapMain#onError it was done = false, so the exception was never shown anywhere.
The workaround for me is using an ExchangeFilterFunction https://stackoverflow.com/a/48984852/6166627 instead of onStatus. With this approach, I only hit the start receiver once with a debugger. Hopefully, it's gonna fix itself.
Anyway, this ERROR log seems to not affect anything actually, the code still throws MyException
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Expected behavior
Only hit
reactor.netty.channel.FluxReceive#startReceiver
onceActual behavior
Hits twice, where second time throws silently the
"Only one connection receive subscriber allowed."
In production, sometimes this exception is reported from
reactor.core.publisher.Operators : Operator called default onErrorDropped ...
.Locally I could only see this exception at the point of throwing inside
FluxReceive#startReceiver
with a debugger. Later inreactor.core.publisher.MonoFlatMap.FlatMapMain#onError
it wasdone = false
, so the exception was never shown anywhere.Steps to reproduce
My calling code is the following:
the logs:
Reactor Core version
org.springframework:spring-webflux:5.1.6.RELEASE
JVM version (e.g.
java -version
)openjdk version "11.0.1" 2018-10-16
========
The workaround for me is using an ExchangeFilterFunction https://stackoverflow.com/a/48984852/6166627 instead of
onStatus
. With this approach, I only hit the start receiver once with a debugger. Hopefully, it's gonna fix itself.Anyway, this ERROR log seems to not affect anything actually, the code still throws MyException
The text was updated successfully, but these errors were encountered: