hashicorp / hashicorp/go-plugin

Plugin never terminates

Open
#167 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
6.1k
Forks
511
Avg merge
22h 47m
Merged PRs (30d)
4

Description

I figure someone here might know the answer and I'm just forgetting to implement something.

I've implemented my plugin in Rust using tonic and have the correct HealthService setup and correctly can serve the plugin and execute an RPC. However, when go-plugin goes to shutdown the plugin, I receive "plugin: plugin failed to exit gracefully" and the plugin is never killed (I have to manually SIGKILL/SIGTERM it). Is there something I need to be doing over on my plugin's implementation side (or the go-plugin side) in order to get this successfully killed?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.