Please help me solve the problem.
Summary
When I adding mattermost-plugin-sample I getting errors on the page /plugins/com.mattermost.sample-plugin is 500 internal server error
and in logs:
error plugin/client_rpc_generated.go:67 RPC call OnConfigurationChange to plugin failed. {"plugin_id": "com.mattermost.sample-plugin", "error": "unexpected EOF"}
error plugin/client_rpc_generated.go:67 RPC call OnConfigurationChange to plugin failed. {"plugin_id": "com.mattermost.sample-plugin", "error": "connection is shut down"}
error plugin/client_rpc.go:322 Plugin failed to ServeHTTP, RPC call failed {"plugin_id": "com.mattermost.sample-plugin", "error": "connection is shut down"}
error plugin/client_rpc.go:295 Plugin failed to ServeHTTP, muxBroker couldn't Accept request body connection {"plugin_id": "com.mattermost.sample-plugin", "error": "timeout waiting for accept"}
error plugin/client_rpc.go:274 Plugin failed to ServeHTTP, muxBroker couldn't accept connection {"plugin_id": "com.mattermost.sample-plugin", "serve_http_stream_id": 2, "error": "timeout waiting for accept"}
Steps to reproduce
Current version is 5.4.0
Enterprise Enabled: false
Current working directory is /opt/mattermost
Debian 9.5
I just cloned the repository and build the plugin on the same virtual machine where the mattermost server is located. Then I downloaded the archive and upload it via System Console.
Virtual machine is located in private subnet behind corporate proxy (if it matters).
Expected behavior
on the page /plugins/com.mattermost.sample-plugin I should be able to see Hello, world!
Observed behavior
on the page /plugins/com.mattermost.sample-plugin I see 500 internal server error