Device keeps connecting and disconnecting.

matli10 months ago

Hi all.

I have a VL502 from JIMIIOT that keeps connecting and disconnecting with the following error in the log. Interesting is that the other VL502 devices stay well connected to the server and the VL502 in question does connect well on another platform. So I am a bit puzzled here. Any hints are appreciated. I noticed when I remove the device from the server and re-add it it appears to be fine for a longer period of time. But at some point this issue appears again.

Chris

2024-01-07 22:48:57  INFO: [T794aa360] connected
2024-01-07 22:48:57  INFO: [T794aa360: huabao < 49.130.130.242] 7e0102000f4f07788ef50200f1383638393335303630303031333030897e
2024-01-07 22:48:57  INFO: [T794aa360: huabao > 49.130.130.242] 7e800100054f07788ef502000000f10102003f7e
2024-01-07 22:48:57  INFO: [T794aa360: huabao < 49.130.130.242] 7e000200004f07788ef50200f2b97e
2024-01-07 22:48:57  INFO: [T794aa360: huabao > 49.130.130.242] 7e800100054f07788ef502000000f20002003d7e
2024-01-07 22:48:57  INFO: [T794aa360: huabao < 49.130.130.242] 7e0200001c4f07788ef5020006000000000000000001554a7d0206cb64f8000000000148240107133924057e
2024-01-07 22:48:59  INFO: [T794aa360] error - MessageBodyReader not found for media type=text/plain;charset=utf-8, type=interface jakarta.json.JsonObject, genericType=interface jakarta.json.JsonObject. - MessageBodyProviderNotFoundException (... < NotificatorTraccar:106 < NotificationManager:110 < ... < *:107 < ... < *:106 < *:148 < BaseEventHandler:40 < ...)
2024-01-07 22:48:59  INFO: [T794aa360] disconnected
Anton Tananaev10 months ago

You have some issue with push notifications.

matli10 months ago

Hi Anton,

Thanks for the quick reply.

Yes correct. I noticed it too. I removed the "Traccar" notification type from the device and it appears to at least resolve the connect / disconnect issue. This is fine now. SMS, Email, Web and Telegram notifications work as they should for all devices. Just the "Traccar" notification type itself does not work as intended for all devices.

Can you pinpoint anything specific from the log?

Anton Tananaev10 months ago

Not really. You have to check the response payload to see what the problem is.

matli10 months ago

Ok, let me do some digging and see whether I can pinpoint the cause.

Thanks,
Chris

Urdanegui Castillo 10 months ago

I have the same problem with GT06N - ST-901 - FMB 920 devices, among others they connect and disconnect and send me intrusively repeated notifications of Power On and if I turn off the notification another assigned notification repeats.

The device is offline, connect and disconnect

matli10 months ago

Just a quick update.

After upgrading to version 5.11 the previous issue with "Traccar" notification type causing an error vanished ;) In other words, after upgrading all works as intended. I retained the version 5.10 configuration - so not sure who or what did the magic.

Best,
Christian

Anton Tananaev10 months ago

Please try again. We improved response errors.

matli10 months ago

@Anton, yes after upgrading to version 5.11 (now 5.12) the error disappeared.