Uncaught runtime errors:
×
ERROR
BodyStreamBuffer was aborted
AbortError: BodyStreamBuffer was aborted
at io.ktor.client.fetch.abort_$external_fun (webpack-internal:///./kotlin/confetti.uninstantiated.mjs:6348:73)
at <com.example:compose-web>.io.ktor.client.engine.js.JsClientEngine$execute$lambda.invoke (<http://localhost:8080/fcf42d9a82ea8519e5a0.wasm:wasm-function[82423]:0xc694e2>)
at <com.example:compose-web>.io.ktor.client.engine.js.JsClientEngine$execute$lambda.invoke (<http://localhost:8080/fcf42d9a82ea8519e5a0.wasm:wasm-function[82424]:0xc6950a>)
at <com.example:compose-web>.kotlinx.coroutines.InvokeOnCancelling.invoke (<http://localhost:8080/fcf42d9a82ea8519e5a0.wasm:wasm-function[24699]:0x6edad7>)
John O'Reilly
12/01/2024, 10:11 AM
hmm, it doesn't happen consistently
r
Rok Oblak
12/01/2024, 10:16 AM
I've had these since earlier Kotlin versions. I think it's about ktor calls being cancelled due to user navigating away and clearing the coroutine scope in my case. Didn't go deep into trying to ignore those though.
b
bashor
12/01/2024, 11:28 AM
I think, it’s worth filing an issue to ktor, at least sharing in #C0A974TJ9