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

dm6801

11/11/2020, 6:51 PM
Getting an exception when trying to use Session feature (cookies) combined with SSL Caused by: java.lang.UnsupportedOperationException: null at io.ktor.server.netty.http2.NettyHttp2ApplicationRequest.getCookies(NettyHttp2ApplicationRequest.kt:64) at io.ktor.sessions.SessionTransportCookie.receive(SessionTransportCookie.kt:28) at io.ktor.sessions.SessionsKt.receiveSessionData(Sessions.kt:204) at io.ktor.sessions.Sessions$Feature$install$1.invokeSuspend(Sessions.kt:59) NettyHttp2ApplicationRequest64
Copy code
override val cookies: RequestCookies
    get() = throw UnsupportedOperationException()
working as intended or should I open a youtrack bug?
2 Views