-
Notifications
You must be signed in to change notification settings - Fork 14
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
when using a dnode, conn throws an exception #120
Comments
What version of TDengine you are using? Please check if the taosd daemon is still working or had been restarted? |
@sangshuduo Hi |
taospy version is pretty old. Please use latest taospy with pip install -U taospy. And please upgrade your python to 3.7 or up since the taospy 2.4.0+ requests a newer Python. |
Could you please reproduce the problem then upload the taosdlog from the machine taosd running and taoslog here? It's better to clean old log first. The default log file path is /var/log/taos. Thanks. |
When using a dnode, create a connect like this: taos.connect(host=self.host, port=self.port, user=self.user, password=self.pwd, database=self.db, timezone=self.tz).When I use this connect object to query sql twice,it throws an exception:[0x000b]: Unable to establish connection
But, When I create a connect like this: taos.connect(user=self.user, password=self.pwd, database=self.db, timezone=self.tz), it's all ok.In addition, the passing host and port are displayed with multiple dnodes without error too.
system info:
The text was updated successfully, but these errors were encountered: