iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

当IoTDB重启的时候 连接异常

Open AlixZhao opened this issue 1 year ago • 2 comments

Search before asking

  • [X] I searched in the issues and found nothing similar.

Version

Version 1.3.1

Describe the bug and provide the minimal reproduce step

当我使用iotdb-session的Session范例的代码,连接上IoTDB之后, 使用IoTDB的stop-all.sh,start-all.sh的命令进行重启IoTDB, 那么,Session范例的代码,将永远无法连接上远程的IoTDB。

相关异常信息 Exception in thread "main" org.apache.iotdb.rpc.IoTDBConnectionException: Fail to reconnect to server. Please check server status.192.168.1.23:6667 at org.apache.iotdb.session.SessionConnection.(SessionConnection.java:132) at org.apache.iotdb.session.Session.constructSessionConnection(Session.java:592) at org.apache.iotdb.session.Session.open(Session.java:501) at org.apache.iotdb.session.Session.open(Session.java:459)

What did you expect to see?

当IoTDB重启后,使用iotdb-session的JAVA客户端应用,能够重新连接上IoTDB

What did you see instead?

当IoTDB重启后,使用iotdb-session的JAVA客户端应用,就无法连接上IoTDB

Anything else?

No response

Are you willing to submit a PR?

  • [ ] I'm willing to submit a PR!

AlixZhao avatar Aug 22 '24 10:08 AlixZhao

Hi, this is your first issue in IoTDB project. Thanks for your report. Welcome to join the community!

github-actions[bot] avatar Aug 22 '24 10:08 github-actions[bot]

尝试按照描述的方式进行了尝试,未发现上述问题

CritasWang avatar Oct 11 '24 02:10 CritasWang