Skip to content
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

Add option to send without channel defined #85

Open
Ataraxxia opened this issue May 13, 2019 · 2 comments
Open

Add option to send without channel defined #85

Ataraxxia opened this issue May 13, 2019 · 2 comments

Comments

@Ataraxxia
Copy link

In the most recent version of mattermost + Graylog 3 I am not able to send notification, not even test. I have pinned down the problem down to getting 404 on my Nginx reverse proxy pointing to mattermost server. I need to mention that I have other incoming webhooks working just fine.

In the current version of mattermost, webhook can be defined with predetermined and locked channel, and I have wintessed similar behaviour of getting 404's when having channel name defined. Simple option to omit channel name in POST request would suffice I think.

83.12.190.58 - - [13/May/2019:18:42:10 +0200] "POST /hooks/HOOK_ID HTTP/1.1" 404 163 "-" "Java/1.8.0_212"
83.12.190.58 - - [13/May/2019:18:43:39 +0200] "POST /hooks/HOOK_ID HTTP/1.1" 404 163 "-" "Java/1.8.0_212"
83.12.190.58 - - [13/May/2019:18:49:45 +0200] "POST /hooks/HOOK_ID HTTP/1.1" 404 163 "-" "Java/1.8.0_212"

@Ataraxxia
Copy link
Author

Proposed a pull request:

#86

@PavelNedviga
Copy link

Hi all!
I found the solution in: https://developers.mattermost.com/integrate/webhooks/incoming/?utm_source=mattermost&utm_medium=in-product&utm_content=confirm_integration&uid=9a444bijbjdtxx4tjzi1ozbo1e&sid=49oosgy1kfdxbbimm8dsd4muro
Just read carefully the part about "channel": names of the channels a slightly changed, when you send notifications to them from graylog. Use lover case letters, replace spaces with "-". For example original name of channel "95 Tests" converts into "95-tests" in send message notifications metadata.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants