In my app some users get a timeout exception. This...
# ktor
t
In my app some users get a timeout exception. This exception is not caught by my code. The stack trace shows no lines referencing my code so I have some difficulties finding the cause. I created an issue about this on GitHub (https://github.com/ktorio/ktor/issues/1263). Does anyone have any suggestions how I could approach this?
m
We've had something similar without using ktor, just plain okhttp. IIRC they disappeared after we bumped the coroutines version. We've never got to the bottom of this issue but it's gone now 🤞
t
That’s great, but I am using the latest coroutines version already. So unfortunately that isn’t an easy fix for me
m
Maybe try looking into coroutines debug ?
t
Already have that enabled 🙂
👍 1
The issue is that I have no idea where this happens in my code. I am unable to reproduce it myself so it is very difficult to fix crash. I am just guessing, but I think I might have forgotten a place to catch this exception, but cannot find it. Maybe its a bug in Ktor, I just don’t know. A more detailed stack trace would really help here.