BCE protocol exception (IndexOutOfBoundsException)

Hamza Javed5 years ago

i have device using BCE protocol, but on every data device sent getting this error on server logs.

2020-04-12 22:16:27  WARN: [d018922b] error - readerIndex: 681, writerIndex: 497 (expected: 0 <= readerIndex <= writerIndex <= capacity(497)) - IndexOutOfBoundsException (... < BceProtocolDecoder:305 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)

HEX data

f7781d7258140300e601a5f40000a862b8eb400aeb5c42b1cac841471e6c0700e8186143f180f935000000004210a8010275106c3600302a87a862b8eb40c3e95c427ec7c8414d1e6c070009655643f1800a35000000004210a801027510adc1003c2ad7a862b8eb405ce85c422cc4c841531e6d0800f8ad6243f1800337000000004210a801027510afc100452a27a962b8eb40e2e65c42d6c0c841551e6d0800ad246843f180fa36000000004210a801027510afc100452a77a962b8eb4056e55c4259bdc841571e6c07008a8c7243f180c637000000004210a801027510975000470a76a962b8f001543032342ad7a962b8eb40c7e35c42c4b9c841581e6d08007c477743f1800a35000000004310a801027510975000472a27aa62b8eb4042e25c425eb6c841541e6d0900495e6d43f1808837000000004210a801027510985000482a77aa62b8eb40c6e05c420ab3c841531e6d0900f1186843f180e937000000004310a8010275109850003b2ac7aa62b8eb4046df5c42a6afc841551e6d09001cab6b43f1806d37000000004210a8010275109850003d2a17ab62b8eb40c6dd5c423eacc841541e6d0a006f5a6c43f180cf37000000004210a80102be0f795100492a67ab62b8eb4044dc5c42dba8c841551e6d0b0084f36b43f180f237000000004210a80102be0f75510050e4

can you specify is there any issue with device configuration or its and server bug
THANKS

Anton Tananaev5 years ago

What makes you think it's BCE protocol?

Hamza Javed5 years ago

sorry i have no idea, that's why i'm seeking help/guideline from you.
your thoughts and comments will help me a lot to figure out this issue and may be to solve this as well.
any suggestions/comment please
thanks

2020-04-07 14:31:23  INFO: [a3aab7a8: bce < 94.57.216.88] HEX: f7781d7258140300e601a5f40000a862b8eb400aeb5c42b1cac841471e6c0700e8186143f180f935000000004210a8010275106c3600302a87a862b8eb40c3e95c427ec7c8414d1e6c070009655643f1800a35000000004210a801027510adc1003c2ad7a862b8eb405ce85c422cc4c841531e6d0800f8ad6243f1800337000000004210a801027510afc100452a27a962b8eb40e2e65c42d6c0c841551e6d0800ad246843f180fa36000000004210a801027510afc100452a77a962b8eb4056e55c4259bdc841571e6c07008a8c7243f180c637000000004210a801027510975000470a76a962b8f001543032342ad7a962b8eb40c7e35c42c4b9c841581e6d08007c477743f1800a35000000004310a801027510975000472a27aa62b8eb4042e25c425eb6c841541e6d0900495e6d43f1808837000000004210a801027510985000482a77aa62b8eb40c6e05c420ab3c841531e6d0900f1186843f180e937000000004310a8010275109850003b2ac7aa62b8eb4046df5c42a6afc841551e6d09001cab6b43f1806d37000000004210a8010275109850003d2a17ab62b8eb40c6dd5c423eacc841541e6d0a006f5a6c43f180cf37000000004210a80102be0f795100492a67ab62b8eb4044dc5c42dba8c841551e6d0b0084f36b43f180f237000000004210a80102be0f75510050e4
2020-04-07 14:31:23  WARN: [a3aab7a8] error - readerIndex: 681, writerIndex: 497 (expected: 0 <= readerIndex <= writerIndex <= capacity(497)) - IndexOutOfBoundsException (... < BceProtocolDecoder:310 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-04-07 14:31:23  INFO: [a3aab7a8] disconnected
Hamza Javed5 years ago

I hope this will help.
Device Model: BCE FMS500 ONE

Anton Tananaev5 years ago

Either it's not BCE protocol or maybe it's changed or maybe it's not fully supported. Without documentation and further investigation it's not possible to tell.