ktor-clients
ktor-clients copied to clipboard
Redis Client on Ktor 1.1.3
Hi,
Trying to use the Redis Client on ktor 1.1.3 for session management. When I try to access Redis I get the following exception:
Exception in thread "DefaultDispatcher-worker-1" java.lang.NoSuchMethodError: io.ktor.network.sockets.TcpSocketBuilder.connect(Ljava/net/SocketAddress;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; at io.ktor.experimental.client.redis.RedisClient.createNewPipeline(Redis.kt:152) at io.ktor.experimental.client.redis.RedisClient$postmanService$1.invokeSuspend(Redis.kt:106) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:32) at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:233) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:594) at kotlinx.coroutines.scheduling.CoroutineScheduler.access$runSafely(CoroutineScheduler.kt:60) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:742)
The build files here in this repository point to older dependencies than what ktor 1.1.3 was built with. Could this be a binary incompatibility issue?
Thanks