problem with postgres 11 and traccar 4.5

mrchala5 years ago

I can not run traccar 4.5 with postgres 11.
What could be the error?
my logs ....

ERROR: HikariPool-1 - Exception during pool initialization. - Received fatal alert: handshake_failure - SSLHandshakeException (... < DataManager:139 < *:89 < Context:292 < Main:110 < ...)
2019-07-03 20:23:40 ERROR: Main method error - Received fatal alert: handshake_failure - SSLHandshakeException (... < DataManager:139 < *:89 < Context:292 < Main:110 < ...)

traccar.conf

<entry key='database.driver'>org.postgresql.Driver</entry>
<entry key='database.url'>jdbc:postgresql://localhost:5432/traccar_45</entry>
<entry key='database.user'>[user]</entry>
<entry key='database.password'>[pass]</entry>
Anton Tananaev5 years ago

Search for Received fatal alert: handshake_failure - SSLHandshakeException.

Tony Shelver5 years ago
<entry key='database.driver'>org.postgresql.Driver</entry>
<entry key='database.url'>jdbc:postgresql://127.0.0.1:5432/traccar</entry>

That has been working for me on my local Ubuntu 18:04 / PG11 test setup and on our production system (Ubuntu 18.04 servier / PG11) for quite a while. Production is traccar 4.5, local is 4.3

Not sure why it would need a patch.

Make sure you can access PG11 traccar DB from another client using the same credentials...