adding devices

boluwaji3 years ago

hi anton, i connected my device but it’s not reporting. still showing offline but the log file shows that’s it’s connected,

2021-07-26 00:16:01  INFO: [c1903c8f] connected
2021-07-26 00:16:01  INFO: [c1903c8f: obddongle < 193.142.146.216] HEX: 0300002b26e00000000000436f6f6b69653a206d737473686173683d68656c6c6f0d0a0100080003000000
2021-07-26 00:16:01  WARN: [c1903c8f] error - Adjusted frame length exceeds 1099: 29581 - discarded - TooLongFrameException (... < WrapperInboundHandler:57 < ... < StandardLoggingHandler:43 < ... < NetworkMessageHandler:37 < ...)
2021-07-26 00:16:01  INFO: [c1903c8f] disconnected
2021-07-26 01:52:07  INFO: [dec2791c] connected
2021-07-26 01:52:07  INFO: [dec2791c: stl060 < 193.107.216.7] HEX: 5245474953544552207369703a3136322e302e3233392e3235205349502f322e300d0a5669613a205349502f322e302f544350203139332e3130372e3231362e373a383235373b6272616e63683d7a39684734624b2d3532343238372d312d2d2d666531626436303265303435333932653b72706f72740d0a4d61782d466f7277617264733a2037300d0a436f6e746163743a203c7369703a32303231403139332e3130372e3231362e373a383235373b7472616e73706f72743d7463703e3b2b7369702e696e7374616e63653d223c75726e3a757569643a43373645393546362d394436422d304331382d383334442d4536323736313431354638443e220d0a546f3a202232303231223c7369703a32303231403136322e302e3233392e32353e0d0a46726f6d3a202232303231223c7369703a32303231403136322e302e3233392e32353e3b7461673d64303637336332310d0a43616c6c2d49443a2030534a5f496c595142707863764e496e397a746641412e2e0d0a435365713a20312052454749535445520d0a457870697265733a203132300d0a416c6c6f773a20494e564954452c2041434b2c2043414e43454c2c204f5054494f4e532c204259452c2052454645522c204e4f544946592c204d4553534147452c2052454749535445522c205355425343524942452c20494e464f2c205055424c4953480d0a537570706f727465643a207265706c616365732c206f7574626f756e642c20706174680d0a557365722d4167656e743a20506f727453495020566f49502053444b2031312e320d0a416c6c6f772d4576656e74733a20686f6c642c2074616c6b2c20636f6e666572656e63650d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2021-07-26 01:52:39  WARN: [dec2791c] error - Connection reset by peer - IOException (...)
2021-07-26 01:52:39  INFO: [dec2791c] disconnected
2021-07-26 02:07:20  INFO: [f0a43db4] connected
2021-07-26 02:07:21  WARN: [f0a43db4] error - Connection reset by peer - IOException (...)
2021-07-26 02:07:21  INFO: [f0a43db4] disconnected
2021-07-26 02:07:21  INFO: [a23d7ab3] connected
2021-07-26 02:07:21  INFO: [a23d7ab3: gps103 < 74.120.14.40] HEX: 160301007b010000770303501038a5c76cd72af13c318e3fd730d25f3b0f62e48d8a1a1b8892efa6bc150200001ac02fc02bc011c007c013c009c014c00a0005002f0035c012000a01000034000500050100000000000a00080006001700180019000b00020100000d0010000e0401040302010203040105010601ff01000100
2021-07-26 02:07:21  WARN: [a23d7ab3] error - begin 21, end 24, length 19 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:413 < ExtendedObjectDecoder:52 < ... < WrapperContext:102 < ...)
2021-07-26 02:07:21  WARN: [a23d7ab3] error - begin 21, end 24, length 10 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:413 < ExtendedObjectDecoder:52 < ... < WrapperContext:102 < ...)
2021-07-26 02:07:21  WARN: [a23d7ab3] error - begin 21, end 24, length 10 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:413 < ExtendedObjectDecoder:52 < ... < WrapperContext:102 < ...)
2021-07-26 02:07:21  WARN: [a23d7ab3] error - begin 21, end 24, length 15 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:413 < ExtendedObjectDecoder:52 < ... < WrapperContext:102 < ...)

that’s the sever log

Anton Tananaev3 years ago

Which one is your device? Which port are you using?

boluwaji3 years ago

it’s a chinese clone with a random name. i tried both 5002 & 5001. it’s currently on 5001

Anton Tananaev3 years ago

Do you have protocol documentation for it? What you have in the log is likely not from your device. Seems like just random noise.

boluwaji3 years ago

no protocol documentation for it . update of log

2021-07-26 19:51:59  INFO: user: 2, action: create, object: device, id: 1
2021-07-26 19:51:59  INFO: user: 2, action: link, owner: user, id: 2, property: device, id: 1
2021-07-26 19:54:18  INFO: user: 2, action: create, object: device, id: 2
2021-07-26 19:54:18  INFO: user: 2, action: link, owner: user, id: 2, property: device, id: 2
2021-07-26 19:55:43  INFO: [f6b97d6e] connected
2021-07-26 19:55:44  INFO: [f6b97d6e: gps103 < 197.210.71.231] HEX: 7e0100001a02921715511100000000000037303630393335333932393231373135353131310000c27e
2021-07-26 19:55:44  INFO: [f6b97d6e: gps103 < 197.210.71.231] HEX: ...
2021-07-26 20:27:27  INFO: [ec09f9dc: tk103 < 197.210.84.52] HEX: 7e0200001c029217155111003300000000000008020064c2a40031b0ce00000000001b210727042726a77e
2021-07-26 20:27:49  INFO: [ec09f9dc: tk103 < 197.210.84.52] HEX: 7e000200000292171551110034e47e
2021-07-26 20:28:04  INFO: [ec09f9dc] disconnected
2021-07-26 20:28:05  INFO: [d54a4015] connected
2021-07-26 20:28:05  INFO: [d54a4015: tk103 < 197.210.78.239] HEX: 7e0100001a02921715511100350000000037303630393335333932393231373135353131310000f77e
2021-07-26 20:29:06  INFO: [d54a4015: tk103 < 197.210.78.239] HEX: 7e000200000292171551110036e67e
boluwaji3 years ago

the error “ adjusted frame length exceeds 1024

Anton Tananaev3 years ago

Try Huabao protocol, port 5015.

boluwaji3 years ago

i did. server keeps disconnecting ;

2021-07-27 16:41:26  INFO: [e4ec8719] connected
2021-07-27 16:46:51  INFO: [5558e6bd] connected
2021-07-27 16:46:51  INFO: [5558e6bd: huabao < 197.210.65.192] HEX: 7e0100001a02921715511100000000000037303630393335333932393231373135353131310000c27e
2021-07-27 16:46:51  INFO: [5558e6bd: huabao > 197.210.65.192] HEX: 7e8100000f0292171551110001000000303239323137313535313131527e
2021-07-27 16:47:07  INFO: [54d8d2bf] connected
2021-07-27 16:47:07  INFO: [54d8d2bf: cartrack < 192.241.222.46] HEX: 160301009a01000096030334adf80e2d80bbc4363bb03304dddb9cbc79c13ad346a61eeb5b2fa793d9af6f00001ac02fc02bc011c007c013c009c014c00a0005002f0035c012000a01000053000500050100000000000a00080006001700180019000b00020100000d00260024060106030602050105030502040104030402030103030302020102030202010101030102ff01000100000f00010100120000
2021-07-27 16:47:17  INFO: [54d8d2bf] disconnected
2021-07-27 16:48:23  INFO: [5558e6bd: huabao < 197.210.65.192] HEX: 7e0100001a02921715511100010000000037303630393335333932393231373135353131310000c37e7e0200001c0292171551110002000000000000088200000000000000000000000000002107280046414d7e7e0200001c029217155111000300000000000008820064b4f60031afc0000000120166210728004651517e7e0200001c029217155111000400000000000008820064b68f0031acd40000012d012a2107280047061e7e7e0200001c029217155111000500000000000008820064b8b30031a9a40000015f013b210728004719247e7e0200001c029217155111000600000000000008820064ba6e0031a78e000000320133210728004734957e7e0200001c029217155111000700000000000008820064bcbc0031a480000000e00133210728004749e27e7e000200000292171551110008d87e7e0200001c029217155111000900000000000008820064be320031a25500000074012e210728004804787e7e0200001c029217155111000a00000000000008820064bf1a0031a1ad000000990024210728004819527e
2021-07-27 16:48:23  INFO: [5558e6bd: huabao > 197.210.65.192] HEX: 7e8100000f0292171551110001000100303239323137313535313131537e
2021-07-27 16:48:23  INFO: [5558e6bd: huabao > 197.210.65.192] HEX: 7e8001000502921715511100010002020000577e
2021-07-27 16:48:23  WARN: [5558e6bd] error - empty String - NumberFormatException (... < DeviceManager:418 < OverspeedEventHandler:123 < BaseEventHandler:29 < ...)
2021-07-27 16:48:23  INFO: [5558e6bd: huabao > 197.210.65.192] HEX: 7e8001000502921715511100010003020000567e
2021-07-27 16:48:23  WARN: [5558e6bd] error - empty String - NumberFormatException (... < DeviceManager:418 < OverspeedEventHandler:123 < BaseEventHandler:29 < ...)
2021-07-27 16:48:23  INFO: [5558e6bd: huabao > 197.210.65.192] HEX: 7e8001000502921715511100010004020000517e
2021-07-27 16:48:23  WARN: [5558e6bd] error - empty String - NumberFormatException (... < DeviceManager:418 < OverspeedEventHandler:123 < BaseEventHandler:29 < ...)
2021-07-27 16:48:23  INFO: [5558e6bd: huabao > 197.210.65.192] HEX: 7e8001000502921715511100010005020000507e
2021-07-27 16:48:23  WARN: [5558e6bd] error - empty String - NumberFormatException (... < DeviceManager:418 < OverspeedEventHandler:123 < BaseEventHandler:29 < ...)
2021-07-27 16:48:23  INFO: [5558e6bd: huabao > 197.210.65.192] HEX: 7e8001000502921715511100010006020000537e
2021-07-27 16:48:23  WARN: [5558e6bd] error - empty String - NumberFormatException (... < DeviceManager:418 < OverspeedEventHandler:123 < BaseEventHandler:29 < ...)
2021-07-27 16:48:23  INFO: [5558e6bd: huabao > 197.210.65.192] HEX: 7e8001000502921715511100010007020000527e
2021-07-27 16:48:23  WARN: [5558e6bd] error - empty String - NumberFormatException (... < DeviceManager:418 < OverspeedEventHandler:123 < BaseEventHandler:29 < ...)
2021-07-27 16:48:23  INFO: [5558e6bd: huabao > 197.210.65.192] HEX: 7e80010005029217155111000100080002005d7e
2021-07-27 16:48:23  INFO: [5558e6bd: huabao > 197.210.65.192] HEX: 7e80010005029217155111000100090200005c7e
2021-07-27 16:48:23  WARN: [5558e6bd] error - empty String - NumberFormatException (... < DeviceManager:418 < OverspeedEventHandler:123 < BaseEventHandler:29 < ...)
2021-07-27 16:48:23  INFO: [5558e6bd: huabao > 197.210.65.192] HEX: 7e800100050292171551110001000a0200005f7e
2021-07-27 16:48:23  WARN: [5558e6bd] error - empty String - NumberFormatException (... < DeviceManager:418 < OverspeedEventHandler:123 < BaseEventHandler:29 < ...)
2021-07-27 16:48:23  INFO: [5558e6bd] disconnected
2021-07-27 17:07:48  INFO: [809abc9e] connected
2021-07-27 17:07:48  INFO: [809abc9e: gl100 < 193.142.146.216] HEX: 0300002b26e00000000000436f6f6b69653a206d737473686173683d68656c6c6f0d0a0100080003000000
2021-07-27 17:07:59  WARN: [809abc9e] error - Connection reset by peer - IOException (...)
2021-07-27 17:07:59  INFO: [809abc9e] disconnected
2021-07-27 17:25:56  INFO: [aeb894e1] connected
2021-07-27 17:25:56  INFO: [aeb894e1: cartrack < 74.63.235.18] HEX: 1603010096010000920303dda691054f09c3798b45a9aec6cf68d9ce964b04ae9782d923aadedd9296d241000026c02bc02f009ec00ac0140039c009c0130033009c0035002fc030c02c003d006a0038003200ff01000043000b000403000102000a000a0008001700190018001600230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101
2021-07-27 17:26:05  INFO: [aeb894e1] disconnected
Anton Tananaev3 years ago

Seems to be working, except for some device attributes misconfiguration.

boluwaji3 years ago

how do we fix the device attributes? and it’s not reporting location

Anton Tananaev3 years ago

What attributes do you have? Just remove them.

boluwaji3 years ago

hi anton. this reports status and display, but the problem is; the old interface shows the map, but not live location, the modern interface doesn’t show map at all on mobile

Anton Tananaev3 years ago

Have you solved the original problem? Do you see location in the logs?

boluwaji3 years ago

i’ve solved the initial problem of adding the device through the port, but i don’t see location in the logs

Anton Tananaev3 years ago

You solved the attributes issue? I don't see new logs.