error - Failed to get notificator V 5.7

Yasar Satelital2 years ago

Hi I updated to V 5.7 and is giving me this error

error - Failed to get notificator  - RuntimeException (NotificatorManager:75 < NotificationManager:110 < ... < *:107 < ... < *:106 < *:148 < ConnectionManager:247 < ...)

Also the devices disconnects all the time and it seems is after this error.

Please help

Anton Tananaev2 years ago

Probably some issue in your configuration.

Yasar Satelital2 years ago

I been trying to find documentation on this and I can not find anything. Like a sample file or something

Anton Tananaev2 years ago

Share your config. Specifically notificator.types parameter.

Yasar Satelital2 years ago

I only have this

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

The error message indicates that you're not using the official version 5.7.

Yasar Satelital2 years ago

how I do to get the official version I downloaded from here ?

Yasar Satelital2 years ago

I downloaded traccar-linux-64-5.7.zip from https://www.traccar.org/download

Yasar Satelital2 years ago

I also Register in traccar and there us a key there that i do not find where to put it

Anton Tananaev2 years ago

The link is correct, but the error indicates that it's not what you're using on your server.

Xabi O.2 years ago

I've the same issue, but it only happens when a device exits a geofence, then disconnects from server and then reconect:

2023-05-29 19:26:03  INFO: [T97667981] error - Failed to get notificator  - RuntimeException (NotificatorManager:75 < NotificationManager:110 < ... < *:107 < ... < *:106 < *:148 < BaseEventHandler:40 < ...)
2023-05-29 19:26:03  INFO: [T97667981] disconnected
2023-05-29 19:26:04  INFO: [Ta44c51c9] connected

Also I've downloaded the raspberrypi version from traccar.org.

I've this in notificators line:

<entry key='notificator.types'>telegram,web,mail,sms</entry>

Test message works well.

And, if it help, I've a device model that send's ok geofences exits and doesn't disconnect: Sinotrack ST-901M. The other model that fails are Sinotrack waterproof ST-901 (that were sending geofences exits ok until 5.7).

Thanks

Anton Tananaev2 years ago

There's a notification configuration issue. Seems like you have an empty type.

Xabi O.2 years ago

Well, deleted unused web and sms notificators and still failing.

But what you say doesn't explain why some devices fails geofence exit notification with the RuntimeException and others doesn't.

Thanks in advance for your help.

Anton Tananaev2 years ago

Probably because you only assigned the notification to some devices.

Xabi O.a year ago

I have finally fixed my problem with notifications.
I don't know how, but two rows of notifiers had been created in the database, one without data and the other with data. This last was used by the devices that were working.
However, on the web, when choosing a notifier for all devices, I could only choose the one that contained data in the database, but it worked for some devices and not for others.
Once the empty row was deleted and the notifications reconfigured, everything worked ok.
I hope this solution can help someone.
Thanks.