Giter Club home page Giter Club logo

Comments (9)

JavenJin avatar JavenJin commented on June 16, 2024 1

好的,谢谢,应该是连接不稳定的原因。
我发现当我在taos.cfg中添加下面的配置后就不会报错了

rpcForceTcp 1

from taos-connector-dotnet.

xleili avatar xleili commented on June 16, 2024

TDengine.Cleanup() 只需要在程序的退出的时候调用一次就好。不需要每次连接都调用
调用该函数会 cleanup client environment。

from taos-connector-dotnet.

JavenJin avatar JavenJin commented on June 16, 2024

@xleili 你好我遇到了问题
如下的代码会在第18行报错,但我不知道该如何修复它。

image

TDengine版本:2.6.0.28
TDengineDriver版本:1.0.8
TDengine Client版本:2.6.0.28

from taos-connector-dotnet.

xleili avatar xleili commented on June 16, 2024

18 行的异常信息是 连接失败的信息吗?还是有别的异常?

from taos-connector-dotnet.

JavenJin avatar JavenJin commented on June 16, 2024

报错的原因是因为connection2的值是IntPtr.Zero
image
设置debugFlag 135后日志报错如下:
image

日志附件:
log.zip

from taos-connector-dotnet.

xleili avatar xleili commented on June 16, 2024

日志再发一下吧,附件是个空文件夹

from taos-connector-dotnet.

JavenJin avatar JavenJin commented on June 16, 2024

抱歉

log.zip

from taos-connector-dotnet.

xleili avatar xleili commented on June 16, 2024

抱歉

log.zip

收到了

from taos-connector-dotnet.

xleili avatar xleili commented on June 16, 2024

image
我自己按照你的提供的版本跑了一下,没有碰到问题。
我看log中显示,第一连接成功了,第二连接失败了。应该是不是连接器的问题,可以在检查一下,服务端这个期间是不是有问题。

image
消息是发送了,但是没有收到响应。

from taos-connector-dotnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.