hashicorp / hashicorp/go-plugin

Unrecognized remote plugin message after trying to run it on Digital Ocean App Platform

Open
#183 1 comment 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 am getting this error when trying to launch a plugin with an instance deployed on Digital Ocean App Platform:

```
"Unrecognized remote plugin message: %s\n\n"+
"This usually means that the plugin is either invalid or simply\n"+
"needs to be recompiled to support the latest protocol.", line)
```

https://github.com/hashicorp/go-plugin/blob/3969aeb2156f7a10be3a00e33fe91b06ee75dbd7/client.go#L695

When running it locally everything works fine. I have checked the runtime on the deployed code and it has the same architecture than local environment.

Digital Ocean App Platform utilizes docker containers based on Heroku code: https://github.com/heroku/heroku-buildpack-go

I am digging around issues of this repo and the buildpack, but I can't find anything relevant. It is my understanding there should not exist any issues with running go-plugin inside containers

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.