Mattermost, Inc.

Starting Jitsi video with a slash command

Summary

Internal server error when trying to invoke Jitsi from a slash command.
I am trying to connect to https://meet.jit.si/

Steps to reproduce

v5.15.0

Expected behavior

I can’t find much documentation on how to add a slash command to invoke Jitsi video conference, but when I add a slash command to start a new Jitsi video conference, Mattermost produces a server 500 error.
I have added the following lines to my mattermost config file

"AllowedUntrustedInternalConnections": "localhost",
"EnableInsecureOutgoingConnections": true,

Observed behavior

The following error appears in the mattermost logs
2019-10-04T17:07:01.047+0100 error mlog/log.go:173 Command with a trigger of ‘jitsi’ returned response 405 Not Allowed {“path”: “/api/v4/commands/execute”, “request_id”: “gwg8qs34k3yb8g5t15qpegcnzy”, “ip_addr”: “222.22.222.22”, “user_id”: “nopcspcbzfyc9xwbfaoh59rk4r”, “method”: “POST”, “err_where”: “command”, “http_code”: 500, “err_details”: “\r\n405 Not Allowed\r\n\r\n

405 Not Allowed

\r\n
nginx/1.16.1\r\n\r\n\r\n”}