You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/11/30 12:33:07 UTC

[GitHub] [shardingsphere] zjcnb opened a new issue #13872: Load database server info failed.

zjcnb opened a new issue #13872:
URL: https://github.com/apache/shardingsphere/issues/13872


   ### Which version of ShardingSphere did you use?
   
   `master`
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   
   `ShardingSphere-Proxy`
   
   ### Expected behavior
   
   No error message
   
   ### Actual behavior
   
   ```
   Exception in thread "main" org.apache.shardingsphere.infra.exception.ShardingSphereException: Load database server info failed:
   	at org.apache.shardingsphere.proxy.database.DatabaseServerInfo.<init>(DatabaseServerInfo.java:44)
   	at org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.lambda$setDatabaseServerInfo$0(BootstrapInitializer.java:96)
   	at java.util.Optional.ifPresent(Optional.java:159)
   	at org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.setDatabaseServerInfo(BootstrapInitializer.java:95)
   	at org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.init(BootstrapInitializer.java:71)
   	at org.apache.shardingsphere.proxy.Bootstrap.main(Bootstrap.java:47)
   Caused by: java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 3001ms.
   	at com.zaxxer.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:689)
   	at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:196)
   	at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:161)
   	at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:100)
   	at org.apache.shardingsphere.proxy.database.DatabaseServerInfo.<init>(DatabaseServerInfo.java:39)
   	... 5 more
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] zjcnb closed issue #13872: Load database server info failed.

Posted by GitBox <gi...@apache.org>.
zjcnb closed issue #13872:
URL: https://github.com/apache/shardingsphere/issues/13872


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] zjcnb commented on issue #13872: Load database server info failed.

Posted by GitBox <gi...@apache.org>.
zjcnb commented on issue #13872:
URL: https://github.com/apache/shardingsphere/issues/13872#issuecomment-993114464


   I adjust `connectionTimeoutMilliseconds` param, is ok.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org