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

'Successfully sent notification' but no notification received #54

Open
Miki800 opened this issue May 13, 2019 · 2 comments

Comments

Projects
None yet
3 participants
@Miki800
Copy link

commented May 13, 2019

after running
./sh/notify.sh -t "My message"
(after I registered with the key the android app generated of course)
the shell script prints this every time:
[notify] Successfully sent notification.
but no notification received on the android device.

I tried reinstalling the app, as a previous issue stated that helped him for a similar situation, but it did not solve the issue I am experiencing.

@tasinet

This comment has been minimized.

Copy link

commented Jun 4, 2019

The backend seems to be "down". I tried hitting the right URL with curl and I get a 429 "Error: could not handle the request".

curl -v -g -s -G \
         'https://us-central1-notify-b7652.cloudfunctions.net/sendNotification' \
         --data-urlencode "to=hunter2" \
         --data-urlencode "text=TEXT" \
         --data-urlencode "title=TITLE" 
...
> GET /sendNotification?to=hunter2&text=TEXT&title=TITLE HTTP/2
...
< HTTP/2 429 
...
Error: could not handle the request

Full curl log here

@jikamens

This comment has been minimized.

Copy link

commented Jun 5, 2019

FWIW, given that the app has disappeared from the app store and notifications from the CLI are no longer working, I decided to see if I could switch to using IFTTT to send messages from Linux to my Android phone. Indeed, it appears that you can. You can set up an IFTTT applet which accepts HTTPS requests using the Webhooks service and transmits notifications to the IFTTT app on your phone using the Notifications service. The incoming Webhooks requests can set variables for, e.g., the notification title and content, and the Notifications service can then access those variables to transmit the content to your phone. Just mentioning this here in case it proves useful to someone else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.