Created
September 13, 2021 11:39
-
-
Save daniesso/298bd30e654848b37305b8863c015301 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[TCP server] Started TCP server on port 10001 | |
[TCP server] Started TCP server on port 10002 | |
[TCP server] Listening... | |
[TCP server] Listening... | |
[TCP server] Reading request... | |
[TCP server] Received request: | |
GET / HTTP/1.1 | |
Host: 127.0.0.1:10001 | |
Accept-Charset: UTF-8 | |
Accept: */* | |
User-Agent: Ktor client | |
[TCP server] Responding... | |
[Client] Is http client healthy? true | |
[Client] Making request... | |
[TCP server] Reading request... | |
[TCP server] Received request: | |
GET / HTTP/1.1 | |
Host: 127.0.0.1:10002 | |
Accept-Charset: UTF-8 | |
Accept: */* | |
User-Agent: Ktor client | |
[TCP server] Responding... | |
[Client] Reading response... | |
java.io.EOFException: Invalid chunk: content block of size 5 ended unexpectedly | |
at io.ktor.http.cio.ChunkedTransferEncodingKt.decodeChunked(ChunkedTransferEncoding.kt:92) | |
at io.ktor.http.cio.ChunkedTransferEncodingKt$decodeChunked$3.invokeSuspend(ChunkedTransferEncoding.kt) | |
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) | |
at kotlinx.coroutines.internal.DispatchedContinuation.resumeWith(DispatchedContinuation.kt:215) | |
at io.ktor.utils.io.internal.CancellableReusableContinuation.resumeWith(CancellableReusableContinuation.kt:93) | |
at io.ktor.utils.io.ByteBufferChannel.resumeReadOp(ByteBufferChannel.kt:2171) | |
at io.ktor.utils.io.ByteBufferChannel.tryTerminate$ktor_io(ByteBufferChannel.kt:408) | |
at io.ktor.utils.io.ByteBufferChannel.close(ByteBufferChannel.kt:155) | |
at io.ktor.utils.io.ByteChannelKt$ByteChannel$1.close(ByteChannel.kt:32) | |
at io.ktor.utils.io.ByteWriteChannelKt.close(ByteWriteChannel.kt:177) | |
at io.ktor.utils.io.ByteReadChannelKt.copyAndClose(ByteReadChannel.kt:272) | |
at io.ktor.utils.io.ByteReadChannelKt$copyAndClose$1.invokeSuspend(ByteReadChannel.kt) | |
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) | |
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) | |
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) | |
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) | |
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) | |
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665) | |
java.io.EOFException: Invalid chunk: content block of size 5 ended unexpectedly | |
at io.ktor.http.cio.ChunkedTransferEncodingKt.decodeChunked(ChunkedTransferEncoding.kt:92) | |
at io.ktor.http.cio.ChunkedTransferEncodingKt$decodeChunked$3.invokeSuspend(ChunkedTransferEncoding.kt) | |
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) | |
at kotlinx.coroutines.internal.DispatchedContinuation.resumeWith(DispatchedContinuation.kt:215) | |
at io.ktor.utils.io.internal.CancellableReusableContinuation.resumeWith(CancellableReusableContinuation.kt:93) | |
at io.ktor.utils.io.ByteBufferChannel.resumeReadOp(ByteBufferChannel.kt:2171) | |
at io.ktor.utils.io.ByteBufferChannel.tryTerminate$ktor_io(ByteBufferChannel.kt:408) | |
at io.ktor.utils.io.ByteBufferChannel.close(ByteBufferChannel.kt:155) | |
at io.ktor.utils.io.ByteChannelKt$ByteChannel$1.close(ByteChannel.kt:32) | |
at io.ktor.utils.io.ByteWriteChannelKt.close(ByteWriteChannel.kt:177) | |
at io.ktor.utils.io.ByteReadChannelKt.copyAndClose(ByteReadChannel.kt:272) | |
at io.ktor.utils.io.ByteReadChannelKt$copyAndClose$1.invokeSuspend(ByteReadChannel.kt) | |
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) | |
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) | |
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) | |
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) | |
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) | |
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665) | |
java.io.EOFException: Invalid chunk: content block of size 5 ended unexpectedly | |
at io.ktor.http.cio.ChunkedTransferEncodingKt.decodeChunked(ChunkedTransferEncoding.kt:92) | |
[TCP server] Reading request... | |
[TCP server] Received request: | |
GET / HTTP/1.1 | |
Host: 127.0.0.1:10001 | |
Accept-Charset: UTF-8 | |
Accept: */* | |
User-Agent: Ktor client | |
[TCP server] Responding... | |
[Client] Is http client working? false | |
[Client] Is http client working? false | |
[Client] Is http client working? false | |
at io.ktor.http.cio.ChunkedTransferEncodingKt$decodeChunked$3.invokeSuspend(ChunkedTransferEncoding.kt) | |
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) | |
at kotlinx.coroutines.internal.DispatchedContinuation.resumeWith(DispatchedContinuation.kt:215) | |
at io.ktor.utils.io.internal.CancellableReusableContinuation.resumeWith(CancellableReusableContinuation.kt:93) | |
at io.ktor.utils.io.ByteBufferChannel.resumeReadOp(ByteBufferChannel.kt:2171) | |
at io.ktor.utils.io.ByteBufferChannel.tryTerminate$ktor_io(ByteBufferChannel.kt:408) | |
at io.ktor.utils.io.ByteBufferChannel.close(ByteBufferChannel.kt:155) | |
at io.ktor.utils.io.ByteChannelKt$ByteChannel$1.close(ByteChannel.kt:32) | |
at io.ktor.utils.io.ByteWriteChannelKt.close(ByteWriteChannel.kt:177) | |
at io.ktor.utils.io.ByteReadChannelKt.copyAndClose(ByteReadChannel.kt:272) | |
at io.ktor.utils.io.ByteReadChannelKt$copyAndClose$1.invokeSuspend(ByteReadChannel.kt) | |
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) | |
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) | |
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) | |
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) | |
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) | |
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665) | |
java.io.EOFException: Invalid chunk: content block of size 5 ended unexpectedly | |
at io.ktor.http.cio.ChunkedTransferEncodingKt.decodeChunked(ChunkedTransferEncoding.kt:92) | |
at io.ktor.http.cio.ChunkedTransferEncodingKt$decodeChunked$3.invokeSuspend(ChunkedTransferEncoding.kt) | |
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) | |
at kotlinx.coroutines.internal.DispatchedContinuation.resumeWith(DispatchedContinuation.kt:215) | |
at io.ktor.utils.io.internal.CancellableReusableContinuation.resumeWith(CancellableReusableContinuation.kt:93) | |
at io.ktor.utils.io.ByteBufferChannel.resumeReadOp(ByteBufferChannel.kt:2171) | |
at io.ktor.utils.io.ByteBufferChannel.tryTerminate$ktor_io(ByteBufferChannel.kt:408) | |
at io.ktor.utils.io.ByteBufferChannel.close(ByteBufferChannel.kt:155) | |
at io.ktor.utils.io.ByteChannelKt$ByteChannel$1.close(ByteChannel.kt:32) | |
at io.ktor.utils.io.ByteWriteChannelKt.close(ByteWriteChannel.kt:177) | |
at io.ktor.utils.io.ByteReadChannelKt.copyAndClose(ByteReadChannel.kt:272) | |
at io.ktor.utils.io.ByteReadChannelKt$copyAndClose$1.invokeSuspend(ByteReadChannel.kt) | |
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) | |
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) | |
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) | |
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) | |
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) | |
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665) | |
Process finished with exit code 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment