metalmatze / alertmanager-bot

[deprecated] Bot for Prometheus' Alertmanager
MIT License
661 stars 148 forks source link

Can't start bot in docker-compose #201

Open auterpring opened 2 years ago

auterpring commented 2 years ago

After starting, container always restarts

logs:

level=error ts=2022-01-17T12:14:47.561730445Z caller=main.go:215 component=telegram msg="failed to create bot" err="bad response json: json: cannot unmarshal number 5090334062 into Go struct field User.Result.id of type int"

compose file: alert_bot: image: bohdantverdyi/alertmanager-bot-arm:0.4.2 container_name: alert_bot restart: always ports:

murawew64 commented 2 years ago

I have equal issue today when i start ./alertmanager-bot-0.4.3-linux-arm (precompile version), don't know how to solve the problem.

muocod commented 2 years ago

Any news?