-
Notifications
You must be signed in to change notification settings - Fork 21
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
Not Sending Push Notifications #22
Comments
I am seeing this entry in the logs... octoprint.log:2018-04-26 10:17:33,482 - octoprint.plugins.pushover - INFO - error while instantiating Pushover: HTTPSConnectionPool(host='api.pushover.net', port=443): Max retries exceeded with url: /1/users/validate.json (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x76cc2870>: Failed to establish a new connection: [Errno -2] Name or service not known',)) |
Tested with there pyton test code and our keys, got this send: 'POST /1/messages.json HTTP/1.1\r\nHost: api.pushover.net\r\nAccept-Encoding: identity\r\nContent-Length: 92\r\nContent-type: application/x-www-form-urlencoded\r\n\r\ntoken=xxxxxxxxxxxxxxxxxx&message=hello+world&user=xxxxxxxxxxxxxxxxxxxx' |
Hi, Thanks for contacting, I did not noticed it. This plugin uses an api key that can send 12,500 messages each month. And this plugin keeps getting more populair (which is a good thing) and therefore more messages are being sent. The reason why you can't send anymore messages is because the limit is reached. You can do 2 things,
Also I recommend you remove your user key from the comment above (spam and stuff) I will contact Pushover and hope they are kind enough the raise the limit (again). See the image below for a graph of the usage. |
Hi, Pushover developer here. I've raised the limit to 25,000 but this application should stop hard-coding an API token. I've enabled cloning for the application so you can direct users to https://pushover.net/apps/clone/octoprint where they can easily register their own API token and get their own monthly quota. This way one user won't affect all others. |
BTW, Love the Plugin and Pushover Service, seems to work great!! Now have it installed on 5 printers!! |
As of yesterday, all push notification are no longer being delivered from any of my Octoprint Devices. I tested with the test option and watched the console on the pushover website and the Messages Delivered/Pending did not change.
The text was updated successfully, but these errors were encountered: