Telegram notification not working correct in Traccar 5.0

HJvD2 years ago

Yes. The second and the third warnings were on some other place in the logs the last eight days and only once. The

"WARN: JAXBContext implementation could not be found. WADL feature is disabled." 

I found on several places in the logs the last eight days.

Tried starting the service in the cmd screen with --stacktrace command, but did not succeed. Too difficult for me.

Anton Tananaev2 years ago

That JAXBContext warning is expected. To enable stack traces you need to set logger.fullStackTraces config parameter.

HJvD2 years ago

Added to the config file this line:

<entry key="logger.fullStackTraces">true</entry>

This was the output:

2022-06-01 20:05:22  INFO: [T0fef0bda: osmand > 127.0.0.1] 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2022-06-01 20:05:22  INFO: [T0fef0bda] id: 908508, time: 2022-06-01 20:05:22, lat: 52.55157, lon: 5.88854, course: 0.0
...
2022-06-01 20:55:36  INFO: Session workerName=node0
2022-06-01 20:55:37  WARN: JAXBContext implementation could not be found. WADL feature is disabled.
2022-06-01 20:55:37  INFO: Started o.e.j.s.ServletContextHandler@57116303{/,null,AVAILABLE}
2022-06-01 20:55:37  INFO: Started ServerConnector@41ac6f06{HTTP/1.1, (http/1.1)}{0.0.0.0:8082}
2022-06-01 20:55:37  INFO: Started Server@4c79e2db{STARTING}[10.0.7,sto=0] @10397ms
2022-06-01 20:56:34  INFO: user: 2, action: login
2022-06-01 20:57:10  INFO: user: 2, action: edit, object: notification, id: 6
2022-06-01 20:57:59  INFO: user: 2, action: login
2022-06-01 20:58:44  INFO: user: 2, action: edit, object: notification, id: 6
2022-06-01 20:58:56  INFO: user: 2, action: edit, object: notification, id: 6
Anton Tananaev2 years ago

Without warnings it doesn't really provide any new information.

Marcin2 years ago

In Settings>Users>Attributes, My Notification token is 972 letters long. Maybe there is something wrong?

Marcin2 years ago

I have had another notificator.types in default.xml.
Edited it to web,telegram and deleted from traccar.xml
After resart service: In modern UI still no telegram in dropdown in oldUI it is available.
And the settings from old are working and notifacations arrive promptly

HJvD2 years ago

I notice that in the dropdownlist below there is also a selection to be made. In my case Web and Mail are shown, telegram not, but i can select a small space at the bottem of the dropdwonlist where, I think, I can select Telegram. Maybee a sidebar in the dropdownlist, or a lager field, could solve the problem of Telegram not shown?

Anton Tananaev2 years ago

Looks like we never had a localized name for it, so that's why it doesn't show. You should still be able to select that empty item for the Telegram.

Chris2 years ago

Hi,

Same problem with pushover

Regards
Chris

Anton Tananaev2 years ago

The issue is already fixed on master.

Chris2 years ago

Perfect

Thank you!!

btw: Great job on the new UI