Skip to content

TDengine.Connector Open(...) failed (exception!) #30748

@PopeyeZhong

Description

@PopeyeZhong

Bug Description

调用 TDengine.Connector(3.1.6) 类库的 TDengineConnection.Open(...) 方法,得到一个内部异常,异常消息为:

Calling the TDengineConnection.Open(...) method of the TDengine.Connector(3.1.6)
got an internal exception with the message:

code:[0x0],error:success

OR

code:[0xd],error:Permission denied

另外,可以确认不是账户和密码问题,因为我们用同样的用户和密码通过 client 和 TDengine 自带的 Web 管理页面都可以正常访问。

Environment:

Additional Context
异常栈信息:

   at TDengine.Driver.Client.Native.NativeClient..ctor(ConnectionStringBuilder builder)
   at TDengine.Driver.Client.DbDriver.Open(ConnectionStringBuilder builder)
   at TDengine.Data.Client.TDengineConnection.Open()
   at Zongsoft.Data.Common.DataSession.SessionCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Zongsoft.Data.Common.DataSelectExecutor.LazyCollection`1.GetEnumerator()
   at System.Linq.Enumerable.<ToArray>g__EnumerableToArray|314_0[TSource](IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions