question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sometimes some commands fail with ERROR_COMMAND_TIMEOUT

See original GitHub issue

Hi @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:closed
  • Created 2 years ago
  • Comments:14 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
rpiteracommented, Oct 17, 2021

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.

1reaction
bropatcommented, Oct 17, 2021

@rpitera

And btw, welcome back - hope you enjoyed your holiday!

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 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found