I stopped the traccar services and after I edited windows traccar services path to value
C:\Program Files\Traccar\jre\bin\java.exe -Djdk.tls.server.protocols=TLSv1.2 -Duser.dir="C:\Program Files\Traccar" -jar "C:\Program Files\Traccar\tracker-server.jar" --service ".\conf\traccar.xml"
and started again. I the same error. The login screen do not open. ( I use SSL with IISS as proxy)
in logs continue to appear:
error - Received fatal alert: handshake_failure - SSLHandshakeException (... < JsonGeocoder:107 < NotificationManager:72 < *:117 < BaseEventHandler:29 < ...)
on web (press F12) appear:
Uncaught TypeError: Cannot read property 'setExtent' of null
at Function.<anonymous> (app.min.js:301)
at Ext.Inventory.processCreate (ext-all.js:22)
at Ext.Inventory.processCreate (ext-all.js:22)
at Function.<anonymous> (ext-all.js:22)
at Function.onBeforeCreated (ext-all.js:22)
at Function.doProcess (ext-all.js:22)
at Function.process (ext-all.js:22)
at new d (ext-all.js:22)
at Ext.Inventory.create (ext-all.js:22)
at Object.define (ext-all.js:22)
Help please!
JB
C:\Program Files\Traccar\jre\bin\java.exe -Djdk.tls.client.protocols=TLSv1.2 -Duser.dir="C:\Program Files\Traccar" -jar "C:\Program Files\Traccar\tracker-server.jar" --service ".\conf\traccar.xml"
also did not work
for windows users
adding -Dhttps.protocols=TLSv1.2
in the service string is work for me
C:\Program Files\Traccar\jre\bin\java.exe -Dhttps.protocols=TLSv1.2 -Duser.dir="C:\Program Files\Traccar" -jar "C:\Program Files\Traccar\tracker-server.jar" --service ".\conf\traccar.xml"
Thank you @Yuri. Finally works again :)
So the SC command will be :
SC CONFIG traccar binPath= C:\Program Files\Traccar\jre\bin\java.exe -Dhttps.protocols=TLSv1.2 -Duser.dir="C:\Program Files\Traccar" -jar "C:\Program Files\Traccar\tracker-server.jar" --service ".\conf\traccar.xml"
I am getting a syntax error, can you please help?
I think you need to put the whole string in quotes.
Yes that was my first thought, but it doesn't work. You can't have quotes inside the quotes, and if I remove the inside codes the service won't start.
thanks for the prompt response by the way
Just use regedit to modify the traccar service.
I have the same problem, so I [faster] solved editing directly by regedit.exe
JB
Hi guys, thanks for the help.
Done, reverse geocoding is working again.
I knew I could change the path from regedit.exe, but it's generally a good idea to avoid it.
Never the less it's done and it's working fine I even restarted windows to be sure the service will still start and it works just fine.
Thanks
no errors, but then also has no INFO from protocols, sql has all.
all works, need restart
Same trouble here. Running Traccar 4.2 with Nominatim on a server and worky.
Now running Traccar 4.3 on localhost (windows) = no worky.
Error:
Geocoding failed - javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - ProcessingException (...)
Added -Dhttps.protocols=TLSv1.2 to the service and still the same error.
Thanks for any suggestions.
How do you set the protocol version system property?
You need to edit windows service path. Possibly you can use SC.exe utility or some other tool.