Connection refused error - no position updates or notifications

smalloak672 years ago

My setup: traccar 5.2 running since years on my synology / docker

But since yesterday, I have tons of error messages in my logfile and no position updates or notifications :-(
The error message is repeated every 10 to 15 seconds

What is or could be the problem?

2022-07-30 12:11:29  INFO: Operating system name: Linux version: 4.4.180+ architecture: amd64
2022-07-30 12:11:30  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Alpine version: 11.0.15+10-alpine-r1
2022-07-30 12:11:30  INFO: Memory limit heap: 494mb non-heap: 0mb
2022-07-30 12:11:30  INFO: Character encoding: UTF-8 charset: UTF-8
2022-07-30 12:11:30  INFO: Version: 5.2
2022-07-30 12:11:30  INFO: Starting server...
2022-07-30 12:11:32  INFO: HikariPool-1 - Starting...
2022-07-30 12:11:32  WARN: Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2022-07-30 12:11:33  INFO: HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@73f6da69
2022-07-30 12:11:33  INFO: HikariPool-1 - Start completed.
2022-07-30 12:11:33  INFO: Clearing database change log checksums
2022-07-30 12:11:34  INFO: Successfully acquired change log lock
2022-07-30 12:11:34  INFO: Successfully released change log lock
2022-07-30 12:11:34  INFO: Successfully acquired change log lock
2022-07-30 12:11:34  INFO: Cannot load service: liquibase.parser.ChangeLogParser: liquibase.parser.core.json.JsonChangeLogParser Unable to get public no-arg constructor
2022-07-30 12:11:34  INFO: Cannot load service: liquibase.parser.ChangeLogParser: liquibase.parser.core.yaml.YamlChangeLogParser Unable to get public no-arg constructor
2022-07-30 12:11:36  INFO: Reading from traccar.DATABASECHANGELOG
2022-07-30 12:11:44  INFO: Reading from traccar.DATABASECHANGELOG
2022-07-30 12:11:44  INFO: Cannot load service: liquibase.hub.HubService: Provider liquibase.hub.core.StandardHubService could not be instantiated
2022-07-30 12:11:44  INFO: Successfully released change log lock
2022-07-30 12:11:46  INFO: jetty-10.0.7; built: 2021-10-06T19:34:02.766Z; git: da8a4553af9dd84080931fa0f8c678cd2d60f3d9; jvm 11.0.15+10-alpine-r1
2022-07-30 12:11:46  INFO: Started o.t.w.@6f70a21b{/,null,AVAILABLE}
2022-07-30 12:11:47  INFO: Session workerName=node0
2022-07-30 12:11:47  INFO: [T4c3d0818] connected
2022-07-30 12:11:47  INFO: [T4c3d0818: tlt2h < 172.17.0.1] 23383634343530303430323631343733234d543630305f34472330303030234155544f23310d0a233030303131646466633064244750524d432c3130353034312e30302c412c353035342e373833362c4e2c30303730372e313339352c452c34392e31372c3131382e36352c3330303732322c2c2c412a36420d0a23230d0a
2022-07-30 12:11:50  WARN: JAXBContext implementation could not be found. WADL feature is disabled.
2022-07-30 12:11:51  INFO: Started o.e.j.s.ServletContextHandler@191a0351{/,null,AVAILABLE}
2022-07-30 12:11:51  INFO: Started ServerConnector@4e1ce44{HTTP/1.1, (http/1.1)}{0.0.0.0:8082}
2022-07-30 12:11:51  INFO: Started Server@66b59b7d{STARTING}[10.0.7,sto=0] @25901ms
2022-07-30 12:11:52  WARN: No systemd support - Unable to load library 'systemd':
Error loading shared library libsystemd.so: No such file or directory
Error loading shared library libsystemd.so: No such file or directory
Native library (linux-x86-64/libsystemd.so) not found in resource path (tracker-server.jar) - UnsatisfiedLinkError (... < TaskHealthCheck:49 < <gener:-1 < *:-1 < ... < ScheduleManager:42 < ...)
2022-07-30 12:11:54  INFO: user: 2, action: login, from: 172.17.0.1
2022-07-30 12:11:56  INFO: [T4c3d0818] error - Connection refused (Connection refused) - ConnectException (... < NotificatorTraccar:77 < NotificationManager:104 < ... < *:101 < ... < *:100 < *:124 < BaseEventHandler:40 < ...)
2022-07-30 12:11:56  INFO: [T4c3d0818] disconnected
2022-07-30 12:12:14  INFO: [T76e3403c] connected
2022-07-30 12:12:14  INFO: [T76e3403c: tlt2h < 172.17.0.1] 23383634343530303430323631343733234d543630305f34472330303030234155544f23310d0a233030303131633163663038244750524d432c3130353130312e30302c412c353035342e363733302c4e2c30303730372e343937382c452c33382e39382c3131342e38372c3330303732322c2c2c412a36420d0a23230d0a
2022-07-30 12:12:20  INFO: [T76e3403c] error - Connection refused (Connection refused) - ConnectException (... < NotificatorTraccar:77 < NotificationManager:104 < ... < *:101 < ... < *:100 < *:124 < BaseEventHandler:40 < ...)
2022-07-30 12:12:20  INFO: [T76e3403c] disconnected
Anton Tananaev2 years ago
smalloak672 years ago

It's a docker setup - there is no way to change a jar-file :-(
What can I do?

Anton Tananaev2 years ago

When did you install it?

smalloak672 years ago

July 23

Anton Tananaev2 years ago

Try reinstalling it.

smalloak672 years ago

I stopped the container, deleted all images and recreated the stack.

Now I see this:

2022-07-30 15:16:02  INFO: Operating system name: Linux version: 4.4.180+ architecture: amd64
2022-07-30 15:16:02  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Alpine version: 11.0.15+10-alpine-r1
2022-07-30 15:16:02  INFO: Memory limit heap: 512mb non-heap: 0mb
2022-07-30 15:16:02  INFO: Character encoding: UTF-8 charset: UTF-8
2022-07-30 15:16:02  INFO: Version: 5.2
2022-07-30 15:16:02  INFO: Starting server...
2022-07-30 15:16:05  INFO: HikariPool-1 - Starting...
2022-07-30 15:16:06  WARN: Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2022-07-30 15:16:06  INFO: HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@723048bd
2022-07-30 15:16:06  INFO: HikariPool-1 - Start completed.
2022-07-30 15:16:07  INFO: Clearing database change log checksums
2022-07-30 15:16:07  INFO: Successfully acquired change log lock
2022-07-30 15:16:08  INFO: Successfully released change log lock
2022-07-30 15:16:08  INFO: Successfully acquired change log lock
2022-07-30 15:16:08  INFO: Cannot load service: liquibase.parser.ChangeLogParser: liquibase.parser.core.json.JsonChangeLogParser Unable to get public no-arg constructor
2022-07-30 15:16:08  INFO: Cannot load service: liquibase.parser.ChangeLogParser: liquibase.parser.core.yaml.YamlChangeLogParser Unable to get public no-arg constructor
2022-07-30 15:16:11  INFO: Reading from traccar.DATABASECHANGELOG
2022-07-30 15:16:17  INFO: Reading from traccar.DATABASECHANGELOG
2022-07-30 15:16:17  INFO: Cannot load service: liquibase.hub.HubService: Provider liquibase.hub.core.StandardHubService could not be instantiated
2022-07-30 15:16:17  INFO: Successfully released change log lock
2022-07-30 15:16:19  WARN: Port disabled due to conflict - Address in use - BindException (...)
2022-07-30 15:16:19  INFO: jetty-10.0.7; built: 2021-10-06T19:34:02.766Z; git: da8a4553af9dd84080931fa0f8c678cd2d60f3d9; jvm 11.0.15+10-alpine-r1
2022-07-30 15:16:19  INFO: Started o.t.w.@33063f5b{/,null,AVAILABLE}
2022-07-30 15:16:19  INFO: Session workerName=node0
2022-07-30 15:16:21  WARN: JAXBContext implementation could not be found. WADL feature is disabled.
2022-07-30 15:16:21  INFO: Started o.e.j.s.ServletContextHandler@563ccd31{/,null,AVAILABLE}
2022-07-30 15:16:21  INFO: Started ServerConnector@1416cf9f{HTTP/1.1, (http/1.1)}{0.0.0.0:8082}
2022-07-30 15:16:21  INFO: Started Server@7d3fb0ef{STARTING}[10.0.7,sto=0] @27690ms
2022-07-30 15:16:21  WARN: No systemd support - Unable to load library 'systemd':
Error loading shared library libsystemd.so: No such file or directory
Error loading shared library libsystemd.so: No such file or directory
Native library (linux-x86-64/libsystemd.so) not found in resource path (tracker-server.jar) - UnsatisfiedLinkError (... < TaskHealthCheck:49 < <gener:-1 < *:-1 < ... < ScheduleManager:42 < ...)
2022-07-30 15:16:42  INFO: user: 2, action: login, from: 192.168.178.168
2022-07-30 15:17:03  INFO: [T303bf3a1] connected
2022-07-30 15:17:03  INFO: [T303bf3a1: tlt2h < 18.196.213.123] 23383634343530303430323631343733234d543630305f34472330303030234155544f23310d0a233030303131626166623031244750524d432c3130353635312e30302c412c353035342e343135332c4e2c30303730392e303831392c452c2c3235342e34382c3330303732322c2c2c412a34340d0a23230d0a
2022-07-30 15:17:05  WARN: Geocoder network error - HTTP 429 Too Many Requests - ClientErrorException (... < JsonGeocoder:126 < NotificationManager:97 < *:124 < BaseEventHandler:40 < ...)
2022-07-30 15:17:05  INFO: [T303bf3a1] error - Connection refused (Connection refused) - ConnectException (... < NotificatorTraccar:77 < NotificationManager:104 < ... < *:101 < ... < *:100 < *:124 < BaseEventHandler:40 < ...)
2022-07-30 15:17:05  INFO: [T303bf3a1] disconnected

And I don't see the correct position of the device.

Anton Tananaev2 years ago

The issue is with push notifications. You can temporary disable it and enable once a new version is out.

smalloak672 years ago

Has 5.1 the same bug?

How to disable the push notification?
Only remove traccar in the config file:

<entry key='notificator.types'>web,mail,traccar</entry>
Anton Tananaev2 years ago

Version 5.1 has other issues.

Yes, you just need to remove "traccar".