Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Firstly, I set org.apache.iotdb.jdbc.Config.rpcThriftCompressionEnable = true; in code, then I use DriverManager.getConnection() to connect, but it failed.
Some logs:
org.apache.iotdb.rpc.IoTDBConnectionException: org.apache.thrift.transport.TTransportException: Socket is closed by peer.
java.sql.SQLException: Can not establish connection with jdbc:iotdb://127.0.0.1:6667/ : Socket is closed by peer..
cn.edu.tsinghua.iotdb.benchmark.tsdb.TsdbException: cn.edu.tsinghua.iotdb.benchmark.tsdb.TsdbException: java.sql.SQLException: Can not establish connection with jdbc:iotdb://127.0.0.1:6667/ : Socket is closed by peer..