Open bonsmik opened 5 years ago
This is due to this unfortunate change in pgjdbc: https://github.com/pgjdbc/pgjdbc/issues/1307
Adding sslfactory=org.postgresql.ssl.DefaultJavaSSLFactory
to the JDBC URL should do the trick.
Thanks for the reply. Can I somehow adjust the parameters for jdbc url? There is a environment variable for the url, but amazon rds url ain't static so not sure how to adjust the url.
I set JDBC Driver version like this.
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.2.2</version>
</dependency>
It works for me.
I updated my application to JHipster 5.5.0 and now the deploy fails. I tried to generate a new application with 5.5.0 and its failing as well with the same problem:
This seems to be the error:
The commands I ran: jhipster 5.5.0 monolith app with postgresql ./gradlew -Pprod bootWar -x test boxfuse run tesmi -env=test