I've been getting Application stopped with the lat...
# ktor
h
I've been getting Application stopped with the latest version of ktor when trying to do autoreload
o
cc @Bruce Hamilton
b
any more information? it won't reload and requests fail?
h
actually it's when i try to login with auth-form and start a new session. maybe it has something to do with the session? I noticed I keep getting logged out every time auto reload happens, but i guess that makes sense because I'm storing the session in memory, but it should work fine after I try to login again right?
o
but it should work fine after I try to login again right
It should What exactly goes wrong? Do you see "Application stopped" logs? Could you please provide some reproducer?
h
I see it in the web browser. It is happening in my project here: github.com/horatiothomas/ktor-exposed-auth
o
I will try to reproduce it
👍 1
Actually, the cause is DI plugin and how it works with application lifecycle @Bruce Hamilton I'll create a PR with a fix
👀 1
b
likely this change that caused it https://github.com/ktorio/ktor/pull/5557 looks like things are a bit out of sequence now
👍 1