问题描述

Redission客户端连接Azure:客户端出现 Unable to send PING command over channel ... ...  io.netty.channel.StacklessClosedChannelException: null at io.netty.channel.AbstractChannel$AbstractUnsafe.write(Object, ChannelPromise)(Unknown Source)

 

问题解答

这个问题主要是 StacklessClosedChannelException Channel 已经关闭,在 pingConnectionInterval  设定的时间内无法获取到Redis服务心跳返回(PING/PONG), 主要的排查方向为检查 客户端Redis服务端 的网络状态。 

 

参考资料

Unable to send PING command over channel: [id: 0xcffcc397, L:/10.16.18.65:57542 ! R:/10.18.8.156:6380] #3273 : https://github.com/redisson/redisson/issues/3273

Unable to send PING command over channel #3072 : https://github.com/redisson/redisson/issues/3072