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

The plugin crashes randomly #74

Open
FiloSpaTeam opened this issue Jul 29, 2021 · 1 comment
Open

The plugin crashes randomly #74

FiloSpaTeam opened this issue Jul 29, 2021 · 1 comment
Assignees

Comments

@FiloSpaTeam
Copy link

Describe the bug
Try to list commands with /do help but respond with: "Plugin for /do is not working. Please..."
So i go to Console, deactivate, reactivate and works, but some time later same problems

To Reproduce
Steps to reproduce the behavior:

  1. Go to a channel
  2. Type and go: /do help

Expected behavior
Should print do list commands

Screenshots

Mattermost (please complete the following information):

  • Client Web
  • Version 5.37
@nogamenofun98
Copy link

I also encounter this issue, the plugin just disabled automatically due to error.
I tried to find any error in the server log, and found this log below.

@phillipahereza Would you help to look into that? I tried to build this plugin myself but keep failing in the "make" process, so I cannot test out this. I got multiple user, and only 1 user has connect to DO, and this log seems like is triggering due to other user who didnt call the /do command at all.

{"timestamp":"2022-12-16 16:34:52.763 +08:00","level":"error","msg":"Failed to load DO token","caller":"app/plugin_api.go:976","plugin_id":"com.github.phillipahereza.mattermost-plugin-digitalocean","user":"7iext7pog3rq5fmxbozg1i46nh","Err":""}
{"timestamp":"2022-12-16 16:34:52.763 +08:00","level":"error","msg":"Failed to load DO token","caller":"app/plugin_api.go:976","plugin_id":"com.github.phillipahereza.mattermost-plugin-digitalocean","user":"7iext7pog3rq5fmxbozg1i46nh","Err":""}
{"timestamp":"2022-12-16 16:34:52.769 +08:00","level":"error","msg":"Failed to load DO token","caller":"app/plugin_api.go:976","plugin_id":"com.github.phillipahereza.mattermost-plugin-digitalocean","user":"7iext7pog3rq5fmxbozg1i46nh","Err":""}
{"timestamp":"2022-12-16 16:34:52.778 +08:00","level":"error","msg":"Failed to load DO token","caller":"app/plugin_api.go:976","plugin_id":"com.github.phillipahereza.mattermost-plugin-digitalocean","user":"fsocrzeh53d48kymx7zsyfxheo","Err":""}
{"timestamp":"2022-12-16 16:34:52.785 +08:00","level":"error","msg":"Failed to load DO token","caller":"app/plugin_api.go:976","plugin_id":"com.github.phillipahereza.mattermost-plugin-digitalocean","user":"fsocrzeh53d48kymx7zsyfxheo","Err":""}
{"timestamp":"2022-12-16 16:34:52.787 +08:00","level":"error","msg":"Failed to load DO token","caller":"app/plugin_api.go:976","plugin_id":"com.github.phillipahereza.mattermost-plugin-digitalocean","user":"fsocrzeh53d48kymx7zsyfxheo","Err":""}
{"timestamp":"2022-12-16 16:34:54.137 +08:00","level":"error","msg":"Failed to load DO token","caller":"app/plugin_api.go:976","plugin_id":"com.github.phillipahereza.mattermost-plugin-digitalocean","user":"ujwj71cnnpnz9bnbf3hj8rkoza","Err":""}
{"timestamp":"2022-12-16 16:34:54.138 +08:00","level":"error","msg":"Failed to load DO token","caller":"app/plugin_api.go:976","plugin_id":"com.github.phillipahereza.mattermost-plugin-digitalocean","user":"ujwj71cnnpnz9bnbf3hj8rkoza","Err":""}
{"timestamp":"2022-12-16 16:34:54.149 +08:00","level":"error","msg":"Failed to load DO token","caller":"app/plugin_api.go:976","plugin_id":"com.github.phillipahereza.mattermost-plugin-digitalocean","user":"ujwj71cnnpnz9bnbf3hj8rkoza","Err":""}
{"timestamp":"2022-12-16 16:34:54.475 +08:00","level":"error","msg":"Failed to load DO token","caller":"app/plugin_api.go:976","plugin_id":"com.github.phillipahereza.mattermost-plugin-digitalocean","user":"thxzw6iitbr9dk3z3zp333i9br","Err":""}
{"timestamp":"2022-12-16 16:34:54.479 +08:00","level":"error","msg":"Failed to load DO token","caller":"app/plugin_api.go:976","plugin_id":"com.github.phillipahereza.mattermost-plugin-digitalocean","user":"thxzw6iitbr9dk3z3zp333i9br","Err":""}
{"timestamp":"2022-12-16 16:34:54.485 +08:00","level":"error","msg":"Failed to load DO token","caller":"app/plugin_api.go:976","plugin_id":"com.github.phillipahereza.mattermost-plugin-digitalocean","user":"thxzw6iitbr9dk3z3zp333i9br","Err":""}
{"timestamp":"2022-12-16 16:35:00.003 +08:00","level":"info","msg":"2022/12/16 16:35:00 dial tcp: missing address\n","caller":"io/io.go:428","plugin_id":"com.github.phillipahereza.mattermost-plugin-digitalocean","source":"plugin_stderr"}
{"timestamp":"2022-12-16 16:35:00.009 +08:00","level":"error","msg":"plugin process exited","caller":"plugin/hclog_adapter.go:79","plugin_id":"com.github.phillipahereza.mattermost-plugin-digitalocean","wrapped_extras":"pathplugins/com.github.phillipahereza.mattermost-plugin-digitalocean/server/dist/plugin-linux-amd64pid700errorexit status 1"}

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

3 participants