Skip to content

Only one connection receive subscriber allowed with Content-Type application/x-www-form-urlencoded #541

@dave-fl

Description

@dave-fl

Running on SR1.Finchley.

When the Gateway is under load I am seeing this occasionally. We are not doing anything where we are trying to intercept the response body.

2018-09-11T13:01:39.71-0400 [APP/PROC/WEB/0] OUT 2018-09-11 17:01:39.717 ERROR 14 --- [client-epoll-19] .a.w.r.e.DefaultErrorWebExceptionHandler : Failed to handle request [POST ]
2018-09-11T13:01:39.71-0400 [APP/PROC/WEB/0] OUT java.lang.IllegalStateException: Only one connection receive subscriber allowed.
2018-09-11T13:01:39.71-0400 [APP/PROC/WEB/0] OUT     at reactor.ipc.netty.channel.FluxReceive.startReceiver(FluxReceive.java:276) ~[reactor-netty-0.7.8.RELEASE.jar!/:0.7.8.RELEASE]
2018-09-11T13:01:39.71-0400 [APP/PROC/WEB/0] OUT     at reactor.ipc.netty.channel.FluxReceive.lambda$subscribe$2(FluxReceive.java:127) ~[reactor-netty-0.7.8.RELEASE.jar!/:0.7.8.RELEASE]
2018-09-11T13:01:39.71-0400 [APP/PROC/WEB/0] OUT     at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) ~[netty-common-4.1.27.Final.jar!/:4.1.27.Final]
2018-09-11T13:01:39.71-0400 [APP/PROC/WEB/0] OUT     at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404) ~[netty-common-4.1.27.Final.jar!/:4.1.27.Final]
2018-09-11T13:01:39.71-0400 [APP/PROC/WEB/0] OUT     at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:322) ~[netty-transport-native-epoll-4.1.27.Final-linux-x86_64.jar!/:4.1.27.Final]
2018-09-11T13:01:39.71-0400 [APP/PROC/WEB/0] OUT     at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884) ~[netty-common-4.1.27.Final.jar!/:4.1.27.Final]
2018-09-11T13:01:39.71-0400 [APP/PROC/WEB/0] OUT     at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_172]

Only using retry and rewrite path filter + custom filter which populates headers and sets path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions