Error - Index 23 out of bounds for length 23

jose juan 5 years ago

Good morning, I am using the suntech st3300r devices, but they do not appear in line and it marks the next error in the log.

2021-02-12 22:48:26  INFO: [eae46476: suntech < 34.230.244.239] HEX: 414c543b303538303031373733383b3346464646463b35383b322e302e34393b303b32303231303231323b31343a31323a33333b30374637413242303b3333343b32303b373933463b36353b2b31392e3338383634353b2d3130322e3032313038303b302e30303b302e30303b32303b313b30303030303030313b30303030303030303b36383b313b0d
2021-02-12 22:48:26  WARN: [eae46476] error - Index 23 out of bounds for length 23 - ArrayIndexOutOfBoundsException (SuntechProtocolDecoder:543 < *:724 < ExtendedObjectDecoder:52 < ... < WrapperContext:102 < ...)
2021-02-12 22:48:26  INFO: [eae46476] disconnected

I hope someone can help me.

Regards.

Anton Tananaev 5 years ago

From what I can tell, the message is invalid. Do you have the protocol documentation? Try to do a manual breakdown.

jose juan 5 years ago

I'm new, I don't have the device documentation. the device I am using is

https://suntechlatam.com/producto/ST3300R?fbclid=IwAR2y6wllceGFXfFyp94hOjwKQ77CqaQ45krAxO3aMm4Am9ftK8KVKn6hymE

Anton Tananaev 5 years ago

You would have to request the documentation.

jose juan 5 years ago
Anton Tananaev 5 years ago

Now you can try to break down your sample and see if it matches.

jose juan 5 years ago
2021-02-13 12:26:28  INFO: [0f194f2a: suntech < 34.230.244.239] HEX: 414c543b303538303031373733353b3346464646463b35383b322e302e34393b303b32303231303231323b31333a33333a32393b30374637303442453b3333343b32303b373933463b36313b2b31392e3430373530353b2d3130322e3036333933363b302e30303b302e30303b31373b313b30303030303030313b30303030303030303b33333b3b0d
2021-02-13 12:26:28  WARN: [0f194f2a] error - Index 22 out of bounds for length 22 - ArrayIndexOutOfBoundsException (SuntechProtocolDecoder:540 < *:724 < ExtendedObjectDecoder:52 < ... < WrapperContext:102 < ...)
ALT;0580017735;3FFFFF;58;2.0.49;0;20210212;13:33:29;07F704BE;334;20;793F;61;+19.407505;-102.063936;0.00;0.00;17;1;00000001;00000000;33;;

I'm new to this, I don't understand much :(

jose juan 5 years ago

I have 3 identical devices working, 2 of them work without problems same configurations

working

STT;0580017730;3FFFFF;58;2.0.49;0;20210213;18:15:52;07F75496;334;20;793F;54;+19.426422;-102.041473;0.09;255.11;18;1;00000000;00000000;4;1;9153
STT;0580017725;3FFFFF;58;2.0.49;0;20210213;07:10:23;00000000;0;0;0000;0;+19.407214;-102.063685;0.00;0.00;14;1;00000000;00000000;0;1;0812

with problems

ALT;0580017735;3FFFFF;58;2.0.49;0;20210212;13:33:29;07F704BE;334;20;793F;61;+19.407505;-102.063936;0.00;0.00;17;1;00000001;00000000;33;;

suntech st3300r devices

Anton Tananaev 5 years ago

I think the problem is at the end of the message. As you can see, there are some empty fields there.

jose juan 5 years ago

How can it be possible, if you have the same configuration all 3 devices

Anton Tananaev 5 years ago

Well, that's a question for your device vendor.

jose juan 5 years ago

;:/