You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tested that the webhook url works using the following curl command -
url -X POST --data-urlencode 'payload={"text": "This is posted to <#general> and comes from *monkey-bot*.", "channel": "#general", "username": "monkey-bot", "icon_emoji": ":monkey_face:"}' https://hooks.slack.com/services/T03Rsdfklsjdflksjdfkljskldfklsjdf8zo
ok%
However I get the following error in AlertManager when a notification is triggered -
==> /var/log/alert_manager.log <==
time="2015-08-13T15:23:50Z" level=info msg="Recomputing notification outputs (active alerts have changed)" file=manager.go line=398
time="2015-08-13T15:23:50Z" level=info msg="Sent 1 notifications" file=manager.go line=353
time="2015-08-13T15:23:55Z" level=error msg="Error sending Slack notification: Post https://hooks.slack.com/services/T03Rsdfklsjdflksjdfkljskldfklsjdf8zo: net/http: request canceled while waiting for connection" file=notifier.go line=617
I can see that a connection is being made but as it's HTTPS I can't see the details -
Has anyone had issues with the Slack Integration?
My current configuration is as follows (webhook url obfuscated) -
I've tested that the webhook url works using the following curl command -
However I get the following error in AlertManager when a notification is triggered -
I can see that a connection is being made but as it's HTTPS I can't see the details -
I've tried setting 'channel' in slack_config to both my '@mynickname' and '#mychannel' but this didn't seem to fix the issue.
I've looked around and I can't see many examples of the Slack integration which makes me think that it might actually be broken.
Any help is much appreciated!
The text was updated successfully, but these errors were encountered: