Hi
I'm using the forward message feature on 3.15 and 3.17
I'm seeing lots of duplicated messages that are forwarded, is this a known issue with a known fix?
See here for the data snapshot, as you can see there were 3 messages from 3 different devices, however, there were 5 or 6 forwarded messages for each device:
Traccar logs
2018-08-06 07:08:28 DEBUG: [39959780: 5014 < 105.230.106.137] HEX: 24454120410221001b06081807083601200659036424337d0000000053000000024a8408e2
2018-08-06 07:08:28 INFO: [39959780] id: 4541204102, time: 2018-08-06 07:08:36, lat: -1.33443, lon: 36.70723, speed: 0.0, course: 0.0
2018-08-06 07:08:28 DEBUG: [43FBA87B: 11001 < 154.76.214.234] HEX: 78780a13040604000200b6bbe60d0a
2018-08-06 07:08:28 DEBUG: [43FBA87B: 11001 > 154.76.214.234] HEX: 7878051300b7394c0d0a
2018-08-06 07:08:29 INFO: [43FBA87B] id: 358899058819668, time: 2018-08-06 05:58:40, lat: -1.33434, lon: 36.70728, speed: 0.0, course: 152.0
2018-08-06 07:08:29 DEBUG: [6F1C1377: 12070 < 197.176.38.177] HEX: 000000000000002f0801000001650e10f1200015e20da3ff315f90074d011308002100050301010200ef010118002101c7000000620001000087d7
2018-08-06 07:08:29 DEBUG: [6F1C1377: 12070 > 197.176.38.177] HEX: 00000001
2018-08-06 07:08:29 INFO: [6F1C1377] id: 356307041139238, time: 2018-08-06 07:08:36, lat: -1.35415, lon: 36.71362, speed: 17.8, course: 275.0
Message forwarded from Traccar
06/08/2018 07:08:28 id=4541204102&deviceId=648&valid=true&fixTime=1533539316000&deviceTime=1533539316000&protocol=jt600&latitude=-1.3344316666666667&longitude=36.70722833333333&altitude=0.0&speed=0.0&course=0.0&statusCode=0xF020&attributes=%7B%22status%22%3A5439488%2C%22odometer%22%3A150148000%2C%22fuel%22%3A8%2C%22raw%22%3A%2224454120410221001b06081807083601200659036424337d0000000053000000024a8408e2%22%2C%22distance%22%3A0.41%2C%22totalDistance%22%3A6.629941284E7%2C%22motion%22%3Afalse%7D
06/08/2018 07:08:28 id=4541204102&deviceId=648&valid=true&fixTime=1533539316000&deviceTime=1533539316000&protocol=jt600&latitude=-1.3344316666666667&longitude=36.70722833333333&altitude=0.0&speed=0.0&course=0.0&statusCode=0xF020&attributes=%7B%22status%22%3A5439488%2C%22odometer%22%3A150148000%2C%22fuel%22%3A8%2C%22raw%22%3A%2224454120410221001b06081807083601200659036424337d0000000053000000024a8408e2%22%2C%22distance%22%3A0.41%2C%22totalDistance%22%3A6.629941284E7%2C%22motion%22%3Afalse%7D
06/08/2018 07:08:28 id=4541204102&deviceId=648&valid=true&fixTime=1533539316000&deviceTime=1533539316000&protocol=jt600&latitude=-1.3344316666666667&longitude=36.70722833333333&altitude=0.0&speed=0.0&course=0.0&statusCode=0xF020&attributes=%7B%22status%22%3A5439488%2C%22odometer%22%3A150148000%2C%22fuel%22%3A8%2C%22raw%22%3A%2224454120410221001b06081807083601200659036424337d0000000053000000024a8408e2%22%2C%22distance%22%3A0.41%2C%22totalDistance%22%3A6.629941284E7%2C%22motion%22%3Afalse%7D
06/08/2018 07:08:28 id=4541204102&deviceId=648&valid=true&fixTime=1533539316000&deviceTime=1533539316000&protocol=jt600&latitude=-1.3344316666666667&longitude=36.70722833333333&altitude=0.0&speed=0.0&course=0.0&statusCode=0xF020&attributes=%7B%22status%22%3A5439488%2C%22odometer%22%3A150148000%2C%22fuel%22%3A8%2C%22raw%22%3A%2224454120410221001b06081807083601200659036424337d0000000053000000024a8408e2%22%2C%22distance%22%3A0.41%2C%22totalDistance%22%3A6.629941284E7%2C%22motion%22%3Afalse%7D
06/08/2018 07:08:28 id=4541204102&deviceId=648&valid=true&fixTime=1533539316000&deviceTime=1533539316000&protocol=jt600&latitude=-1.3344316666666667&longitude=36.70722833333333&altitude=0.0&speed=0.0&course=0.0&statusCode=0xF020&attributes=%7B%22status%22%3A5439488%2C%22odometer%22%3A150148000%2C%22fuel%22%3A8%2C%22raw%22%3A%2224454120410221001b06081807083601200659036424337d0000000053000000024a8408e2%22%2C%22distance%22%3A0.41%2C%22totalDistance%22%3A6.629941284E7%2C%22motion%22%3Afalse%7D
06/08/2018 07:08:28 id=4541204102&deviceId=648&valid=true&fixTime=1533539316000&deviceTime=1533539316000&protocol=jt600&latitude=-1.3344316666666667&longitude=36.70722833333333&altitude=0.0&speed=0.0&course=0.0&statusCode=0xF020&attributes=%7B%22status%22%3A5439488%2C%22odometer%22%3A150148000%2C%22fuel%22%3A8%2C%22raw%22%3A%2224454120410221001b06081807083601200659036424337d0000000053000000024a8408e2%22%2C%22distance%22%3A0.41%2C%22totalDistance%22%3A6.629941284E7%2C%22motion%22%3Afalse%7D
06/08/2018 07:08:29 id=358899058819668&deviceId=3&valid=true&fixTime=1533535120000&deviceTime=1533539308974&protocol=gt06&latitude=-1.3343355555555556&longitude=36.70728222222222&altitude=0.0&speed=0.0&course=152.0&statusCode=0xF020&attributes=%7B%22status%22%3A4%2C%22ignition%22%3Afalse%2C%22charge%22%3Atrue%2C%22blocked%22%3Afalse%2C%22battery%22%3A6%2C%22rssi%22%3A4%2C%22raw%22%3A%2278780a13040604000200b6bbe60d0a%22%2C%22distance%22%3A0.0%2C%22totalDistance%22%3A8333530.51%2C%22motion%22%3Afalse%2C%22odometer%22%3A335658592%7D
06/08/2018 07:08:29 id=358899058819668&deviceId=3&valid=true&fixTime=1533535120000&deviceTime=1533539308974&protocol=gt06&latitude=-1.3343355555555556&longitude=36.70728222222222&altitude=0.0&speed=0.0&course=152.0&statusCode=0xF020&attributes=%7B%22status%22%3A4%2C%22ignition%22%3Afalse%2C%22charge%22%3Atrue%2C%22blocked%22%3Afalse%2C%22battery%22%3A6%2C%22rssi%22%3A4%2C%22raw%22%3A%2278780a13040604000200b6bbe60d0a%22%2C%22distance%22%3A0.0%2C%22totalDistance%22%3A8333530.51%2C%22motion%22%3Afalse%2C%22odometer%22%3A335658592%7D
06/08/2018 07:08:29 id=358899058819668&deviceId=3&valid=true&fixTime=1533535120000&deviceTime=1533539308974&protocol=gt06&latitude=-1.3343355555555556&longitude=36.70728222222222&altitude=0.0&speed=0.0&course=152.0&statusCode=0xF020&attributes=%7B%22status%22%3A4%2C%22ignition%22%3Afalse%2C%22charge%22%3Atrue%2C%22blocked%22%3Afalse%2C%22battery%22%3A6%2C%22rssi%22%3A4%2C%22raw%22%3A%2278780a13040604000200b6bbe60d0a%22%2C%22distance%22%3A0.0%2C%22totalDistance%22%3A8333530.51%2C%22motion%22%3Afalse%2C%22odometer%22%3A335658592%7D
06/08/2018 07:08:29 id=358899058819668&deviceId=3&valid=true&fixTime=1533535120000&deviceTime=1533539308974&protocol=gt06&latitude=-1.3343355555555556&longitude=36.70728222222222&altitude=0.0&speed=0.0&course=152.0&statusCode=0xF020&attributes=%7B%22status%22%3A4%2C%22ignition%22%3Afalse%2C%22charge%22%3Atrue%2C%22blocked%22%3Afalse%2C%22battery%22%3A6%2C%22rssi%22%3A4%2C%22raw%22%3A%2278780a13040604000200b6bbe60d0a%22%2C%22distance%22%3A0.0%2C%22totalDistance%22%3A8333530.51%2C%22motion%22%3Afalse%2C%22odometer%22%3A335658592%7D
06/08/2018 07:08:29 id=358899058819668&deviceId=3&valid=true&fixTime=1533535120000&deviceTime=1533539308974&protocol=gt06&latitude=-1.3343355555555556&longitude=36.70728222222222&altitude=0.0&speed=0.0&course=152.0&statusCode=0xF020&attributes=%7B%22status%22%3A4%2C%22ignition%22%3Afalse%2C%22charge%22%3Atrue%2C%22blocked%22%3Afalse%2C%22battery%22%3A6%2C%22rssi%22%3A4%2C%22raw%22%3A%2278780a13040604000200b6bbe60d0a%22%2C%22distance%22%3A0.0%2C%22totalDistance%22%3A8333530.51%2C%22motion%22%3Afalse%2C%22odometer%22%3A335658592%7D
06/08/2018 07:08:29 id=358899058819668&deviceId=3&valid=true&fixTime=1533535120000&deviceTime=1533539308974&protocol=gt06&latitude=-1.3343355555555556&longitude=36.70728222222222&altitude=0.0&speed=0.0&course=152.0&statusCode=0xF020&attributes=%7B%22status%22%3A4%2C%22ignition%22%3Afalse%2C%22charge%22%3Atrue%2C%22blocked%22%3Afalse%2C%22battery%22%3A6%2C%22rssi%22%3A4%2C%22raw%22%3A%2278780a13040604000200b6bbe60d0a%22%2C%22distance%22%3A0.0%2C%22totalDistance%22%3A8333530.51%2C%22motion%22%3Afalse%2C%22odometer%22%3A335658592%7D
06/08/2018 07:08:29 id=356307041139238&deviceId=2649&valid=true&fixTime=1533539316000&deviceTime=1533539316000&protocol=teltonika&latitude=-1.3541488&longitude=36.7136163&altitude=1869.0&speed=17.818581000000002&course=275.0&statusCode=0xF11C&attributes=%7B%22priority%22%3A0%2C%22sat%22%3A8%2C%22event%22%3A0%2C%22di1%22%3A1%2C%22di2%22%3A0%2C%22ignition%22%3Atrue%2C%22io24%22%3A33%2C%22io199%22%3A98%2C%22raw%22%3A%22000000000000002f0801000001650e10f1200015e20da3ff315f90074d011308002100050301010200ef010118002101c7000000620001000087d7%22%2C%22distance%22%3A101.53%2C%22totalDistance%22%3A322907.51%2C%22motion%22%3Atrue%7D
06/08/2018 07:08:29 id=356307041139238&deviceId=2649&valid=true&fixTime=1533539316000&deviceTime=1533539316000&protocol=teltonika&latitude=-1.3541488&longitude=36.7136163&altitude=1869.0&speed=17.818581000000002&course=275.0&statusCode=0xF11C&attributes=%7B%22priority%22%3A0%2C%22sat%22%3A8%2C%22event%22%3A0%2C%22di1%22%3A1%2C%22di2%22%3A0%2C%22ignition%22%3Atrue%2C%22io24%22%3A33%2C%22io199%22%3A98%2C%22raw%22%3A%22000000000000002f0801000001650e10f1200015e20da3ff315f90074d011308002100050301010200ef010118002101c7000000620001000087d7%22%2C%22distance%22%3A101.53%2C%22totalDistance%22%3A322907.51%2C%22motion%22%3Atrue%7D
06/08/2018 07:08:29 id=356307041139238&deviceId=2649&valid=true&fixTime=1533539316000&deviceTime=1533539316000&protocol=teltonika&latitude=-1.3541488&longitude=36.7136163&altitude=1869.0&speed=17.818581000000002&course=275.0&statusCode=0xF11C&attributes=%7B%22priority%22%3A0%2C%22sat%22%3A8%2C%22event%22%3A0%2C%22di1%22%3A1%2C%22di2%22%3A0%2C%22ignition%22%3Atrue%2C%22io24%22%3A33%2C%22io199%22%3A98%2C%22raw%22%3A%22000000000000002f0801000001650e10f1200015e20da3ff315f90074d011308002100050301010200ef010118002101c7000000620001000087d7%22%2C%22distance%22%3A101.53%2C%22totalDistance%22%3A322907.51%2C%22motion%22%3Atrue%7D
06/08/2018 07:08:29 id=356307041139238&deviceId=2649&valid=true&fixTime=1533539316000&deviceTime=1533539316000&protocol=teltonika&latitude=-1.3541488&longitude=36.7136163&altitude=1869.0&speed=17.818581000000002&course=275.0&statusCode=0xF11C&attributes=%7B%22priority%22%3A0%2C%22sat%22%3A8%2C%22event%22%3A0%2C%22di1%22%3A1%2C%22di2%22%3A0%2C%22ignition%22%3Atrue%2C%22io24%22%3A33%2C%22io199%22%3A98%2C%22raw%22%3A%22000000000000002f0801000001650e10f1200015e20da3ff315f90074d011308002100050301010200ef010118002101c7000000620001000087d7%22%2C%22distance%22%3A101.53%2C%22totalDistance%22%3A322907.51%2C%22motion%22%3Atrue%7D
06/08/2018 07:08:29 id=356307041139238&deviceId=2649&valid=true&fixTime=1533539316000&deviceTime=1533539316000&protocol=teltonika&latitude=-1.3541488&longitude=36.7136163&altitude=1869.0&speed=17.818581000000002&course=275.0&statusCode=0xF11C&attributes=%7B%22priority%22%3A0%2C%22sat%22%3A8%2C%22event%22%3A0%2C%22di1%22%3A1%2C%22di2%22%3A0%2C%22ignition%22%3Atrue%2C%22io24%22%3A33%2C%22io199%22%3A98%2C%22raw%22%3A%22000000000000002f0801000001650e10f1200015e20da3ff315f90074d011308002100050301010200ef010118002101c7000000620001000087d7%22%2C%22distance%22%3A101.53%2C%22totalDistance%22%3A322907.51%2C%22motion%22%3Atrue%7D
Any ideas how I can fix this?
If you need any more info please let me know
Thanks
Traccar only forwards data once. If you got 6 messages forwarded, it means there were 6 messages from your devices.
Thanks Anton, its doubtful the devices are sending that many, its been happening for months and i'm constantly seeing multiples
Perhaps it's a multithreading issue on the device grabbing the data from traccar, i'll investigate this area in more detail.
Hi
I'm using the forward message feature on 3.15 and 3.17
I'm seeing lots of duplicated messages that are forwarded, is this a known issue with a known fix?
See here for the data snapshot, as you can see there were 3 messages from 3 different devices, however, there were 5 or 6 forwarded messages for each device:
Traccar logs
Message forwarded from Traccar
Any ideas how I can fix this?
If you need any more info please let me know
Thanks