Hi. On Ktor v3 we started to see ```io.ktor.http.c...
# ktor
j
Hi. On Ktor v3 we started to see
Copy code
io.ktor.http.cio.ParserException: No colon in HTTP header in ---2decf504-1729420d-4e06394c-490eba8c3ce687f2-69c5b75b7dd22018-478d3286-- in builder: 
---2decf504-1729420d-4e06394c-490eba8c3ce687f2-69c5b75b7dd22018-478d3286--
	at io.ktor.http.cio.HttpParserKt.noColonFound(HttpParser.kt:293)
it's not deterministic, our requests looks like this:
Copy code
REQUEST: <http://i9ns-api/v1/[REDACTED]>
METHOD: HttpMethod(value=PUT)
COMMON HEADERS
-> Accept: application/json
-> Accept-Charset: UTF-8
-> X-Correlation-ID: db9ce14c-0593-4793-bede-a919c1643cc4
CONTENT HEADERS
-> Content-Length: 2455053
-> Content-Type: multipart/form-data; boundary=-2decf504-1729420d-4e06394c-490eba8c3ce687f2-69c5b75b7dd22018-478d3286
then, since we have some retries configured, request is immediately resend (even with the same
boundary=...
and second time it works correctly. Is that a know issue? Ktor 3.0.1, Netty Engine
a
I haven't encountered such an issue. Is possible to make it reproducible sometimes?
j
I tried, but wasn't able to. It happens very rarely, say once per 1000 requests. server is started via
Copy code
embeddedServer(
    Netty,
    module = { .... }
)
and then using
call.receiveMultipart()
It happens sometimes in incoming traffic from outside world, and much often in the inside kubernetes cluster when client is also a ktor 3.0.1 I will this week update it all to ktor 3.0.2 to see if it helps, but I doubt