-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mattermost Commands not working #291
Comments
Would you mind double-checking the docs for Mattermost Setup. I believe there might be an issue with the permissions on the Bot Account. https://docs.nautobot.com/projects/chatops/en/latest/admin/install/mattermost_setup/#mattermost-setup |
Have you tried running |
I have no development environment in which I could use the Invoke command, the problem occurs in production |
@Phill93 This could also be due to an issue authenticating to Mattermost. It could be possible that the Celery Worker is not able to access the config. This could happen if you are using Environment Variables, but only have the Environment Variables on the Nautobot service, and not the Nautobot Worker. Alternatively, the token might be wrong. You can regenerate the token in Mattermost and copy it back into the config, if you do regenerate the code, make sure you copy it on the pop-up box that appears, once you close it only the id is shown in Mattermost, not the token itself. |
Environment
Expected Behavior
Working commands in Mattermost
Observed Behavior
Every time I send a command in Mattermost towards Nautobot I get the message "Command with a trigger of 'nautobot' returned response 500 Internal Server Error". The following messages can be found in the Nautobot log at DEBUG level:
Steps to Reproduce
The text was updated successfully, but these errors were encountered: