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

[BUG] Give up the way to run "prometheus-msteams" in docker #323

Open
ozbillwang opened this issue May 17, 2023 · 0 comments
Open

[BUG] Give up the way to run "prometheus-msteams" in docker #323

ozbillwang opened this issue May 17, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ozbillwang
Copy link

ozbillwang commented May 17, 2023

Describe the bug

Spend so much time on the problem when run prometheus-msteams in docker, always get the error i/o timeout

Finally switch to run the binary directly in a ubuntu VM, it works directly.

Version
1.5.2

To Reproduce
Steps to reproduce the behavior:

run with docker compose

version: '3.8'

services:
  prom2teams:
    image: quay.io/prometheusmsteams/prometheus-msteams
    restart: always
    environment:
            TEAMS_INCOMING_WEBHOOK_URL: "<webhook_url>"
            TEAMS_REQUEST_URI: "alertmanager"

    ports:
            - 2000:2000

Error

I can see the request, then get timeout error , the message never be sent to MS Teams channel

2023/05/17 13:45:38 [ERR] POST https://<webhook_url> request failed: Post "https://<webhook_url>": dial tcp 52.98.0.146:443: i/o timeout

@ozbillwang ozbillwang added the bug Something isn't working label May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant