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

Send Microsoft Teams Notification with a proxy - Error: Unable to send the Message. Network is unreachable #1350

Open
mhollstein opened this issue Oct 27, 2023 · 3 comments

Comments

@mhollstein
Copy link

Description

Unable to send test notification to MSTeams behind a proxy

Steps To Reproduce

  1. Install Graylog (between Graylog and the Microsoft webhook is a proxy)
  2. create test notification
  3. insert webhook url for MSTeams
  4. click on button "Execute Test Notification

Environment (Docker)

  • Graylog Version: graylog:5.0.12
  • OpenSearch Version: elasticsearch-oss:7.10.2
  • MongoDB Version: mongodb:5.0.12
  • Browser Version: Chrome Version 118.0.5993.89 (Offizieller Build) (64-Bit)

2023-10-27 15_26_19-Graylog - Edit test Notification

@sanket-kalpande
Copy link

I am also facing same issue, is there any solution

@mhollstein
Copy link
Author

mhollstein commented Nov 25, 2024

I found out that I had to set the proxy for Graylog. Then the sending to MS-Teams works in Graylog 5.2

You can set environment variables for this. In a systemctl service file it looks like this:

-e GRAYLOG_HTTP_PROXY_URI=http://your-proxy:your-proxy-port \
-e GRAYLOG_HTTP_NON_PROXY_HOSTS=your-opensearch-server.your-domain,127.0.0.1,localhost \

@mhollstein
Copy link
Author

If you get this message:
Error:
Unable to send the Message. timeout

Try to delete the "Custom Message (optional)" and use a simple string like "Test"

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

No branches or pull requests

3 participants