java获取session时会报

提问参考模版:

  • nebula 版本:2.0.1
com.vesoft client 2.0.0

调用方法:session = pool.getSession(username, password, true) 时,偶现 AuthFailedException

2021-12-10 05:05:17,085 [(pro) WebContainer : [Anonymous][]-95d85823cd71487bbdc94e5352ebbad2-59bb549d77-84-T:7da3b26714cd69fd81251967641c4d6a] ERROR DataSource:96 - null
com.vesoft.nebula.client.graph.exception.AuthFailedException: Auth failed: Authenticate failed: java.net.SocketException: Broken pipe (Write failed)
at com.vesoft.nebula.client.graph.net.SyncConnection.authenticate(SyncConnection.java:59) ~[client-2.0.0.jar!/:?]
at com.vesoft.nebula.client.graph.net.NebulaPool.getSession(NebulaPool.java:108) ~[client-2.0.0.jar!/:?]

用户名密码是没问题的,是连接池配置哪里有问题吗

IP地址端口没问题吧?

IP端口没问题的,刚上线的时候没问题,运行一段时间后就会偶现报这个错

:thinking: 我看过几个类似的帖子,一般来说都是版本不对齐导致的,你确定 Nebula 的版本号和 Java 客户端的版本号是正确的吗?