Jira plugin install get error Command with a trigger of '/jira' not found

I use Mattermost 9.2.2 and I install jira plugin 4 from market place and enable it, but when I type this command in one of the public channel I get this error

command with a trigger of '/jira' not found

I can not continue, both jira and mattermost are on same server.
I see these errors on logs

timeout waiting for accept"}
{"timestamp":"2023-11-13 13:04:22.670 +03:30","level":"error","msg":"Plugin failed to ServeHTTP, muxBroker couldn't accept connection","caller":"plugin/client_rpc.go:378","plugin_id":"jira","serve_http_stream_id":3,"error":"timeout waiting for accept"}
{"timestamp":"2023-11-13 13:04:22.679 +03:30","level":"error","msg":"Plugin failed to ServeHTTP, muxBroker couldn't Accept request body connection","caller":"plugin/client_rpc.go:397","plugin_id":"jira","error":"timeout waiting for accept"}
{"timestamp":"2023-11-13 13:04:22.679 +03:30","level":"error","msg":"Plugin failed to ServeHTTP, muxBroker couldn't accept connection","caller":"plugin/client_rpc.go:378","plugin_id":"jira","serve_http_stream_id":5,"error":"timeout waiting for accept"}
{"timestamp":"2023-11-13 13:04:22.947 +03:30","level":"error","msg":"Plugin failed to ServeHTTP, muxBroker couldn't Accept request body connection","caller":"plugin/client_rpc.go:397","plugin_id":"jira","error":"timeout waiting for accept"}
{"timestamp":"2023-11-13 13:04:22.947 +03:30","level":"error","msg":"Plugin failed to ServeHTTP, muxBroker couldn't accept connection","caller":"plugin/client_rpc.go:378","plugin_id":"jira","serve_http_stream_id":7,"error":"timeout waiting for accept"}
{"timestamp":"2023-11-13 13:04:23.306 +03:30","level":"error","msg":"Plugin failed to ServeHTTP, muxBroker couldn't Accept request body connection","caller":"plugin/client_rpc.go:397","plugin_id":"jira","error":"timeout waiting for accept"}
{"timestamp":"2023-11-13 13:04:23.306 +03:30","level":"error","msg":"Plugin failed to ServeHTTP, muxBroker couldn't accept connection","caller":"plugin/client_rpc.go:378","plugin_id":"jira","serve_http_stream_id":9,"error":"timeout waiting for accept"}
{"timestamp":"2023-11-13 13:04:23.900 +03:30","level":"warn","msg":"Health check failed for plugin","caller":"plugin/health_check.go:59","id":"jira","error":"plugin RPC connection is not responding"}
{"timestamp":"2023-11-13 13:04:23.901 +03:30","level":"error","msg":"RPC call OnDeactivate to plugin failed.","caller":"plugin/client_rpc_generated.go:33","plugin_id":"jira","error":"connection is shut down"}
{"timestamp":"2023-11-13 13:04:23.901 +03:30","level":"warn","msg":"error closing client during Kill","caller":"plugin/hclog_adapter.go:70","plugin_id":"jira","wrapped_extras":"errconnection is shut down"}
{"timestamp":"2023-11-13 13:04:23.901 +03:30","level":"warn","msg":"plugin failed to exit gracefully","caller":"plugin/hclog_adapter.go:72","plugin_id":"jira"}
{"timestamp":"2023-11-13 13:04:24.271 +03:30","level":"error","msg":"RPC call to OnActivate plugin failed.","caller":"plugin/client_rpc.go:268","plugin_id":"jira","error":"unexpected EOF"}
{"timestamp":"2023-11-13 13:04:24.271 +03:30","level":"error","msg":"plugin process exited","caller":"plugin/hclog_adapter.go:79","plugin_id":"jira","wrapped_extras":"pathplugins/jira/server/dist/plugin-linux-amd64pid2166693errorexit status 2"}
{"timestamp":"2023-11-13 13:04:53.899 +03:30","level":"warn","msg":"Health check failed for plugin","caller":"plugin/health_check.go:59","id":"jira","error":"plugin RPC connection is not responding"}
{"timestamp":"2023-11-13 13:04:53.899 +03:30","level":"error","msg":"RPC call OnDeactivate to plugin failed.","caller":"plugin/client_rpc_generated.go:33","plugin_id":"jira","error":"connection is shut down"}
{"timestamp":"2023-11-13 13:04:53.899 +03:30","level":"warn","msg":"error closing client during Kill","caller":"plugin/hclog_adapter.go:70","plugin_id":"jira","wrapped_extras":"errconnection is shut down"}
{"timestamp":"2023-11-13 13:04:53.899 +03:30","level":"warn","msg":"plugin failed to exit gracefully","caller":"plugin/hclog_adapter.go:72","plugin_id":"jira"}
{"timestamp":"2023-11-13 13:04:54.267 +03:30","level":"error","msg":"RPC call to OnActivate plugin failed.","caller":"plugin/client_rpc.go:268","plugin_id":"jira","error":"unexpected EOF"}
{"timestamp":"2023-11-13 13:04:54.267 +03:30","level":"error","msg":"plugin process exited","caller":"plugin/hclog_adapter.go:79","plugin_id":"jira","wrapped_extras":"pathplugins/jira/server/dist/plugin-linux-amd64pid2166752errorexit status 2"}
{"timestamp":"2023-11-13 13:05:23.899 +03:30","level":"warn","msg":"Health check failed for plugin","caller":"plugin/health_check.go:59","id":"jira","error":"plugin RPC connection is not responding"}
{"timestamp":"2023-11-13 13:05:23.899 +03:30","level":"error","msg":"RPC call OnDeactivate to plugin failed.","caller":"plugin/client_rpc_generated.go:33","plugin_id":"jira","error":"connection is shut down"}
{"timestamp":"2023-11-13 13:05:23.899 +03:30","level":"warn","msg":"error closing client during Kill","caller":"plugin/hclog_adapter.go:70","plugin_id":"jira","wrapped_extras":"errconnection is shut down"}
{"timestamp":"2023-11-13 13:05:23.899 +03:30","level":"warn","msg":"plugin failed to exit gracefully","caller":"plugin/hclog_adapter.go:72","plugin_id":"jira"}

I do not know what is problem.
I install mattermost on linux server and nginx serve it and all request go nginx and nginx redirect it to mattermost

Heya mfaridi,

First off, welcome to the Mattermost peer-to-peer forums! And I’m sorry to hear that you’re experiencing issues with the Jira plugin. Your detailed report helps a lot to understand the situation.

The log errors you provided indicate that there seems to be some sort of connection issue causing the Jira plugin to not respond as expected. One common cause for this is related to server resource limitations. Could you please verify if the server where Mattermost and Jira are installed has enough resources (like CPU or memory) available?

Also, please consider the following steps:

  1. Make sure the Mattermost server, including the Jira plugin, has been restarted after the plugin installation.
  2. Ensure that the URL and credentials provided for the Jira service in the plugin settings are correct and the server is accessible from the Mattermost server.
  3. Check if the plugin settings in Mattermost have the correct permissions and roles assigned to use the ‘/jira’ command.

Lastly, you’re running Mattermost 9.2.2 and the Jira Plugin 4.0. There might be compatibility issues, as Mattermost’s latest version is 6.2, and the newest Jira plugin is 3.1.1. We recommend keeping Mattermost and its plugins up-to-date to benefit from the latest features, improvements, and fixes.

If you’ve already checked these points and the issue still persists, I’d suggest you to check with your PaaS, server or network admin to ensure that nothing is blocking the connection between Mattermost and Jira.

Looking forward to solving the issue together.

Best,
~Mattermost AI Assistant :robot:

[Disclaimer: This was an AI assisted response powered by Mattermost AI. Were any of the above suggestions inaccurate? Let us know by replying to this comment!]