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
PowerShell Agent Unexpected Crashes: Issue with "Read" Method #147
Comments
Based on the error I see it seems that the remote host as closed the connection mean that it stopped listening to the port. Also it could be a connection issues. Make the connection your connecting to "Victim" there no connection timeout .... |
@whydee86, thanks a lot for the detailed issue description. Looks like one of the 3 arguments when calling I will have a closer look and get back to you. Cheers |
Great, if I can help with something or provide more information, please let me know. We should also add to the agent reconnect mechanism in case of network failure. For example, try stopping the server for 5 seconds and then start it again. |
Description
The PowerShell agent generally operates smoothly, but I have encountered an issue where it unexpectedly crashes during execution. The crash is associated with an exception thrown when attempting to call the "Read" method with three arguments.
Steps to Reproduce
(Note: The issue appears to occur at random intervals, possibly influenced by network stability or remote server responses.)
Expected Behavior
The agent should handle network interruptions or reconnect attempts gracefully without crashing, possibly by implementing retry mechanisms or more robust error handling around the "Read" operation.
Actual Behavior
The agent crashes, leading to an abrupt termination of its execution. This disrupts workflows and requires manual intervention to restart the agent.
Looking forward to your support in resolving this issue. Thank you!
The text was updated successfully, but these errors were encountered: