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

Pushover notifications are broken #100

Closed
farcaller opened this issue Jul 22, 2015 · 10 comments
Closed

Pushover notifications are broken #100

farcaller opened this issue Jul 22, 2015 · 10 comments

Comments

@farcaller
Copy link
Contributor

Enabling pushover results on the following error:

time="2015-07-22T17:10:40Z" level=error msg="Error sending Pushover notification: pushover: request 531f66f26c76006b84864f02a434b858: retry is invalid" file=notifier.go line=640

tokens we verified and correct.

@juliusv
Copy link
Member

juliusv commented Jul 22, 2015

@a86c6f7964 @antonlindstrom @Luzifer - you guys have been using Pushover in the past. Any clue about this problem?

@antonlindstrom
Copy link
Contributor

I've used this successfully for quite some time and never seen an error like this. My best bet is that the clock is out of sync, that may cause some strange problems.

@farcaller
Copy link
Contributor Author

this is not a clock issue as confirmed by ntp.

@camerondavison
Copy link
Contributor

I also have never seen this issue. Is it possible that the go library updated and alertmanager has not locked down the version?

@juliusv
Copy link
Member

juliusv commented Jul 22, 2015

That is possible. We don't vendor dependencies in alertmanager yet, but will do so at some point (we really should). If anyone is up for testing this against all current dependencies at that'd be awesome.

@Luzifer
Copy link

Luzifer commented Jul 24, 2015

Can confirm the issue with my own builds. Currently having an open alert but no alert in pushover web console.

@Luzifer
Copy link

Luzifer commented Jul 24, 2015

Does not look like an update in pushover lib… There is one change since 2014:
https://github.com/thorduri/pushover/compare/a8420a1935479cc266bda685cee558e86dad4b9f...master

This will not break anything… Maybe this is the problem: I'll take a look into the pushover API documentation.

@Luzifer
Copy link

Luzifer commented Jul 24, 2015

To send an emergency-priority notification, the priority parameter must be set to 2 and the retry and expire parameters must be supplied.
(Source: https://pushover.net/api#priority)

So we need to send those two parameters too when sending emergency notifications. Seeing this the breaking change was 15 days ago with b7919b3.

@farcaller
Copy link
Contributor Author

Didn't notice there was a fix in #103, sorry. Filed #104 as an alternative though, it should be configurable IMO.

@Luzifer
Copy link

Luzifer commented Jul 24, 2015

Closed #103 as #104 is a better solution!

farcaller added a commit to farcaller/alertmanager that referenced this issue Jul 25, 2015
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

5 participants