Teltonika Protocol error 5.3

Gps man3 years ago
[Td94563f1] error - readerIndex(1244) + length(4) exceeds writerIndex(1247): PooledSlicedByteBuf(ridx: 1244, widx: 1247, cap: 1247/1247, unwrapped: PooledDirectByteBuf(ridx: 1247, widx: 1247, cap: 2048)) - IndexOutOfBoundsException (... < TeltonikaProtocolDecoder:199 < *:337 < *:483 < *:586 < *:629 < *:619 < ExtendedObjectDecoder:72 < ... < WrapperContext:102 < ...)

Can you please guide.

Anton Tananaev3 years ago

Do you have the HEX sample? Have you tried master version?

Gps man3 years ago

I took it on 10th Aug from the master branch. Below is the hex

00000000000004d30812000001826dfd6bc8002b645add0cf15343000a006214004afd100aef01f0015005150345010101b300715efd02fe0504426b4718004a430fd809002b011006ae3c4301ee0000000000000000000001826dfd6bd2002b6462390cf151c3000a0062140046fd100aef01f0015005150345010101b300715efd02fe0b04426b4c18003c430fd809002b011006ae3c8e01ee0000000000000000000001826dfd6fb0002b64706a0cf14f3a000a0062140041000e08ef01f0015005150345010101b300715e04426b4c18003c430fd809002b011006ae3c8e01ee0000000000000000000001826dfd7398002b64706a0cf14f3a000a0062140041fd100aef01f0015005150345010101b300715efd02fe0e04426b4c18003c430fd809002b011006ae3c8e01ee0000000000000000000001826dfd7780002b6476ed0cf14e82000a006114003cfd100aef01f0015005150345010101b300715efd02fe0e04426b4e18003c430fd809002b011006ae3c8e01ee0000000000000000000001826dfd7b68002b647cea0cf14dcb00090061140038ff0f09ef01f0015005150345010101b300715eff3804426b45180038430fd709002b011006ae3c9e01ee0000000000000000000001826dfd7b72002b647cea0cf14dcb00090061140038fd100aef01f0015005150345010101b300715cfd02fe0b04426b45180029430fd709002b011006ae3cb801ee0000000000000000000001826dfd7f50002b6482620cf14d6700070060140031fd100aef01f0015005150345010101b300715cfd02fe1304426b42180029430fd309004e011006ae3cb801ee0000000000000000000001826dfd8338002b6486e00cf14cf200060060130029fd100aef01f0015005150345010101b3007159fd02fe1604426b3c180029430fa90901ae011006ae3cb801ee0000000000000000000001826dfd8720002b648a960cf14cc000060063130023fd100afd02fe100423550101000001826dfd8b08002b648d730cf14c5c0006006214001cfd100aef01f0015005150345010101b300715e04426b5c18000d430fcd0900e5011006ae3cd701ee0000000000000000000001826dfd8ef0002b648f890cf14c090006005f140015000f09040d35550101000001826dfd92d8002b6491190cf14be70005006114000ffd100aef01f0015005150345010101b300715efd02fe1004426b5c18000d430fcd0900e5011006ae3cd701ee0000000000000000000001826dfd96c0002b6492660cf14b940005006014000d000f09040d35550101000001826dfd9e90002b6494f00cf14abb0006006814000ffd100aef01f0015005150345010101b300715efd01fe0504426bd6180010430fd7090035011006ae3ce201ee0000000000000000000001826dfdaa48002b6499900cf1497f00080063140013fd100aef01f0015005150345010101b300715dfd01fe0504426bea180013430fd109006b011006ae3ceb01ee0000000000000000000001826dfdae30002b649b840cf1490a00080063140015fd100aef01f0015005150345010101b300715dfd01fe0504426c68180015430fd20900f9011006ae3cf101ee0000000000000000000001826dfdb600002b64a0440cf14810000a0064140018fd100aef01f0015005150345010101b300715dfd01fe0504426c58180018430fd009008d011006ae3cfd01ee0000000000000000120000d04a
Anton Tananaev3 years ago

This sample doesn't work even on older version of Traccar.

Gps man3 years ago

But it doesn’t come in 4.14

Anton Tananaev3 years ago

Please provide a log fragment.

Gps man3 years ago
2022-09-01 17:28:41  INFO: [Td94563f1] connected
2022-09-01 17:28:41  INFO: [Td94563f1: teltonika < 106.78.169.84] 000f333538343830303836343935393130
2022-09-01 17:28:41  INFO: [Td94563f1: teltonika > 106.78.169.84] 01
2022-09-01 17:28:48  INFO: [Td94563f1: teltonika < 106.78.169.84] 00000000000004d30812000001826dfd6bc8002b645add0cf15343000a006214004afd100aef01f0015005150345010101b300715efd02fe0504426b4718004a430fd809002b011006ae3c4301ee0000000000000000000001826dfd6bd2002b6462390cf151c3000a0062140046fd100aef01f0015005150345010101b300715efd02fe0b04426b4c18003c430fd809002b011006ae3c8e01ee0000000000000000000001826dfd6fb0002b64706a0cf14f3a000a0062140041000e08ef01f0015005150345010101b300715e04426b4c18003c430fd809002b011006ae3c8e01ee0000000000000000000001826dfd7398002b64706a0cf14f3a000a0062140041fd100aef01f0015005150345010101b300715efd02fe0e04426b4c18003c430fd809002b011006ae3c8e01ee0000000000000000000001826dfd7780002b6476ed0cf14e82000a006114003cfd100aef01f0015005150345010101b300715efd02fe0e04426b4e18003c430fd809002b011006ae3c8e01ee0000000000000000000001826dfd7b68002b647cea0cf14dcb00090061140038ff0f09ef01f0015005150345010101b300715eff3804426b45180038430fd709002b011006ae3c9e01ee0000000000000000000001826dfd7b72002b647cea0cf14dcb00090061140038fd100aef01f0015005150345010101b300715cfd02fe0b04426b45180029430fd709002b011006ae3cb801ee0000000000000000000001826dfd7f50002b6482620cf14d6700070060140031fd100aef01f0015005150345010101b300715cfd02fe1304426b42180029430fd309004e011006ae3cb801ee0000000000000000000001826dfd8338002b6486e00cf14cf200060060130029fd100aef01f0015005150345010101b3007159fd02fe1604426b3c180029430fa90901ae011006ae3cb801ee0000000000000000000001826dfd8720002b648a960cf14cc000060063130023fd100afd02fe100423550101000001826dfd8b08002b648d730cf14c5c0006006214001cfd100aef01f0015005150345010101b300715e04426b5c18000d430fcd0900e5011006ae3cd701ee0000000000000000000001826dfd8ef0002b648f890cf14c090006005f140015000f09040d35550101000001826dfd92d8002b6491190cf14be70005006114000ffd100aef01f0015005150345010101b300715efd02fe1004426b5c18000d430fcd0900e5011006ae3cd701ee0000000000000000000001826dfd96c0002b6492660cf14b940005006014000d000f09040d35550101000001826dfd9e90002b6494f00cf14abb0006006814000ffd100aef01f0015005150345010101b300715efd01fe0504426bd6180010430fd7090035011006ae3ce201ee0000000000000000000001826dfdaa48002b6499900cf1497f00080063140013fd100aef01f0015005150345010101b300715dfd01fe0504426bea180013430fd109006b011006ae3ceb01ee0000000000000000000001826dfdae30002b649b840cf1490a00080063140015fd100aef01f0015005150345010101b300715dfd01fe0504426c68180015430fd20900f9011006ae3cf101ee0000000000000000000001826dfdb600002b64a0440cf14810000a0064140018fd100aef01f0015005150345010101b300715dfd01fe0504426c58180018430fd009008d011006ae3cfd01ee0000000000000000120000d04a
2022-09-01 17:28:48  INFO: [Td94563f1] error - readerIndex(1244) + length(4) exceeds writerIndex(1247): PooledSlicedByteBuf(ridx: 1244, widx: 1247, cap: 1247/1247, unwrapped: PooledDirectByteBuf(ridx: 1247, widx: 1247, cap: 2048)) - IndexOutOfBoundsException (... < TeltonikaProtocolDecoder:199 < *:337 < *:483 < *:586 < *:629 < *:619 < ExtendedObjectDecoder:72 < ... < WrapperContext:102 < ...)
2022-09-01 17:28:48  INFO: [Td94563f1] disconnected
Anton Tananaev3 years ago

I see the same problem. I think you should probably provide some commentary.

Gps man3 years ago

commentary means ?

jafar habibi3 years ago

what is your exact device model?

Gps man3 years ago

FMB920

Anton Tananaev3 years ago

I asked to provide a log fragment from 4.14 where it is working.

henry beltran3 years ago

What could be the event from this device to produce this error? I have FMB920 too in a server since 4.10 and now 5.3 traccar version, and didn't found any warning or error from this device

Gps man3 years ago

We have checked the data and found that the given packet is not complete. This may have happened due to larger size of data packet. The maximum limit for a device to send data 1280bytes. But due to restriction from operator, the device can send up to 1kb at once.
So, there are chances that the remaining data is pushed in the second packet.