Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ByteChannel immediately returning -1? #30

Closed
JasonTheKitten opened this issue Oct 12, 2021 · 5 comments
Closed

ByteChannel immediately returning -1? #30

JasonTheKitten opened this issue Oct 12, 2021 · 5 comments

Comments

@JasonTheKitten
Copy link

JasonTheKitten commented Oct 12, 2021

Hello.
I am encountering problems when using TLS-Channel for this page:
https://wpt.live/css/css-color/color-001.html

This is the only page that I am encountering problems with.
Whenever I try to read from the channel (after sending headers), the ByteChannel only gives -1.
This works fine when I use HTTP instead of HTTPS, and skip using tls-channel, so I suspect that it is a problem with tls-channel.

Edit: Right before it logs that it is returning -1, TLS Channel also logs that it receives 1206 bytes from the stream. However, I logged whether I actually received that from ByteChannel#read() in my code (I only call ByteChannel#read at one point in my code), and tls-channel never actually gives me those 1206 bytes.

11.10.2021 21:47:01.142  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Called engine.beginHandshake()
11.10.2021 21:47:01.144  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.wrap() result: [status=BUFFER_OVERFLOW,handshakeStatus=NEED_WRAP,bytesProduced=0,bytesConsumed=0]; engine status: NEED_WRAP; srcBuffer: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=0 cap=0]], offset=0, length=1], outEncrypted: tlschannel.impl.BufferHolder@4dcc3233
11.10.2021 21:47:01.145  TRACE [Thread-1] tlschannel.impl.BufferHolder - enlarging buffer outEncrypted, increasing from 4096 to 8192 (automatic enlarge)
11.10.2021 21:47:01.145  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.wrap() result: [status=BUFFER_OVERFLOW,handshakeStatus=NEED_WRAP,bytesProduced=0,bytesConsumed=0]; engine status: NEED_WRAP; srcBuffer: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=0 cap=0]], offset=0, length=1], outEncrypted: tlschannel.impl.BufferHolder@4dcc3233
11.10.2021 21:47:01.145  TRACE [Thread-1] tlschannel.impl.BufferHolder - enlarging buffer outEncrypted, increasing from 8192 to 16384 (automatic enlarge)
11.10.2021 21:47:01.146  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.wrap() result: [status=BUFFER_OVERFLOW,handshakeStatus=NEED_WRAP,bytesProduced=0,bytesConsumed=0]; engine status: NEED_WRAP; srcBuffer: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=0 cap=0]], offset=0, length=1], outEncrypted: tlschannel.impl.BufferHolder@4dcc3233
11.10.2021 21:47:01.146  TRACE [Thread-1] tlschannel.impl.BufferHolder - enlarging buffer outEncrypted, increasing from 16384 to 17408 (automatic enlarge)
11.10.2021 21:47:01.147  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.wrap() result: [status=OK,handshakeStatus=NEED_UNWRAP,bytesProduced=396,bytesConsumed=0]; engine status: NEED_UNWRAP; srcBuffer: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=0 cap=0]], offset=0, length=1], outEncrypted: tlschannel.impl.BufferHolder@4dcc3233
11.10.2021 21:47:01.147  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Writing to channel: java.nio.DirectByteBuffer[pos=0 lim=396 cap=17408]
11.10.2021 21:47:01.149  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NEED_UNWRAP,bytesProduced=0,bytesConsumed=0]. Engine status: NEED_UNWRAP; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=4096 cap=4096]], offset=0, length=1]
11.10.2021 21:47:01.149  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.176  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 2726, buffer: java.nio.DirectByteBuffer[pos=2726 lim=4096 cap=4096]
11.10.2021 21:47:01.177  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=OK,handshakeStatus=NEED_TASK,bytesProduced=0,bytesConsumed=127]. Engine status: NEED_TASK; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=4096 cap=4096]], offset=0, length=1]
11.10.2021 21:47:01.189  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.wrap() result: [status=OK,handshakeStatus=NEED_UNWRAP,bytesProduced=6,bytesConsumed=0]; engine status: NEED_UNWRAP; srcBuffer: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=0 cap=0]], offset=0, length=1], outEncrypted: tlschannel.impl.BufferHolder@4dcc3233
11.10.2021 21:47:01.190  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Writing to channel: java.nio.DirectByteBuffer[pos=0 lim=6 cap=17408]
11.10.2021 21:47:01.190  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=OK,handshakeStatus=NEED_UNWRAP,bytesProduced=0,bytesConsumed=6]. Engine status: NEED_UNWRAP; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=4096 cap=4096]], offset=0, length=1]
11.10.2021 21:47:01.191  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=OK,handshakeStatus=NEED_TASK,bytesProduced=0,bytesConsumed=28]. Engine status: NEED_TASK; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=4096 cap=4096]], offset=0, length=1]
11.10.2021 21:47:01.192  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NEED_UNWRAP,bytesProduced=0,bytesConsumed=0]. Engine status: NEED_UNWRAP; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=4096 cap=4096]], offset=0, length=1]
11.10.2021 21:47:01.192  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.192  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 1370, buffer: java.nio.DirectByteBuffer[pos=3935 lim=4096 cap=4096]
11.10.2021 21:47:01.192  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NEED_UNWRAP,bytesProduced=0,bytesConsumed=0]. Engine status: NEED_UNWRAP; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=4096 cap=4096]], offset=0, length=1]
11.10.2021 21:47:01.192  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.202  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 161, buffer: java.nio.DirectByteBuffer[pos=4096 lim=4096 cap=4096]
11.10.2021 21:47:01.204  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=OK,handshakeStatus=NEED_TASK,bytesProduced=0,bytesConsumed=4080]. Engine status: NEED_TASK; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=4096 cap=4096]], offset=0, length=1]
11.10.2021 21:47:01.249  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NEED_UNWRAP,bytesProduced=0,bytesConsumed=0]. Engine status: NEED_UNWRAP; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=4096 cap=4096]], offset=0, length=1]
11.10.2021 21:47:01.249  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.250  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 344, buffer: java.nio.DirectByteBuffer[pos=360 lim=4096 cap=4096]
11.10.2021 21:47:01.250  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=OK,handshakeStatus=NEED_TASK,bytesProduced=0,bytesConsumed=286]. Engine status: NEED_TASK; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=4096 cap=4096]], offset=0, length=1]
11.10.2021 21:47:01.256  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=OK,handshakeStatus=NEED_WRAP,bytesProduced=0,bytesConsumed=74]. Engine status: NEED_WRAP; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=4096 cap=4096]], offset=0, length=1]
11.10.2021 21:47:01.256  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.wrap() result: [status=OK,handshakeStatus=FINISHED,bytesProduced=90,bytesConsumed=0]; engine status: FINISHED; srcBuffer: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=0 cap=0]], offset=0, length=1], outEncrypted: tlschannel.impl.BufferHolder@4dcc3233
11.10.2021 21:47:01.257  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Writing to channel: java.nio.DirectByteBuffer[pos=0 lim=90 cap=17408]
11.10.2021 21:47:01.257  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.wrap() result: [status=OK,handshakeStatus=NOT_HANDSHAKING,bytesProduced=450,bytesConsumed=412]; engine status: NOT_HANDSHAKING; srcBuffer: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=412 lim=412 cap=412]], offset=0, length=1], outEncrypted: tlschannel.impl.BufferHolder@4dcc3233
11.10.2021 21:47:01.257  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Writing to channel: java.nio.DirectByteBuffer[pos=0 lim=450 cap=17408]
11.10.2021 21:47:01.258  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.258  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.258  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.261  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.261  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.261  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.262  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.262  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.262  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.262  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.262  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.262  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.263  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.263  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.263  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.263  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.263  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.264  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.264  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.265  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.265  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.265  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.265  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.265  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.266  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.266  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.266  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.266  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.266  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.266  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.267  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.267  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.267  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.267  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.268  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.268  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.268  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.268  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.268  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.268  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.268  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.268  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.269  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.269  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.269  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.269  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.269  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.269  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.269  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.270  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.270  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.270  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.270  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.270  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.270  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.270  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.270  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.271  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.271  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.271  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.271  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.271  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.271  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.271  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.271  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.271  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.272  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.272  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.272  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.272  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.272  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.272  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.272  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.272  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.272  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.273  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.273  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.273  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.273  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.273  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.273  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.273  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.273  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.273  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.274  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.274  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.274  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.274  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.274  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.274  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.274  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.274  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.274  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.275  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.275  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.275  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.275  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.275  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.275  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.275  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.275  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.276  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.276  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.276  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.276  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.276  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.276  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.276  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.276  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.277  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.277  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.277  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.277  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.277  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.277  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.277  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.277  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.277  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.277  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.278  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.278  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.278  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.278  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.278  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.278  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.278  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.278  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.278  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.278  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.279  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.279  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.279  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.280  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.280  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.280  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.281  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.281  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.281  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.281  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.281  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.282  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.282  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.282  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.282  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.283  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.283  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.283  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.283  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.283  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.283  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.284  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.284  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.284  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 255, buffer: java.nio.DirectByteBuffer[pos=255 lim=4096 cap=4096]
11.10.2021 21:47:01.286  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=OK,handshakeStatus=FINISHED,bytesProduced=0,bytesConsumed=255]. Engine status: FINISHED; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.286  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.286  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.286  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.286  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.287  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.287  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.287  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.287  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.287  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.287  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.287  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.288  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.288  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.288  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.288  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.288  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.288  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.289  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.289  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.289  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.289  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.290  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.290  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.290  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.290  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.290  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.290  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.290  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.290  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.291  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.291  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.291  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.291  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.291  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.291  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.291  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.292  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.292  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.292  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.292  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.292  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.292  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.292  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.292  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.293  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.293  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.293  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.293  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.293  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.293  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.293  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.293  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.293  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.294  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.294  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.294  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.294  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.294  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.294  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.295  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.295  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.295  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.295  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.295  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.295  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.296  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.296  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.296  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.296  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.296  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.297  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.297  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.297  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.297  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.297  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.297  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.297  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.298  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.298  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.298  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.299  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.299  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.299  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.300  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.300  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.300  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.300  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.300  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.300  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.301  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.301  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.301  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.301  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.301  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.301  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.301  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.301  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.301  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.302  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.302  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.302  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.302  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.302  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.302  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.302  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.302  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.302  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.303  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.303  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.303  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.303  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.303  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.303  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.303  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.303  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.303  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.303  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.303  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.304  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.304  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.304  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.304  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.304  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.304  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.304  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.305  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.305  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.305  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.305  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.305  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.305  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.305  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.305  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.305  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.306  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.306  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.306  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.306  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.306  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.306  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.307  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.307  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.307  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.307  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.307  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.307  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.307  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.307  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.307  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.308  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.308  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.308  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.308  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.308  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.308  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.309  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.309  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.309  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.309  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.309  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.309  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.309  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.309  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.309  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.310  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.310  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.310  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.310  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.310  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.310  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.311  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.311  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.311  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.311  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.311  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.311  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.311  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.312  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.312  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 0, buffer: java.nio.DirectByteBuffer[pos=0 lim=4096 cap=4096]
11.10.2021 21:47:01.313  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=BUFFER_UNDERFLOW,handshakeStatus=NOT_HANDSHAKING,bytesProduced=0,bytesConsumed=0]. Engine status: NOT_HANDSHAKING; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.313  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.313  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: 1206, buffer: java.nio.DirectByteBuffer[pos=1206 lim=4096 cap=4096]
11.10.2021 21:47:01.314  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - engine.unwrap() result [status=OK,handshakeStatus=FINISHED,bytesProduced=0,bytesConsumed=255]. Engine status: FINISHED; inEncrypted tlschannel.impl.BufferHolder@4435594d; inPlain: ByteBufferSet[array=[java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]], offset=0, length=1]
11.10.2021 21:47:01.314  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Reading from channel
11.10.2021 21:47:01.314  TRACE [Thread-1] tlschannel.impl.TlsChannelImpl - Read from channel; response: -1, buffer: java.nio.DirectByteBuffer[pos=951 lim=4096 cap=4096]
@marianobarrios
Copy link
Owner

Hi, thanks for the report. Would it be possible to share a (ideally minimal) code that reproduces the problem?

@JasonTheKitten
Copy link
Author

Yes, I will when I get a chance.

@JasonTheKitten
Copy link
Author

JasonTheKitten commented Oct 21, 2021

Here is the reproduction code

(I mean, it could always be my fault, but I don't see anything wrong with this code myself)

import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.URL;
import java.nio.ByteBuffer;
import java.nio.channels.ByteChannel;
import java.nio.channels.SocketChannel;
import java.security.SecureRandom;
import java.util.Collections;

import javax.net.ssl.SNIHostName;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLEngine;
import javax.net.ssl.SSLParameters;

import tlschannel.ClientTlsChannel;
import tlschannel.NeedsReadException;

public class Test {

	public static void main(String[] args) {
		// This works
		runTestForURL("Google", "https://google.com/");
		
		// This works
		runTestForURL("WPT: Working Page", "https://wpt.live/");
		
		// This does not work with TLS-Channel, but works with HttpURLConnection or an actual browser
		runTestForURL("WPT: Failing Page", "https://wpt.live/css/css-color/color-001.html");
	}
	
	private static void runTestForURL(String testName, String url) {
		System.out.println("Running test for " + testName + " (" + url.toString() + ")");
		try {
			HTTPSocket socket = openSocket(new URL(url));
			socket.performTest();
		} catch (Exception e) {
			e.printStackTrace();
			System.out.println("Test error'd");
		}
		System.out.println("-".repeat(20));
	}

	private static class HTTPSocket {
		private final ByteChannel channel;
	
		public HTTPSocket(ByteChannel channel) {
			this.channel = channel;
		}
	
		public void sendRequest(String host, String path) throws IOException {
			channel.write(ByteBuffer.wrap(
				("GET " + (path.isEmpty()?"/":path) + " HTTP/1.1\r\n"
				+ "Accept-Charset: utf-8\r\n"
				+ "Cache-Control: no-cache\r\n"
				+ "Accept: text/html, text/plain\r\n"
				+ "Upgrade-Insecure-Requests: 1\r\n"
				+ "Connection: keep-alive\r\n"
				+ "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36 OPR/80.0.4170.63\r\n"
				+ "Sec-Fetch-Dest: document\r\n"
				+ "Sec-Fetch-Site: cross-site\r\n"
				+ "Sec-Fetch-User: ?1\r\n"
				+ "Host: " + host + "\r\n"
				+ "Accept-Encoding: identity\r\n"
				+ "Sec-Fetch-Mode: navigate\r\n\r\n").getBytes()));
		}
	
		public void performTest() throws IOException {
			ByteBuffer buffer = ByteBuffer.allocate(128);
			
			buffer.clear();
			int rtn;
			while (true) {
				try {
					rtn = channel.read(buffer);
					break;
				} catch (NeedsReadException e) {}
			}
			buffer.flip();
			
			if (rtn == -1) {
				System.out.println("\033[31mERR_IMMEDIATE_CLOSE\033[0m");
			} else {
				System.out.println("FIRST " + rtn + " BYTES:");
				for (int i = 0; i < rtn; i++) {
					System.out.print((char) buffer.get());
				}
				System.out.println("\n");
			}
		}
	}
	
	private static HTTPSocket openSocket(URL url) throws IOException {
		SocketChannel sockChannel = SocketChannel.open();
		sockChannel.connect(new InetSocketAddress(url.getHost(), 443));
		sockChannel.finishConnect();
		
		ByteChannel finalChannel = sockChannel;
		
		try {
			SSLContext sslContext = SSLContext.getInstance("TLSv1.3");
			sslContext.init(null, null, new SecureRandom());
			
			SSLEngine engine = sslContext.createSSLEngine();
			SSLParameters params = engine.getSSLParameters();
			params.setServerNames(Collections.singletonList(new SNIHostName(url.getHost())));
			engine.setSSLParameters(params);
			engine.setUseClientMode(true);
			
			finalChannel = ClientTlsChannel
				.newBuilder(sockChannel, engine)
				.build();
		} catch (Exception e) {
			throw new IOException(e);
		}
		
		HTTPSocket socket = new HTTPSocket(finalChannel);
		socket.sendRequest(url.getHost(), url.getPath());
		
		// Things act weirdly for blocking sockets, so we are using non-blocking for this test
		sockChannel.configureBlocking(false);
		
		return socket;
	}

}

@marianobarrios
Copy link
Owner

Thanks. I could reproduce it, and confirm that I the problem was already gone in master. So I just released 0.5.0.

@JasonTheKitten
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants