mattermost / mattermost-plugin-playbooks

Mattermost Playbooks enable reliable and repeatable processes for your teams using checklists, automation, and retrospectives.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Insights issue on free tier

lonesomewalker opened this issue · comments

Seems that #1597 is not working well, on a machine updated yesterday i get the following error:

{"timestamp":"2023-01-23 23:11:25.161 +01:00","level":"error","msg":"An internal error has occurred. Check app server logs for details.","caller":"app/plugin_api.go:976","plugin_id":"playbooks","error":"invalid license/authorization to use insights API\ngithub.com/mattermost/mattermost-plugin-playbooks/server/app.licenseAndGuestCheck\n\tgithub.com/mattermost/mattermost-plugin-playbooks/server/app/playbook_service.go:233\ngithub.com/mattermost/mattermost-plugin-playbooks/server/app.(*playbookService).GetTopPlaybooksForTeam\n\tgithub.com/mattermost/mattermost-plugin-playbooks/server/app/playbook_service.go:208\ngithub.com/mattermost/mattermost-plugin-playbooks/server/api.(*PlaybookHandler).getTopPlaybooksForTeam\n\tgithub.com/mattermost/mattermost-plugin-playbooks/server/api/playbooks.go:766\ngithub.com/mattermost/mattermost-plugin-playbooks/server/api.withContext.func1\n\tgithub.com/mattermost/mattermost-plugin-playbooks/server/api/context.go:36\nnet/http.HandlerFunc.ServeHTTP\n\tnet/http/server.go:2084\ngithub.com/mattermost/mattermost-plugin-playbooks/server/api.MattermostAuthorizationRequired.func1\n\tgithub.com/mattermost/mattermost-plugin-playbooks/server/api/api.go:115\nnet/http.HandlerFunc.ServeHTTP\n\tnet/http/server.go:2084\ngithub.com/mattermost/mattermost-plugin-playbooks/server/api.LogRequest.func1\n\tgithub.com/mattermost/mattermost-plugin-playbooks/server/api/logger.go:46\nnet/http.HandlerFunc.ServeHTTP\n\tnet/http/server.go:2084\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\tgithub.com/gorilla/mux@v1.8.0/mux.go:210\ngithub.com/mattermost/mattermost-plugin-playbooks/server/api.(*Handler).ServeHTTP\n\tgithub.com/mattermost/mattermost-plugin-playbooks/server/api/api.go:60\nmain.(*Plugin).ServeHTTP\n\tgithub.com/mattermost/mattermost-plugin-playbooks/server/plugin.go:97\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\tgithub.com/mattermost/mattermost-server/v6@v6.0.0-20221206174448-c3c81cb3d6a2/plugin/client_rpc.go:453\nreflect.Value.call\n\treflect/value.go:556\nreflect.Value.Call\n\treflect/value.go:339\nnet/rpc.(*service).call\n\tnet/rpc/server.go:381\nruntime.goexit\n\truntime/asm_amd64.s:1571","request_id":"93a81zhm47rsub8etgjtw9ho6e","plugin_caller":"github.com/mattermost/mattermost-plugin-playbooks/server/api/api.go:85"}

Thanks, @lonesomewalker. We found this issue too and have triaged it with the feature owning the Insights feature over at https://mattermost.atlassian.net/browse/MM-49943. Sorry for the error logs, but good news is that it should be invisible to your endusers. cc @BenCookie95