TDengine
TDengine copied to clipboard
TDengine failed to create a connect connection using the Python connector: Ref is not there
linux版本:Linux version 3.10.0-1160.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Mon Oct 19 16:18:59 UTC 2020 TD版本: 2.4.0.16 测试代码: `import datetime import time
import taos
def test_connection(): # all parameters are optional. # if database is specified, # then it must exist. conn = taos.connect(host="*******", port=6030, user="root", password="", database="") print('client info:', conn.client_info) print('server info:', conn.server_info) conn.close()
if name == "main": i = 0 while 1: test_connection() print("_____________________") i += 1 print(i) print(datetime.datetime.now()) time.sleep(1)
` 使用python创建connect连接时偶发性报错[0x010a]: Ref is not there
TD客户端和服务端均配置 rpcForceTCP 1
有解决方案吗,C#驱动创建连接也会出现这种偶发性报错,要崩溃了