mattermost-community / mattermost-plugin-bitbucket

Mattermost plugin for Bitbucket
Apache License 2.0
6 stars 16 forks source link

PR not appearing in mattermost desktop #98

Open samuraii78 opened 1 year ago

samuraii78 commented 1 year ago

Excellent and useful plugin. However having followed the setup outlined here https://mattermost.gitbook.io/bitbucket-plugin/ along with authorization and webhook setup and proper permissions, the plugin does not show my open PRs in bitbucket even though clicking on the link in the side menu does take me to the correct page and shows the corresponding PR.

I'm using the latest mattermost desktop app. Cache has been cleared and all other bitbucket features including notifications on PR creation, comments etc. are showing in the feed.

Any reasons for this to happen?

Thanks in advance

The following error is generated in the mattermost log:

{"timestamp":"2022-11-11 17:22:24.022 Z","level":"error","msg":"Error occurred while searching for repositories","caller":"app/plugin_api.go:974","plugin_id":"bitbucket","err":"json: cannot unmarshal number 14779982996 into Go struct field Repository.values.size of type int32\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:389\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourAssignments\n\t/home/circleci/project/server/api.go:714\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourAssignments\n\t/home/circleci/project/server/api.go:714\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourAssignments\n\t/home/circleci/project/server/api.go:714\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourAssignments\n\t/home/circleci/project/server/api.go:714\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourAssignments\n\t/home/circleci/project/server/api.go:714\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourAssignments\n\t/home/circleci/project/server/api.go:714\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourAssignments\n\t/home/circleci/project/server/api.go:714\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourAssignments\n\t/home/circleci/project/server/api.go:714\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourAssignments\n\t/home/circleci/project/server/api.go:714\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourAssignments\n\t/home/circleci/project/server/api.go:714\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourAssignments\n\t/home/circleci/project/server/api.go:714\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourAssignments\n\t/home/circleci/project/server/api.go:714\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourAssignments\n\t/home/circleci/project/server/api.go:714\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourAssignments\n\t/home/circleci/project/server/api.go:714\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourAssignments\n\t/home/circleci/project/server/api.go:714\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:375\nmain.(*Plugin).getYourAssignments\n\t/home/circleci/project/server/api.go:714\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371"}

{"timestamp":"2022-11-11 17:22:24.032 Z","level":"error","msg":"Error occurred while searching for repositories","caller":"app/plugin_api.go:974","plugin_id":"bitbucket","err":"error occurred while fetching repositories: error occurred while fetching repositories: error occurred while fetching repositories: error occurred while fetching repositories: error occurred while fetching repositories: error occurred while fetching repositories: error occurred while fetching repositories: error occurred while fetching repositories: error occurred while fetching repositories: error occurred while fetching repositories: error occurred while fetching repositories: error occurred while fetching repositories: error occurred while fetching repositories: error occurred while fetching repositories: error occurred while fetching repositories: error occurred while fetching repositories: json: cannot unmarshal number 14779982996 into Go struct field Repository.values.size of type int32"}

{"timestamp":"2022-11-11 17:22:24.126 Z","level":"error","msg":"error occurred while searching for repositories","caller":"app/plugin_api.go:974","plugin_id":"bitbucket","err":"json: cannot unmarshal number 14779982996 into Go struct field Repository.values.size of type int32\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:389\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourPrs\n\t/home/circleci/project/server/api.go:466\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourPrs\n\t/home/circleci/project/server/api.go:466\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourPrs\n\t/home/circleci/project/server/api.go:466\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourPrs\n\t/home/circleci/project/server/api.go:466\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourPrs\n\t/home/circleci/project/server/api.go:466\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourPrs\n\t/home/circleci/project/server/api.go:466\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourPrs\n\t/home/circleci/project/server/api.go:466\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourPrs\n\t/home/circleci/project/server/api.go:466\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourPrs\n\t/home/circleci/project/server/api.go:466\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourPrs\n\t/home/circleci/project/server/api.go:466\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourPrs\n\t/home/circleci/project/server/api.go:466\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourPrs\n\t/home/circleci/project/server/api.go:466\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourPrs\n\t/home/circleci/project/server/api.go:466\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourPrs\n\t/home/circleci/project/server/api.go:466\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:400\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:373\nmain.(*Plugin).getYourPrs\n\t/home/circleci/project/server/api.go:466\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror occurred while fetching repositories\nmain.(*Plugin).getUserRepositories\n\t/home/circleci/project/server/plugin.go:375\nmain.(*Plugin).getYourPrs\n\t/home/circleci/project/server/api.go:466\nmain.(*Plugin).extractUserMiddleWare.func1\n\t/home/circleci/project/server/api.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2069\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nmain.(*Plugin).ServeHTTP\n\t/home/circleci/project/server/api.go:168\ngithub.com/mattermost/mattermost-server/v6/plugin.(*hooksRPCServer).ServeHTTP\n\t/go/pkg/mod/github.com/mattermost/mattermost-server/v6@v6.3.0/plugin/client_rpc.go:456\nreflect.Value.call\n\t/usr/local/go/src/reflect/value.go:476\nreflect.Value.Call\n\t/usr/local/go/src/reflect/value.go:337\nnet/rpc.(*service).call\n\t/usr/local/go/src/net/rpc/server.go:377\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371"}
samuraii78 commented 1 year ago

Further investigation has showed that when calling the get functions in utils.go (i.e. line 30) appending the "q=" string seems to break the call. Also the repoFullName should have the following structure workspace/reponame if not already implemented

Tested as a raw url in the browser and it works with the above modifications.

samuraii78 commented 1 year ago

@hanzei If you can share instructions on how to build the plugin that would be helpful. I can try and debug it and share my findings. Building against nodejs 16 LTS seems to generate a lot of package errors. Any insights into the build process that would help are greatly appreciated

hanzei commented 1 year ago

Could you please try building the plugin using node 13?

samuraii78 commented 1 year ago

@hanzei thanks for the reply. I'm using the marketplace version of the plugin and I don't have the dev environment setup anymore but I can try again.

On Wed, Dec 7, 2022 at 10:48 PM Ben Schumacher @.***> wrote:

Could you please try building the plugin using node 13?

— Reply to this email directly, view it on GitHub https://github.com/mattermost/mattermost-plugin-bitbucket/issues/98#issuecomment-1341577276, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFZKER2NL4LVBQKOOBVRZUDWMDZ2ZANCNFSM6AAAAAAR5Z5WPY . You are receiving this because you authored the thread.Message ID: @.***>

junem-ingenuity commented 6 months ago

I'm getting similar issues with the this plugin installed from the Marketplace: Repositories are not getting fetched

{"timestamp":"2023-12-18 03:22:07.858 Z", "level":"error", "msg":"error occurred while searching for repositories", "caller":"app/plugin_api.go:984", "plugin_id":"bitbucket", "err":"json: cannot unmarshal number 3028242582 into Go struct field Repository.values.size of type int32\n error occurred while fetching repositories\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:389\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/..."}

should the data type be changed from int32 to int64? https://github.com/wbrefvem/go-bitbucket/blob/fc08fd046abbc94823e6d2a79ae248d62112a6fc/repository.go#L45C2-L45C2