-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
failed to connect to server #2489
Comments
toas client log:
================================================== |
taos server log: |
OK, we'll check it. |
taos server没用docker,server跑在一台本地服务器上面,为了测试 我构建了一个docker ubuntu 18.04的镜像 然后把taos 客户端1660 copy过去 然后在容器中安装客户端,然后taos -h 服务器这样连接的,执行查询或者插入就会阻塞 |
对的 144是我docker宿主机地址 169是taos server服务器所在地址,不用docker是可以的 这只是我测试来着,但是项目要打包在docker镜像中跑啊,现在的问题就是项目跑着跑着就阻塞了 我才排查测试出这个问题所在,,网络的话 这个taos客户端是可以连接服务端的啊 这代表网络就是通的不是嘛 |
TDengine-server-1.6.6.0-Linux-x64.tar.gz TDengine-client-1.6.6.0-Linux-x64.tar.gz |
不好意思才回复您,因为一直在测试问题,, 下面是服务端log ,麻烦了~ |
抱歉 之前的log修改debugflag没有成功 ,我又重新复现了一下问题 这次是135的log |
|
阻塞问题解决了, 我这面把 sockettype 从udp改成了tcp之后不存在阻塞问题了 , 应该是C的指针内存问题 或者是堆栈溢出等等 ,咱们这边关注一下 |
docker镜像里taos客户端连接服务端
taos server版本 1.6.6.0
测试docker镜像ubuntu18.04 taos client 版本1.6.6.0
问题:可以连接 可以use database 可以describe table,但是不能select insert
会直接阻塞在那持续一段时间抛出异常 failed to connect to server
因为项目打包在docker镜像上运行 ,所以也存在该问题
The text was updated successfully, but these errors were encountered: