Unable to connect to database. Tried 1 times

Hello to All,
I am trying to connect with the Database, and I configured the JDBC plugin in case there is a time-out connection.

jdbc_validate_connection => "true"
jdbc_validation_timeout => "60"

In the first time-out, the connection from my side to the Database goes down, I understand this case happened because, I have scheduled every 1 minute and the jdbc_validation_timeout every 60 seconds,
My question here is, Why is the connection not restored when the Database is stable?
Uploading: image.png...

Thanks,

Hi Mabd,

Can you share your Logstash configuration as code? If you could also share the exact error you are seeing the logs that would also help.