taosdata/TDengine

I/O exception (java.net.SocketTimeoutException) caught when processing request to

Open

#24,700 建立於 2024年2月1日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)C (5,002 fork)batch import
help wantedquestion

倉庫指標

Star
 (24,849 star)
PR 合併指標
 (平均合併 1天 1小時) (30 天內合併 4 個 PR)

描述

我的数据是在超级表下分开各个普通表,在我select count(ts) from db.普通表时报连接超时的错误 I/O exception (java.net.SocketTimeoutException) caught when processing request to {}->http://xx.xx.xx.xx:36041: Read timed out org.apache.http.impl.execchain.RetryExec | 113 | Retrying request to {}->http://xx.xx.xx.xx:36041

Cause: java.sql.SQLException: ERROR (2318): Read timed out

; uncategorized SQLException; SQL state []; error code [8984]; ERROR (2318): Read timed out; nested exception is java.sql.SQLException: ERROR (2318): Read timed out 。。。 Caused by: java.sql.SQLException: ERROR (2318): Read timed out at com.taosdata.jdbc.TSDBError.createSQLException(TSDBError.java:72) at com.taosdata.jdbc.utils.HttpClientPoolUtil.execute(HttpClientPoolUtil.java:129) at com.taosdata.jdbc.rs.RestfulStatement.execute(RestfulStatement.java:65) 。。。 我的普通表大概有18435285条,超级表下大概有二三十个普通表 image

这是在我的TDengineGUI里执行的语句是可以执行的,我查阅资料尝试改jdbc的连接超时时间和mybatis-plus的超时时间,没有效果。我的项目是用application.yml配置,把tdengine用mybatis-plus进行映射使用

如果你有相关思路或者解决办法,请帮助我 谢谢!

貢獻者指南