https://kotlinlang.org logo
Title
k

Kris Wong

01/16/2020, 4:18 PM
An error occurred communicating with http://localhost:8080/validate: Failed to parse request body: request body length should be specified, chunked transfer encoding should be used or keep-alive should be disabled (connection: close) CIO client engine running on an Android emulator. Server side is Ktor Netty engine.
c

cy

01/16/2020, 4:27 PM
Looks like the response was corrupted somehow. There is a known issue that is still not reproduced when headers get corrupted on Android
k

Kris Wong

01/16/2020, 4:29 PM
it works fine running with java, for instance in my unit tests
i guess i'll have to convert my java target to an Android target so I can use one of the Android engines