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

rahulrav

07/01/2018, 12:43 AM
This is the exception i get
Copy code
java.lang.NoClassDefFoundError: Could not initialize class io.ktor.network.tls.CIOCipherSuites
    at io.ktor.client.engine.cio.HttpsConfig.<init>(CIOEngineConfig.kt:26)
    at io.ktor.client.engine.cio.CIOEngineConfig.<init>(CIOEngineConfig.kt:9)
    at io.ktor.client.engine.cio.CIO.create(CIO.kt:14)
    at io.ktor.client.engine.HttpClientEngineKt$config$1.create(HttpClientEngine.kt:47)
    at io.ktor.client.engine.HttpClientEngineFactory$DefaultImpls.create$default(HttpClientEngine.kt:36)
    at io.ktor.client.HttpClient.<init>(HttpClient.kt:32)
    at io.ktor.client.HttpClient.<init>(HttpClient.kt:31)
Any ideas on how I can fix this ?
e

e5l

07/02/2018, 5:33 AM
Hi, @rahulrav. It look's like a bug. Could you report ktor, JDK and OS versions?
r

rahulrav

07/02/2018, 6:05 AM
This only happens on AppEngine standard. Locally everything works.
👀 1
43 Views