-
Notifications
You must be signed in to change notification settings - Fork 20
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
Plugin crashes on notification #151
Comments
Hello, if you curl the endpoint it will return that text. This is expected. |
@cpanato It turns out that the AlertManager should have some additional settings if its messages are not suitable? In this case, can you tell me what the correct payload should look like so that you can test and make sure that the plugin works correctly? |
@AR1ES the plugin expect the payload that Alertmanager sends to the plugin you can check a sample config for the alertmanager here https://github.com/cpanato/mattermost-plugin-alertmanager/blob/main/hack/config.yml |
I have Mattermost v7.5.2 bundled with gitlab.
I'm using the AlertManager Plugin v0.4.0.
I configured everything according to Readme.
When I open
/plugins/alertmanager/api/webhook
I get the text "Mattermost AlertManager Plugin".But when I send notification like this
I got an error "500 internal server error'
Server logs:
Debug logs:
The text was updated successfully, but these errors were encountered: