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

Client crashes on resume from sleep on windows #4007

Closed
casey-hillman opened this issue Jan 9, 2025 · 1 comment
Closed

Client crashes on resume from sleep on windows #4007

casey-hillman opened this issue Jan 9, 2025 · 1 comment

Comments

@casey-hillman
Copy link
Contributor

Had an issue were the velociraptor client was crashing seemingly randomly on a large number of our endpoints everyday. The endpoints were predominately laptops (>99% of them). Upon troubleshooting it appears the crash was happening after the endpoints were resumed from sleep. Further testing did show the crash could be replicated by having a device sleep longer than the nanny_max_connection_delay setting and then resuming the device from sleep.

Example logs:

[INFO] 2025-01-09T10:12:19-07:00 Sender: received 626 bytes in 149.2434ms
[INFO] 2025-01-09T10:19:46-07:00 File Ring Buffer: Enqueue {"header":"{\"ReadPointer\":50,\"WritePointer\":723,\"MaxSize\":1073741874,\"AvailableBytes\":665,\"LeasedBytes\":0}","leased_pointer":50}
[ERROR] 2025-01-09T10:19:46-07:00 NannyService: Last Read From Server too long ago 2025-01-09 10:12:18.710874 -0700 MST m=+21.548059401 (now is 2025-01-09 10:19:46.8276818 -0700 MST m=+469.664867501 MaxConnectionDelay is 2m0s)
[ERROR] 2025-01-09T10:19:47-07:00 Hard Exit called!
@scudette
Copy link
Contributor

Should be fixed by #4020

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

No branches or pull requests

2 participants