Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 开启wisp redis报ClosedByInterruptException #591

Open
slqx opened this issue Aug 15, 2023 · 0 comments
Open

[Bug] 开启wisp redis报ClosedByInterruptException #591

slqx opened this issue Aug 15, 2023 · 0 comments

Comments

@slqx
Copy link

slqx commented Aug 15, 2023

Description
开启wisp之后,redis连接报ClosedByInterruptException,关闭后正常

Steps to Reproduce

Caused by: redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
at redis.clients.util.Pool.getResource(Pool.java:42)
at xxx(内部类)
... 24 common frames omitted
Caused by: redis.clients.jedis.exceptions.JedisConnectionException: java.nio.channels.ClosedByInterruptException
at redis.clients.jedis.Connection.connect(Connection.java:142)
at redis.clients.jedis.BinaryClient.connect(BinaryClient.java:75)
at redis.clients.jedis.BinaryJedis.connect(BinaryJedis.java:1724)
at xxx(内部类)
at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:833)
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:429)
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:360)
at redis.clients.util.Pool.getResource(Pool.java:40)
... 25 common frames omitted
Caused by: java.nio.channels.ClosedByInterruptException: null
at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:202)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:696)
at sun.nio.ch.WispSocketImpl.connect(WispSocketImpl.java:82)
at java.net.Socket.connect(Socket.java:641)
at redis.clients.jedis.Connection.connect(Connection.java:137)
... 32 common frames omitted

JDK version
openjdk version "1.8.0_372"
OpenJDK Runtime Environment (Alibaba Dragonwell Extended Edition 8.15.16) (build 1.8.0_372-b01)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Extended Edition 8.15.16) (build 25.372-b01, mixed mode)

Execution environment
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.3.1611 (Core)
Release: 7.3.1611
Codename: Core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant