You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sometimes i got exceptioin as below.
MySql's wait_timeout value is 600s. so the connection which not used over 10 minutes closed by remote.
after that application generate exception.
how can i fix it?? (is there any way to autoreconnect? or can i retain all connection?)
org.springframework.transaction.CannotCreateTransactionException: Could not open R2DBC Connection for transaction; nested exception is io.r2dbc.spi.R2dbcNonTransientResourceException: Connection validation failed
at org.springframework.r2dbc.connection.R2dbcTransactionManager.lambda$null$5(R2dbcTransactionManager.java:226)
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
When exceeding the connection acquisition retries, you see Connection validation failed errors. When you configure a background eviction interval, you should be able to eliminate this type of failure.
Bug Report
Versions
Current Behavior
sometimes i got exceptioin as below.
MySql's wait_timeout value is 600s. so the connection which not used over 10 minutes closed by remote.
after that application generate exception.
how can i fix it?? (is there any way to autoreconnect? or can i retain all connection?)
my configuration
Table schema
Input Code
-- your SQL here;
Steps to reproduce
Input Code
// your code here;
Expected behavior/code
Possible Solution
Additional context
The text was updated successfully, but these errors were encountered: