phillipahereza / mattermost-plugin-digitalocean

A Mattermost plugin to interact with DigitalOcean 🔌
14 stars 7 forks source link

The plugin crashes randomly #74

Open FiloSpaTeam opened 3 years ago

FiloSpaTeam commented 3 years ago

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):

nogamenofun98 commented 1 year ago

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"}