Oğuzhan Soykan
05/11/2026, 9:51 AMError: java.io.IOException: unexpected end of stream on <http://localhost:36389/>...
│ java.io.IOException: unexpected end of stream on <http://localhost:36389/>...
│ at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:42)
│ at io.ktor.client.engine.okhttp.OkHttpEngine.executeHttpRequest(OkHttpEngine.kt:107)
3.4.2 works fine.
The renovate pr and run: https://github.com/Trendyol/stove/actions/runs/25662659272/job/75327028874?pr=1167
Is there any breaking change that I might be missing?Aleksei Tirman [JB]
05/11/2026, 10:32 AMOğuzhan Soykan
05/11/2026, 10:33 AMAleksei Tirman [JB]
05/11/2026, 10:39 AMOğuzhan Soykan
05/11/2026, 11:33 AMfun run(
args: Array<String>,
shouldWait: Boolean = false,
applicationOverrides: () -> Module = { module { } }
): Application {
val config = loadConfiguration<AppConfiguration>(args)
val applicationEngine = embeddedServer(Netty, port = config.port, host = "localhost") {
mainModule(config, applicationOverrides)
}
applicationEngine.monitor.subscribe(ApplicationStarted) {
it.get<ExampleAppConsumer<String, Any>>().start()
}
applicationEngine.monitor.subscribe(ApplicationStopping) {
it.get<ExampleAppConsumer<String, Any>>().stop()
}
applicationEngine.start(wait = shouldWait)
return applicationEngine.application
}Oğuzhan Soykan
05/11/2026, 11:37 AMAleksei Tirman [JB]
05/11/2026, 11:38 AMOğuzhan Soykan
05/11/2026, 11:38 AMAleksei Tirman [JB]
05/11/2026, 11:39 AMOğuzhan Soykan
05/11/2026, 11:53 AMAleksei Tirman [JB]
05/12/2026, 7:30 AMBruce Hamilton
05/12/2026, 7:44 AMBruce Hamilton
05/12/2026, 7:47 AMOğuzhan Soykan
05/12/2026, 8:51 AMBruce Hamilton
05/12/2026, 9:02 AMBruce Hamilton
05/12/2026, 9:07 AMnetty-codec that causes the issue, because Ktor depends on netty-codec-base so it loads conflicting classes from either jar. A workaround would be:
testImplementation("io.grpc:grpc-netty:1.74.0") {
exclude(group = "io.netty", module = "netty-codec")
}Bruce Hamilton
05/12/2026, 9:25 AMOğuzhan Soykan
05/12/2026, 9:26 AMOğuzhan Soykan
05/12/2026, 9:26 AMBruce Hamilton
05/12/2026, 9:29 AMBruce Hamilton
05/12/2026, 9:29 AMOğuzhan Soykan
05/12/2026, 9:33 AMthough swapping out the engine could have other hidden implications for consumers.Exactly 👍
I’ve got a fix with the latest version of Netty too just by depending directly on the codec libIs it going to land with 3.5.0 or is it the exclusion above?
Bruce Hamilton
05/12/2026, 9:34 AMOğuzhan Soykan
05/12/2026, 9:34 AM