Disable system out for dropped connections
See original GitHub issueAt least conditionally, otherwise any benchmarking session hangs after a single-shot run and prints every connection to System.out
2018-08-28 12:43:54.623 [engine-thread] ERROR Application - 200 OK: GET - /
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
at sun.nio.ch.IOUtil.write(IOUtil.java:51)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)
at io.ktor.network.sockets.CIOWriterKt$attachForWritingDirectImpl$1$1.doResume(CIOWriter.kt:73)
at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:42)
at kotlinx.coroutines.experimental.DispatchedTask$DefaultImpls.run(Dispatched.kt:150)
at kotlinx.coroutines.experimental.io.internal.MutableDelegateContinuation.run(MutableDelegateContinuation.kt:14)
at io.ktor.network.util.IOCoroutineDispatcher$IODispatchedTask.run(IOCoroutineDispatcher.kt)
at io.ktor.network.util.IOCoroutineDispatcher$IOThread$run$1.doResume(IOCoroutineDispatcher.kt:73)
at kotlin.coroutines.experimental.jvm.internal.CoroutineImpl.resume(CoroutineImpl.kt:42)
at kotlinx.coroutines.experimental.DispatchedTask$DefaultImpls.run(Dispatched.kt:150)
at kotlinx.coroutines.experimental.DispatchedContinuation.run(Dispatched.kt:14)
at kotlinx.coroutines.experimental.EventLoopBase.processNextEvent(EventLoop.kt:136)
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Disable system.out.println logs from Specific Java Package in ...
I am having an API which contains system.out.println. As it is from vendor I cannot comment that. So, I tried to disable from...
Read more >[SOLVED] WiFi keeps disconnecting or dropping out
Click Configure. Go to the Power Management tab. Untick the box next to Allow the computer to turn off this device to save...
Read more >How to Fix Packet Loss: Guide and Top 5 Tools - DNSstuff
Check your connections: First, get rid of the obvious options. · Restart your system: · Try cable connections instead of Wi-Fi · Remove...
Read more >Internet Keeps Dropping? Here's why, and what you need to ...
Internet keeps dropping? Here are some quick and easy fixes that you can apply if your internet broadband keeps disconnecting.
Read more >How To Recognize, Remove, and Avoid Malware
After recovering your operating system, you'll want to go back to steps 2, 3 and 4 to ensure that you've removed the malware....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed since 1.4.0
where can I find this CIO issue ?