-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
None
I'm getting the following in my logs:
2021-09-13 17:54:15.522 ERROR [XNIO-1 I/O-2] [ip-xxxx.ec2.internal] io.undertow.request - UT005076: SSL read loop detected. This should not happen, please report this to the Undertow developers. Current state SslConduit{state=20, outstandingTasks=0, wrappedData=null, dataToUnwrap=DefaultPooledBuffer
{buffer=java.nio.DirectByteBuffer[pos=1548 lim=1600 cap=17408], referenceCount=1}, unwrappedData=null}
I'm using Spring Boot Version 2.4.10, undertow-core 2.2.10.Final, and
io.projectreactor.netty:reactor-netty:1.0.10.
This error only seems to occur for POST requests coming from Salesforce, but not for POST requests coming from my local box with curl.
The next log is as follows:
2021-09-13 17:54:15.522 DEBUG [XNIO-1 I/O-2] [ip-xxxx.ec2.internal] io.undertow.request.io - UT005013: An IOException occurred java.nio.channels.ClosedChannelException: null at java.base/sun.nio.ch.FileChannelImpl.transferFrom(FileChannelImpl.java:767) at io.undertow.conduits.ReadDataStreamSourceConduit.transferTo(ReadDataStreamSourceConduit.java:48) at io.undertow.conduits.FixedLengthStreamSourceConduit.transferTo(FixedLengthStreamSourceConduit.java:127) at org.xnio.conduits.ConduitStreamSourceChannel.transferTo(ConduitStreamSourceChannel.java:83) at io.undertow.channels.DetachableStreamSourceChannel.transferTo(DetachableStreamSourceChannel.java:70) at io.undertow.server.HttpServerExchange$ReadDispatchChannel.transferTo(HttpServerExchange.java:2278) at org.xnio.channels.Channels.drain(Channels.java:913) at io.undertow.server.HttpServerExchange.endExchange(HttpServerExchange.java:1722) at io.undertow.server.AbstractServerConnection$CloseSetter.handleEvent(AbstractServerConnection.java:316) at io.undertow.server.AbstractServerConnection$CloseSetter.handleEvent(AbstractServerConnection.java:296) at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) at org.xnio.StreamConnection.invokeCloseListener(StreamConnection.java:80) at org.xnio.Connection.close(Connection.java:142) at org.xnio.IoUtils.safeClose(IoUtils.java:152) at org.xnio.IoUtils.safeClose(IoUtils.java:168) at io.undertow.protocols.ssl.SslConduit.runReadListener(SslConduit.java:270) at io.undertow.protocols.ssl.SslConduit.access$1600(SslConduit.java:70) at io.undertow.protocols.ssl.SslConduit$SslReadReadyHandler.readReady(SslConduit.java:1274) at io.undertow.protocols.ssl.SslConduit$1.run(SslConduit.java:183) at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:612) at org.xnio.nio.WorkerThread.run(WorkerThread.java:479) |
- duplicates
-
UNDERTOW-1967 UT005076: SSL read loop detected while using Stripe CLI
- Closed
- relates to
-
UNDERTOW-1642 Infinite loop
- Open