Home > Back-end >  Using TXLCN to connect to redis cluster, the program runs in a few minutes to the following error al
Using TXLCN to connect to redis cluster, the program runs in a few minutes to the following error al

Time:09-18

Hello everyone, I built a redis cluster, use TXLCN to link cluster, the program runs a few minutes later to quote the following error, consult the bosses how to solve, thank you very much:
Org. Springframework. Data. Redis. RedisSystemException: Unknown redis exception; Nested exception is Java. Lang. ClassCastException: com. Sun. Proxy. $Proxy126 always be cast to the IO. Lettuce. Core. API. Sync. RedisCommands
The at org. Springframework. Data. Redis. FallbackExceptionTranslationStrategy. GetFallback (53) FallbackExceptionTranslationStrategy. Java:
The at org. Springframework. Data. Redis. FallbackExceptionTranslationStrategy. Translate (43) FallbackExceptionTranslationStrategy. Java:
The at org. Springframework. Data. Redis. Connection. Lettuce. LettuceConnection. ConvertLettuceAccessException (LettuceConnection. Java: 268)
At org. Springframework. Data. Redis. Connection. Lettuce. LettuceConnection. Discard (LettuceConnection. Java: 623)
At org. Springframework. Data. Redis. Connection. DefaultStringRedisConnection. Discard (DefaultStringRedisConnection. Java: 273)
At org. Springframework. Data. Redis. Core. RedisTemplate. Lambda $$22 discard (RedisTemplate. Java: 1019)
The at org. Springframework. Data. Redis. Core. RedisTemplate. Execute (RedisTemplate. Java: 224)
The at org. Springframework. Data. Redis. Core. RedisTemplate. Execute (RedisTemplate. Java: 184)
At org. Springframework. Data. Redis. Core. RedisTemplate. Discard (RedisTemplate. Java: 1018)
At com. Codingapi. TXLCN. Tm. Core. Storage. Redis. RedisStorage. RefreshMachines (RedisStorage. Java: 269)
At com. Codingapi. TXLCN. Tm. Support. Service. Impl. ManagerServiceImpl. RefreshMachines (ManagerServiceImpl. Java: 86)
At com. Codingapi. TXLCN. Tm. TXMSG. EnsureIdGenEngine. OnTmReceivedHeart (EnsureIdGenEngine. Java: 61)
Ty at com.codingapi.txlcn.txmsg.net. The handler. RpcCmdDecoder. ChannelRead0 (RpcCmdDecoder. Java: 61)
Ty at com.codingapi.txlcn.txmsg.net. The handler. RpcCmdDecoder. ChannelRead0 (RpcCmdDecoder. Java: 40)
At io.net ty. Channel. SimpleChannelInboundHandler. ChannelRead (SimpleChannelInboundHandler. Java: 105)
At io.net ty. Channel. AbstractChannelHandlerContext. InvokeChannelRead (AbstractChannelHandlerContext. Java: 374)
At io.net ty. Channel. AbstractChannelHandlerContext. InvokeChannelRead (AbstractChannelHandlerContext. Java: 360)
At io.net ty. Channel. AbstractChannelHandlerContext. FireChannelRead (AbstractChannelHandlerContext. Java: 352)
At io.net, ty. Handler. Codec. MessageToMessageDecoder. ChannelRead (MessageToMessageDecoder. Java: 102)
At io.net ty. Channel. AbstractChannelHandlerContext. InvokeChannelRead (AbstractChannelHandlerContext. Java: 374)
At io.net ty. Channel. AbstractChannelHandlerContext. InvokeChannelRead (AbstractChannelHandlerContext. Java: 360)
At io.net ty. Channel. AbstractChannelHandlerContext. FireChannelRead (AbstractChannelHandlerContext. Java: 352)
At io.net, ty. Handler. A timeout. IdleStateHandler. ChannelRead (IdleStateHandler. Java: 287)
At io.net ty. Channel. AbstractChannelHandlerContext. InvokeChannelRead (AbstractChannelHandlerContext. Java: 374)
At io.net ty. Channel. AbstractChannelHandlerContext. InvokeChannelRead (AbstractChannelHandlerContext. Java: 360)
At io.net ty. Channel. AbstractChannelHandlerContext. FireChannelRead (AbstractChannelHandlerContext. Java: 352)
At io.net, ty. Handler. Codec. ByteToMessageDecoder. FireChannelRead (ByteToMessageDecoder. Java: 323)
At io.net, ty. Handler. Codec. ByteToMessageDecoder. ChannelRead (ByteToMessageDecoder. Java: 297)
At io.net ty. Channel. AbstractChannelHandlerContext. InvokeChannelRead (AbstractChannelHandlerContext. Java: 374)
At io.net ty. Channel. AbstractChannelHandlerContext. InvokeChannelRead (AbstractChannelHandlerContext. Java: 360)
At io.net ty. Channel. AbstractChannelHandlerContext. FireChannelRead (AbstractChannelHandlerContext. Java: 352)
At io.net ty. Channel. DefaultChannelPipeline $HeadContext. ChannelRead (DefaultChannelPipeline. Java: 1408)
At io.net ty. Channel. AbstractChannelHandlerContext. InvokeChannelRead (AbstractChannelHandlerContext. Java: 374)
At io.net ty. Channel. AbstractChannelHandlerContext. InvokeChannelRead (AbstractChannelHandlerContext. Java: 360)
At io.net ty. Channel. DefaultChannelPipeline. FireChannelRead (DefaultChannelPipeline. Java: 930)
At io.net ty. Channel. Nio. AbstractNioByteChannel $NioByteUnsafe. Read (163) AbstractNioByteChannel. Java:
At io.net, ty. Channel. Nio. NioEventLoop. ProcessSelectedKey (NioEventLoop. Java: 682)
At io.net, ty. Channel. Nio. NioEventLoop. ProcessSelectedKeysOptimized (NioEventLoop. Java: 617)
At io.net, ty. Channel. Nio. NioEventLoop. ProcessSelectedKeys (NioEventLoop. Java: 534)
At io.net, ty. Channel. Nio. NioEventLoop. Run (NioEventLoop. Java: 496)
At io.net ty. Util. Concurrent. SingleThreadEventExecutor $5. The run (906) SingleThreadEventExecutor. Java:
At io.net ty. Util. Internal. ThreadExecutorMap $2. The run (74) ThreadExecutorMap. Java:
At io.net ty. Util. Concurrent. FastThreadLocalRunnable. Run (30) FastThreadLocalRunnable. Java:
The at Java. Lang. Thread. The run (Thread. Java: 748)
Under Caused by: Java. Lang. ClassCastException: com. Sun. Proxy. $Proxy126 always be cast to the IO. Lettuce. Core. API. Sync. RedisCommands
nullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related