Issue with LocationIQ reverse geocoding

Peter5 years ago

Update!
I follow this help "https://www.traccar.org/forums/topic/upgrade-from-42-to-43/page/3/"

  • reload daemon and
  • restart traccar service

Now it works! Thank your help and have a good time!

Mervyn Augustus5 years ago

Damn. Hey Peter... That link seems to have been taken down or something...
It doesn't seem to go anywhere...

Jake Stephens5 years ago

@Mervyn Augustus - It is there, I can view it. Try the one below:
https://www.traccar.org/forums/topic/upgrade-from-42-to-43/

marc3 years ago

And when I click on show address, I got:

Received fatal alert: handshake_failure - SSLHandshakeException (... < JsonGeocoder:107 < ServerResource:57 < ...)

A very easy and quick fix for this problem is simply remove an "S" from the URL, simply change:

<entry key='geocoder.url'>https:// 

to

 <entry key='geocoder.url'>http:// 

What many people overlook is not everyone has their Traccar server set up over a HTTPS connection. To use the location service over HTTPS one needs to have your server set up for HTTPS.

Removing the "S" forces the location service to use a nonencrypted HTTP connection.

Anton Tananaev3 years ago

To use the location service over HTTPS one needs to have your server set up for HTTPS.

This is an incorrect statement. You don't have to have your Traccar server using https to connect to external https service.

marc3 years ago

Hi Anton. I was referring to the server Traccar runs on not Traccar itself. I'm not sure how the Traccar platform (runnning on a server without HTTPS) communicates over LocationIQ's TLSv1. 2 link. Maybe the Traccar platform has its own native SSL?

Anyway, I found just removing the "S" from the URL was all I needed to do to for it to work.