taosdata/TDengine

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

Open

#24.700 aperta il 1 feb 2024

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)C (5002 fork)batch import
help wantedquestion

Metriche repository

Star
 (24.849 star)
Metriche merge PR
 (Merge medio 1g 1h) (4 PR mergiate in 30 g)

Descrizione

我的数据是在超级表下分开各个普通表,在我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进行映射使用

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

Guida contributor