Closed tkapluk closed 5 years ago
Thanks! I'll try to get this rolled in.
What message were you receiving that was larger than 1k?
In this device many circuits and colors. circuitCount = 31; colorCount = 8;
Please let me know if that commit fixes your issue.
This commit don't fix my issue. App hangs on 30 second and after that I have Error: read ECONNRESET
Error: read ECONNRESET errors.js:313 at TCP.onStreamRead (internal/stream_base_commons.js:111:27) Emitted 'error' event at: at emitErrorNT (internal/streams/destroy.js:82:8) at emitErrorAndCloseNT (internal/streams/destroy.js:50:3) at process._tickCallback (internal/process/next_tick.js:63:19)
onClientMessage received message of length 1024 when sum of two chunk 1196.
Whoops, try now. Sorry, I don't have the ability to test this locally. :)
Now work fine. Thanks.
Hello. When I am runing this.getPoolStatus(); I get error: Attempted to read beyond the bounds of the managed data.
I investigated this problem. Data send in two chunks, but app don't wait second chunk.
My fix for UnitConnection class:
received message of length 1196