Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto disconnect on too many connection errors #405

Closed
chrisdanek opened this issue May 8, 2020 · 0 comments · Fixed by #434
Closed

Auto disconnect on too many connection errors #405

chrisdanek opened this issue May 8, 2020 · 0 comments · Fixed by #434
Assignees

Comments

@chrisdanek
Copy link
Contributor

Whenever I put my laptop in sleep mode with pos-cli logs running, when I get back it’s a wall of


[17:47:50] Request to the server failed.

[17:47:50] Error: read ENETDOWN

[17:47:54] Request to the server failed.

[17:47:54] Error: read ENETDOWN

[17:47:58] Request to the server failed.

[17:47:58] Error: read ETIMEDOUT

[17:48:01] Request to the server failed.

[17:48:01] Error: read ETIMEDOUT

[18:33:36] Request to the server failed.

[18:33:36] Error: read ENETDOWN

[18:33:40] Request to the server failed.

[18:33:40] Error: read ETIMEDOUT

Perhaps just disconnect after too many failures? It doesn’t recover correctly to being back online and logging again anyway.

Version

  • pos-cli: 4.4.11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants