Skip to content

Redis Client on Ktor 1.1.3 #8

Open
@jjdestef3

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions