-
Notifications
You must be signed in to change notification settings - Fork 11
SSH Connection EOF #274
Copy link
Copy link
Closed
Labels
A-DynamicbeatRelates to DynamicbeatRelates to DynamicbeatT-BugSomething isn't working the way it should beSomething isn't working the way it should be
Description
Bug Report
Dynamicbeat may print a warning log about failing to close an SSH connection even when there are no issues.
See stackoverflow for a suggested fix.
Expected behavior
If the check finishes successfully, and there are no sessions left open on the target system, then Dynamicbeat shouldn't print any warning/error logs. Since this isn't a genuine issue, Dynamicbeat shouldn't print anything.
Actual behavior
A warning log is printed when closing an SSH session after a successful check.
Replication steps
For us to be able to fix the bug, it's important that we can replicate it. Please provide as detailed a guide as possible to reliably replicate the issue, if possible.
- Create a new SSH check
- Run Dynamicbeat against the check with logs printed to STDOUT (
./dynamicbeat -e) - See
Failed to close SSH session connection: EOFerror
Screenshots
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-DynamicbeatRelates to DynamicbeatRelates to DynamicbeatT-BugSomething isn't working the way it should beSomething isn't working the way it should be