Sometimes some commands fail with ERROR_COMMAND_TIMEOUT
See original GitHub issueHi @bropat ,
Do you think, we can add a simple or exponential retrial mechanism into eufy-security-client
? I have seen many warnings in docker output as below and retrial might help us to resolve this.
2021-10-12 14:09:22.993 WARN Station T8010NXXX - Result data for command not received
{
message: {
sequence: 43,
command_type: 1145,
nested_command_type: undefined,
channel: 1,
data: <Buffer d1 00 00 2b 58 5a 59 48 79 04 88 00 00 00 01 00 01 00 00 00 01 00 00 00 00 00 00 00 64 30 64 61 38 35 64 35 62 61 31 38 33 66 32 37 37 63 33 64 37 65 ... 106 more bytes>,
retries: 1,
acknowledged: true,
return_code: -133,
timeout: Timeout {
_idleTimeout: 20000,
_idlePrev: null,
_idleNext: null,
_idleStart: 584022,
_onTimeout: [Function (anonymous)],
_timerArgs: undefined,
_repeat: null,
_destroyed: false,
[Symbol(refed)]: true,
[Symbol(kHasPrimitive)]: false,
[Symbol(asyncId)]: 11886,
[Symbol(triggerId)]: 112
}
}
}
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (11 by maintainers)
Top Results From Across the Web
What is Command Timeout Error and How to Fix It?
In case you have lost your data due to the Command Timeout error, follow this guide to fix the error after getting back...
Read more >Command timeout is falsely identified as "transient" error by ...
The command timeout exception now checks as IsTransient = true yet there is nothing "passing" about this condition, just look at CommandTests.
Read more >Setting CommandTimeout after Execution causes error ...
When I perform the second "SetTimeout" command, the SQL server performs the command exec [sys].sp_describe_first_result_set N'alter table ...
Read more >Troubleshoot query time-out errors - SQL Server
In VBA (Excel), it's set through the ADODB.Command.CommandTimeout property. Query time-out is different from a connection time-out property.
Read more >'Timeout Expired' appears in the Technician Client application ...
Timeout errors typically appear when the underlying SQL command that is being executed is not able to complete before exceeding Track-It!'s ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for taking the time to explain it; also thanks so much for the support and fix!
I guess I have to wait for @fuatakgun to implement the new code downstream, but as soon as he does I will test it and report back to you one way or the other. Again, my thanks.
@rpitera
I enjoyed it very much. Maybe a little short, but better than nothing 😉
With the next version (1.2.0) that I would like to release today, I should have this problem under control 😃