TDengine icon indicating copy to clipboard operation
TDengine copied to clipboard

taos connect failed, reason: Invalid app version.

Open sjmGit opened this issue 5 years ago • 11 comments

Bug Description 最新版客户端2.0..15.0连接服务端时报错:taos connect failed, reason: Invalid app version. 服务端跟客户端都是今天全新安装的。

image

sjmGit avatar Feb 03 '21 12:02 sjmGit

会不会原来的没有卸载干净,请详细描述什么情况下报的错,截图或者日志完整一些。

Shawshank-Smile avatar Feb 04 '21 01:02 Shawshank-Smile

会不会原来的没有卸载干净,请详细描述什么情况下报的错,截图或者日志完整一些。

都是第一次装,我是在本地虚拟机装的。以前没有残留。问题是出现在客户端连接服务器的时候报这个错,服务端我能正常使用

1

sjmGit avatar Feb 04 '21 02:02 sjmGit

unable to establish connection check the config and read FAQ on official websiteand

Shawshank-Smile avatar Feb 04 '21 06:02 Shawshank-Smile

具体是哪些config? 我也是第一次安装2.0.16; 服务端能连接,win客户端就是连接不上,端口确认是telnet没有问题

azhen318 avatar Feb 19 '21 01:02 azhen318

请参考一下内容: https://www.taosdata.com/blog/2020/11/11/1941.html taosdata.com/blog/2020/11/11/1961.html https://www.taosdata.com/cn/documentation/cluster https://www.taosdata.com/cn/documentation/faq

Shawshank-Smile avatar Feb 19 '21 01:02 Shawshank-Smile

image 服务器正常; image image 客户端配置; 6030~6042端口都打开,客户端还是连接不上

azhen318 avatar Feb 19 '21 02:02 azhen318

Do you have any supplementary information? At present, this kind of configuration is not successful, it is difficult to encounter.

Shawshank-Smile avatar Feb 20 '21 01:02 Shawshank-Smile

Tks for you response。I have find the problem,because I download wrong win-client type,and wrong taos.dll file。

azhen318 avatar Feb 20 '21 01:02 azhen318

我也遇到这种情况,是windows 客户端问题,Idea连接显示 [9044] JNI ERROR (2354): JNI connection is NULL. 驱动版本: com.taosdata.jdbc taos-jdbcdriver 2.0.33 数据库版本:Version:2.1.3.0

客户端连接报错: Welcome to the TDengine shell from Linux, Client Version:2.1.3.2 Copyright (c) 2020 by TAOS Data, Inc. All rights reserved.

taos connect failed, reason: Unable to establish connection.

windows客户端版本:TDengine-client-2.1.3.2-Windows-x64.exe

程序放到服务器上面可以正常运行,在本机windows系统上面无法连接到linux数据库。

wenlongwljs avatar Aug 10 '21 02:08 wenlongwljs

@azhen318 你是下载的那个版本的客户端

wenlongwljs avatar Aug 10 '21 02:08 wenlongwljs

how to solved?

TomThread avatar Apr 06 '22 10:04 TomThread