"Geofence Entry" notification event triggered multiple times for the same fence

Blueocean3 months ago

Hello,

I have configured the "event forwarding" as per the snippet below. I am able see the "events" in the web-traccar and also able receive the 'event' successfully in the target server. But the "geofence entry" event is being sent multiple times to the target server (about 50 times in a 60 seconds duration when the vehicle is passing thru' the geofence). Even the web traccar i can see the "events" showing 50 times. for e.g even for the same time "2024-01-25 12:31:37" i can see 5 to 10 entries. I suppose that once a device enters the geofence until it exits the geofence I am supposed to see only one "event" in the web traccar and receive one "event" called to the external server instead of multiple as i observed above.

Kindly suggest what could be the issue. Many Thanks !

    <entry key='event.forward.enable'>true</entry>
    <entry key='event.forward.url'>127.0.0.1:8099/events</entry>
    <entry key='event.forward.header'>content-type: application/json</entry>
    <entry key="event.forward.header">Authorization:xxxxx</entry>

    <entry key='web.timeout'>900000</entry>

    <entry key='event.geofenceHandler'>true</entry>

Many thanks.