# ktor

Jose A.

03/01/2021, 12:44 PM
Hi! Using ktor 1.5.2. I'm getting these Netty exceptions in the logs:
Copy code
java.lang.IllegalArgumentException: text is empty (possibly HTTP/0.9)
at io.netty.handler.codec.http.HttpVersion.valueOf(
at io.netty.handler.codec.http.HttpRequestDecoder.createMessage(
at io.netty.handler.codec.http.HttpObjectDecoder.decode(
2021-03-01 12:39:12.067 [eventLoopGroupProxy-4-31] TRACE Application - Failed to decode request
java.lang.IllegalArgumentException: invalid version format: D|¢Þ:À/ÀÀ'À0ÀÀ(/<5=AÀ+À À#À,À
at io.netty.handler.codec.http.HttpVersion.<init>(
INFO Application - >>> REQUEST: Unhandled: GET - /templates <- I added these logs for debugging
The requests are made using Chrome (so it's not HTTP/0.9 for sure). It seems even I get the exceptions the requests are received. Any ideas?

Rustam Siniukov

03/01/2021, 12:47 PM
Hi! Did you have it before 1.5.2?

Jose A.

03/01/2021, 12:50 PM
I don't think so... but I'm getting these errors after a huge update to the service (upgrading many dependencies and server code). The errors are not showing in the tests.
Is there any way to log or debug netty requests to check if these exceptions are not being processed by ktor?
It seems our F5 (the load balancer) is making those TLS calls... So no ktor related problem... Sorry!
👍 1