Skip to content

网络波动后导致获取连接失败 #58

@wujunchengman

Description

@wujunchengman
Apache.IoTDB.SessionPoolDepletedException: SessionPool depletion detected: Reconnection failed
 ---> Apache.IoTDB.ReconnectionFailedException: Error occurs when reconnecting session pool. Could not connect to any server
   at Apache.IoTDB.SessionPool.Reconnect(Client originalClient, CancellationToken cancellationToken)
   at Apache.IoTDB.SessionPool.ExecuteClientOperationAsync[TResult](AsyncOperation`1 operation, String errMsg, Boolean retryOnFailure, Boolean putClientBack)
   --- End of inner exception stack trace ---
   at Apache.IoTDB.SessionPool.ExecuteClientOperationAsync[TResult](AsyncOperation`1 operation, String errMsg, Boolean retryOnFailure, Boolean putClientBack)
   at Apache.IoTDB.SessionPool.InsertRelationalTabletAsync(Tablet tablet)
   at Apache.IoTDB.TableSessionPool.InsertAsync(Tablet tablet)
Apache.IoTDB.SessionPoolDepletedException: SessionPool depletion detected: Connection pool is empty and wait time out(2500s)
   at Apache.IoTDB.ConcurrentClientQueue.Take()
   at Apache.IoTDB.SessionPool.ExecuteClientOperationAsync[TResult](AsyncOperation`1 operation, String errMsg, Boolean retryOnFailure, Boolean putClientBack)
   at Apache.IoTDB.SessionPool.InsertRelationalTabletAsync(Tablet tablet)
   at Apache.IoTDB.TableSessionPool.InsertAsync(Tablet tablet)

因为使用的DDNS,中途出现IP变化网络波动后就再也连不上了,有概率出现

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions