Skip to content

polykey agent stop command not terminating properly #185

@CryptoTotalWar

Description

@CryptoTotalWar

Describe the bug

Looking through the logs, looks like the hook for shutting down never triggered. The log cuts out mid line like the process was terminated. That must've been when you had to manually kill it.

This might be a mac specific problem.

To Reproduce

  1. Run the agent
  2. Wait for a few minutes
  3. Run polykey agent stop

Test on Linux version that same way we got the error on Mac to see if it's an OS isolated incident or not.

Expected behavior

We handle most signals to trigger stopping the agent. The only thing that should really kill it like this is a SIGKILL signal.

Screenshots

Platform

  • Device: Mac
  • OS: Sonoma 14 Terminal Version 2.14
  • Version: polykey-cli-0.3.1-darwin-universal

Additional context

  • Polykey logs can be found here: Polykey-CLI#183
  • Propagated problem of connections being leaked causing push error flow being discussed here: Polykey-CLI#198

Notify maintainers

@tegefaulkes

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingr&d:polykey:core activity 4End to End Networking behind Consumer NAT Devices

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions