Helo. My Traccar is ok with DB H2. If change for postgres the service not start. The config traccar.xml is ok (follow documentation).
Log
2019-06-23 10:08:12 INFO: HikariPool-1 - Starting... 2019-06-23 10:08:13 ERROR: HikariPool-1 - Exception during pool initialization. - Received fatal alert: handshake_failure - SSLHandshakeException (... < DataManager:139 < *:89 < Context:292 < Main:110 < ...)
2019-06-23 10:08:13 ERROR: Main method error - Received fatal alert: handshake_failure - SSLHandshakeException@@@
Traccar.xml
<entry key='database.driver'>org.postgresql.Driver</entry> <entry key='database.url'>jdbc:postgresql://localhost:5432/databasetraccar</entry> <entry key='database.user'>usertraccar</entry> <entry key='database.password'>password@do</entry> </properties> ~
Ubuntu 18.04 LTS
It's related to JDK11.
Solution is modified the (traccar.service).
Change line:
ExecStart=/opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml
To:
ExecStart=/opt/traccar/jre/bin/java -Djdk.tls.client.protocols=TLSv1.2 -jar tracker-server.jar conf/traccar.xml
The file you can find in /etc/systemd/system/multi-user.target.wants/traccar.service
Fixed.
webidus You are the man. Change config in traccar.service. Now ok.
Will Anton have to make any adjustments to his project?
Thank you.
Ubuntu 18.04 LTS (server)
Postgres 10
Yes it is! thanks a lot !
Helo. My Traccar is ok with DB H2. If change for postgres the service not start. The config traccar.xml is ok (follow documentation).
Log
Traccar.xml
<entry key='database.driver'>org.postgresql.Driver</entry> <entry key='database.url'>jdbc:postgresql://localhost:5432/databasetraccar</entry> <entry key='database.user'>usertraccar</entry> <entry key='database.password'>password@do</entry> </properties> ~
Ubuntu 18.04 LTS