Reputation: 31
Facing connection issue while connecting to postgresql pod running in OpenShift environment. Details are as below
URL: jdbc:postgresql://XXX:5432/YYY?sslmode=require
Flyway 4.2.0 by Boxfuse
ERROR:
Unable to obtain Jdbc connection from DataSource (jdbc:postgresql://XXX:5432/YYY?sslmode=require) for user 'ABC': SSL error: Connection reset
Just wanted to confirm if I need to add certificates to make the connection work?
Please advise.
Upvotes: 1
Views: 4936
Reputation: 31
We have fixed this issue by upgrading flyway version to 6.0.7 and postgres driver version to 42.2.8.
The below URL string worked jdbc:postgresql://XXX:5432/YYY?sslmode=require
Thank you all.
Upvotes: 0
Reputation: 175
I would recommend checking the networking setup of your application which basically means have a look at:
Upvotes: -2