https://kotlinlang.org logo
#ktor
Title
# ktor
n

Norbert Sziráczki

05/06/2021, 1:38 PM
Hey folks! I'm using Ktor in a Kotlin Multiplatform project, where I have a strange error. I was wondering if you could help me out on what could be the problem: So far I've been using ktor 1.4.0 with kotlinx serialization 1.0.0-RC and it was working properly (parsing json responses from our backend). I've tried to upgrade today and checked out ktor 1.5.4 with kotlinx serialization 1.2.0 and whenever my app would send a message to the server it instantly fails and returns the following message in the log: 2021-05-06 153833.244 12301-12404/com.myappsid I/System.out: >> Exception: length=164; index=164
t

turansky

05/06/2021, 2:27 PM
Ktor
1.5.4
- depends on serialization runtime
1.1.0
Next Ktor version (last week of May) will be compatible with serialization runtime
1.2.0
2 Views