Teltonika FMB630 Error

Neill7 years ago

Hello,

I'm having problems getting the above device to communicate, the devices ping through but don't last very long before errors drop the communication.

This is the output from logs:

2018-12-20 15:06:19  INFO: [8c386013: 5027 < ] HEX: 000f333532303933303832363133383737
2018-12-20 15:06:19  WARN: [8c386013] error - readerIndex(8) + length(14643) exceeds writerIndex(17): PooledUnsafeDirectByteBuf(ridx: 8, widx: 17, cap: 2048) - IndexOutOfBoundsException (... < TeltonikaProtocolDecoder:498 < *:474 < ExtendedObjectDecoder:51 < ... < BasePipelineFactory:131 < ...)
2018-12-20 15:06:45  INFO: [1f6fde49] disconnected

This repeats over and over as these make up all of my devices.

Thanks

Anton Tananaev7 years ago

Please include log for full connection session, starting from "connected" message.

Neill7 years ago
2019-02-13 09:23:40  INFO: [f6d39651] connected
2019-02-13 09:23:40  INFO: [08616fad: 5180 < 81.137.94.130] HEX: 474554202f20485454502f312e310d0a486f73743a206770732e646a62646961672e636f2e756b3a353138300d0a436f6e6e656374696f6e3a206b6565702d616c6976650d0a557067726164652d496e7365637572652d52657175657374733a20310d0a557365722d4167656e743a204d6f7a696c6c612f352e30202857696e646f7773204e542031302e303b2057696e36343b2078363429204170706c655765624b69742f3533372e333620284b48544d4c2c206c696b65204765636b6f29204368726f6d652f37312e302e333537382e3938205361666172692f3533372e33360d0a4163636570743a20746578742f68746d6c2c6170706c69636174696f6e2f7868746d6c2b786d6c2c6170706c69636174696f6e2f786d6c3b713d302e392c696d6167652f776562702c696d6167652f61706e672c2a2f2a3b713d302e380d0a4163636570742d456e636f64696e673a20677a69702c206465666c6174650d0a4163636570742d4c616e67756167653a20656e2d47422c656e2d55533b713d302e392c656e3b713d302e380d0a436f6f6b69653a206c616e673d656e3b20757365723d62325a6d61574e6c51475271596d527059576375593238756457732533443b2070617373776f72643d4e5451344d7a412533443b206578742d646576696365732d677269643d6f253341636f6c756d6e732533446125323533416f2532353235334169642532353235334473253235323532353341683125323535456f2532353235334169642532353235334473253235323532353341683225323535456f2532353235334169642532353235334473253235323532353341683325323535456f2532353235334169642532353235334473253235323532353341683425323535456f2532353235334169642532353235334473253235323532353341683525323535456f2532353235334169642532353235334473253235323532353341683625323535456f2532353235334169642532353235334473253235323532353341683725323535456f2532353235334169642532353235334473253235323532353341683825323535456f2532353235334169642532353235334473253235323532353341683925323535456f25323532353341696425323532353344732532353235323533416831302535457765696768742533446e2532353341303b206578742d73746174652d677269643d6f253341636f6c756d6e732533446125323533416f2532353235334169642532353235334473253235323532353341683125323535456f2532353235334169642532353235334473253235323532353341683225354573746f726553746174652533446f2532353341736f7274657273253235334461253235323533416f253235323532353341726f6f7425
2019-02-13 09:23:40  INFO: [08616fad: 5180 < 81.137.94.130] HEX: 32353235323533447325323532353235323533416461746125323532353235354570726f70657274792532353235323533447325323532353235323533417072696f72697479253235323532353545646972656374696f6e25323532353235334473253235323532353235334141534325323532353235354569642532353235323533447325323532353235323533417072696f726974792535457765696768742533446e253235334131303b206578742d646576696365732d616e642d73746174652d70616e656c3d6f2533417765696768742533446e25323533412d31303b206578742d73686f772d67656f66656e6365732d627574746f6e3d6f25334170726573736564253344622532353341313b206578742d73686f772d6c6976652d726f757465732d627574746f6e3d6f25334170726573736564253344622532353341303b206578742d6465766963652d666f6c6c6f772d627574746f6e3d6f25334170726573736564253344622532353341303b204a53455353494f4e49443d6e6f6465303175646268796e3569386537666a6b69383639316632673336312e6e6f6465300d0a0d0a
2019-02-13 09:23:40  WARN: [08616fad] error - frame length (1046) exceeds the allowed maximum (1024) - TooLongFrameException (... < WrapperInboundHandler:57 < ... < BasePipelineFactory:131 < ... < *:108 < ...)
2019-02-13 09:23:40  INFO: [08616fad] disconnected
Anton Tananaev7 years ago

That's not Teltonika. That's someone connecting from a browser:

GET / HTTP/1.1
Host: gps.djbdiag.co.uk:5180
Connection: keep-alive
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
...
Neill7 years ago

Ok, but it’s still only allowing one device to update. There are huge gaps between connections. I’ve port checked and checked iptables but still cannot figure out why...