Geocoding failed - Received fatal alert

Abou4 years ago

i use v4.6 and i want to get the address of the real position. In my traccar config file (traccar.xml) i use locationIQ API, like bellow !!!

    <entry key='geocoder.enable'>true</entry>
    <entry key='geocoder.type'>nominatim</entry>
    <entry key='geocoder.url'>https://eu1.locationiq.com/v1/reverse.php</entry>
    <entry key='geocoder.key'>my token</entry>

But is not working!!!! my traccar error log

2020-04-22 13:26:28  INFO: [65dddf54] connected
2020-04-22 13:26:28  INFO: [65dddf54: radar < 185.209.0.62] HEX: 0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d696e697374720d0a0100080003000000
2020-04-22 13:26:28  WARN: [65dddf54] error - Adjusted frame length exceeds 1024: 28527 - discarded - TooLongFrameException (... < WrapperInboundHandler:57 < ... < StandardLoggingHandler:43 < ... < NetworkMessageHandler:37 < ...)
2020-04-22 13:26:28  INFO: [65dddf54] disconnected
2020-04-22 13:26:32  INFO: [4117adba: gps103 < 41.188.67.139] HEX: 696d65693a3335393731303034373337353933372c747261636b65722c3230303432323231323633302c2c462c3133323633302e3030302c412c313830352e383233392c4e2c30313535372e373838332c572c302e30302c303b
2020-04-22 13:26:33  WARN: Geocoding failed - Received fatal alert: handshake_failure - SSLHandshakeException (...)
2020-04-22 13:26:33  INFO: [4117adba] id: 359710047375937, time: 2020-04-22 13:26:30, lat: 18.09707, lon: -15.96314, course: 0.0

Help!!!

Anders Yuran4 years ago

Should the type really be nominatim? It say soin the documentstion but it sounds suspicious. nominatim is another provider

Anton Tananaev4 years ago
Abou4 years ago

i tried to change the value of

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

but is not working !!

tracker-server-log:

2020-04-23 09:15:02  WARN: Geocoding failed - Received fatal alert: handshake_failure - SSLHandshakeException (...)

Any idea?

Anton Tananaev4 years ago

Try using different Java VM.