I need a little help, I just updated to version 4.4 of traccar and it does not allow me to load the web interface I restart the service and it starts working again but 10 minutes later it fails again and what makes me strange is that in the log it does not aparaece nothing
root@FCB6BDA:/opt/traccar/logs# tail tracker-server.log 2019-05-01 17:22:12 INFO: [fb41839c] id: 864895030908188, time: 2019-05-01 17:2 2:10, lat: 19.64634, lon: -101.16445, speed: 10.9, course: 287.3 2019-05-01 17:22:12 INFO: [31603f39] id: 352887079094078, time: 2019-05-01 17:2 2:10, lat: 19.57162, lon: -100.46661, course: 0.0 2019-05-01 17:22:12 INFO: [28fe612e: gps103 < 220.127.116.11] HEX: 696d65693a383 6343138303033333537363130342c747261636b65722c3139303530313131323135372c2c462c313 7323135332e3030302c412c313934312e313336302c4e2c31303131312e383831362c572c342e333 02c32382e36353b 2019-05-01 17:22:13 INFO: [28fe612e] id: 864180033576104, time: 2019-05-01 17:2 1:53, lat: 19.68560, lon: -101.19803, speed: 4.3, course: 28.7 2019-05-01 17:22:13 INFO: [9841c8b0: gps103 < 18.104.22.168] HEX: 3836383638333 032373130363131353b 2019-05-01 17:22:13 INFO: [9841c8b0: gps103 > 22.214.171.124] HEX: 4f4e 2019-05-01 17:22:14 INFO: [e0720f8c: gps103 < 126.96.36.199] HEX: 696d65693a38 36343138303033363832373337312c747261636b65722c3139303530313033353934332c2c462c30 39353933392e3030302c412c313934382e373739302c4e2c31303130332e323131362c572c302e30 302c303b 2019-05-01 17:22:14 INFO: [f5596668: gps103 < 188.8.131.52] HEX: 696d65693a38 36343839333033323835303338332c747261636b65722c3139303530313131323231332c2c462c31 37323231332e30302c412c313933392e36333232312c4e2c31303131322e33323934332c572c302e 3030302c303b 2019-05-01 17:22:14 INFO: [e0720f8c] id: 864180036827371, time: 2019-05-01 09:5 9:39, lat: 19.81298, lon: -101.05353, course: 0.0 2019-05-01 17:22:14 INFO: [f5596668] id: 864893032850383, time: 2019-05-01 17:2 2:13, lat: 19.66054, lon: -101.20549, course: 0.0 root@FCB6BDA:/opt/traccar/logs#
check the log again and give me this error
ERROR: Thread exception - For input string: "" - NumberForma tException (... < Config:114 < PropertiesProvider:53 < MailManager:49 < ...) 2019-05-01 17:34:59 ERROR: Thread exception - For input string: "" - NumberForma tException (... < Config:114 < PropertiesProvider:53 < MailManager:49 < ...)
I have had the same issue, web interface was not responding anymore with nothing special in the logs, it printed an error about the connection. This happened about 15 minutes after upgrading to 4.4.
Have you checked browser console?
Unfortunately, no, I first tried to reload the page, which failed. I had to restart the whole traccar process to get the page again. If/when I get this again, I will check the browser console.
Popup window that appears: Error: Communication failure
From browser console, I get:
unreachable code after return statement[Learn More] ext-all.js:22:366125 Firefox can’t establish a connection to the server at wss://traccar.arnor.org/api/socket. app.min.js:462:467
Device movements are still appearing in logs after that crash.
Traccar app is also unable to connect, so that's really the whole web interface which is down, not only for one session.
BTW, I am using MariaDB and had to change the connection parameter.
<entry key='database.url'>jdbc:mysql://127.0.0.1:3306/traccar?serverTimezone=UTC&useSSL=false& amp;allowMultiQueries=true&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&a mp;sessionVariables=sql_mode=''</entry>
What happens to the network calls? Are APIs still responsive?
I have started it on the console directly with "/usr/local/jdk-1.8.0/bin/java -XX:-UsePerfData -jar /usr/local/share/traccar/tracker-server.jar /etc/traccar/traccar.xml" and there is nothing special printed in the output.
Do you have an example of what you want me to test?
I am currently trying with debug.html
Unfortunately, debug.html didn't give better results :(
Firefox can’t establish a connection to the server at wss://traccar.arnor.org/api/socket. Root.js:197:17
I am now trying to run it with the websocket libraries used in 4.3 (websocket-*-9.4.14.v20181114.jar)
Have a look here: https://github.com/eclipse/jetty.project/issues/3615
running it only with older websocket libs made it last longer, but it still hangs. I am now trying with all jetty libs.