notify icon indicating copy to clipboard operation
notify copied to clipboard

'Successfully sent notification' but no notification received

Open korenmic opened this issue 5 years ago • 4 comments

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.

korenmic avatar May 13 '19 13:05 korenmic

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

tasinet avatar Jun 04 '19 14:06 tasinet

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.

jikamens avatar Jun 05 '19 22:06 jikamens

Hi, notify worked perfectly for me until a month ago. Is the service down now? Now I have the same problem like korenmic had.

MoikvanDoik avatar Feb 20 '21 10:02 MoikvanDoik

@MoikvanDoik Exactly, I have the same question. I think the server is closed.

abhinandanpro9 avatar Nov 09 '22 03:11 abhinandanpro9