androidseb25 / iGotify-Notification-Assistent

Docker container for sending Gotify notifications to iOS devices (bridge to gotify websocket)
MIT License
99 stars 3 forks source link

No notifications on iPhone #20

Closed nallej closed 5 months ago

nallej commented 5 months ago

Nice app, thanks. We need it for iPhone.


gotify has been recreated igotify exited with code 0 igotify has been recreated igotify exited with code 0 igotify has been recreated gotify | Starting Gotify version 2.4.0@2023-09-17-08:24:00 gotify | Started Listening for plain HTTP connection on :80 igotify | File is created. igotify | Client - Token: igotify | Gotify - Url: ws://gotify/stream?token= igotify | Client connecting...Done! gotify | 2024-01-10T14:41:36+02:00 | 200 | 4.07984ms | 172.18.0.10 | GET "/stream?token=[masked]" igotify | Reconnection happened, type: Initial igotify | info: Microsoft.Hosting.Lifetime[14] igotify | Now listening on: http://[::]:8080 igotify | info: Microsoft.Hosting.Lifetime[0] igotify | Application started. Press Ctrl+C to shut down. igotify | info: Microsoft.Hosting.Lifetime[0] igotify | Hosting environment: Production igotify | info: Microsoft.Hosting.Lifetime[0] igotify | Content root path: /app gotify | 2024-01-10T14:41:37+02:00 | 200 | 2.217134ms | | GET "/application" gotify | 2024-01-10T14:41:37+02:00 | 200 | 8.632602ms | | GET "/message?since=0" gotify | 2024-01-10T14:41:43+02:00 | 200 | 1.738538ms | | GET "/application" gotify | 2024-01-10T14:41:43+02:00 | 200 | 4.985731ms | | GET "/current/user" gotify | 2024-01-10T14:41:43+02:00 | 200 | 1.349784ms | | GET "/message?since=0" gotify | 2024-01-10T14:41:46+02:00 | 200 | 3.541318ms | | GET "/current/user" gotify | 2024-01-10T14:41:46+02:00 | 200 | 1.386348ms | | GET "/application" gotify | 2024-01-10T14:41:47+02:00 | 200 | 2.404043ms | | GET "/stream?token=[masked]" gotify | 2024-01-10T14:41:50+02:00 | 200 | 81.480124ms | | POST "/message" igotify | Message converted: {"id":4,"appid":1,"message":"\nThis is a test of the notification target 'Gotify'\n","title":"Test notification","priority":1,"extras":{"clientdisplay":{"contentType":"text/markdown"}},"date":"2024-01-10T14:41:50.341571427+02:00"} igotify | gotify | 2024-01-10T14:41:57+02:00 | 200 | 1.233067ms | | GET "/application" gotify | 2024-01-10T14:41:57+02:00 | 200 | 3.263905ms | | GET "/message?since=0" gotify | 2024-01-10T14:42:04+02:00 | 200 | 1.706637ms | | GET "/message?since=0" gotify | 2024-01-10T14:42:07+02:00 | 200 | 6.773183ms | | GET "/application" gotify | 2024-01-10T14:42:07+02:00 | 200 | 1.133712ms | | GET "/message?since=0" gotify | 2024-01-10T14:44:09+02:00 | 200 | 6.571001ms | | GET "/application" gotify | 2024-01-10T14:44:09+02:00 | 200 | 1.467014ms | | GET "/message?since=0" gotify | 2024-01-10T14:44:15+02:00 | 200 | 9.005309ms | | GET "/current/user" gotify | 2024-01-10T14:44:16+02:00 | 200 | 1.177752ms | | GET "/application" gotify | 2024-01-10T14:44:16+02:00 | 200 | 1.200915ms | | GET "/message?since=0" gotify | 2024-01-10T14:44:25+02:00 | 200 | 3.418988ms | | GET "/client" gotify | 2024-01-10T14:44:28+02:00 | 200 | 1.420087ms | | GET "/user" gotify | 2024-01-10T14:44:33+02:00 | 200 | 3.435814ms | | GET "/client" gotify | 2024-01-10T14:44:34+02:00 | 200 | 1.438739ms | | GET "/user" gotify | 2024-01-10T14:44:40+02:00 | 200 | 103.791µs | | GET "/version" igotify | warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] igotify | Failed to determine the https port for redirect. gotify | 2024-01-10T14:44:43+02:00 | 200 | 7.79832ms | | GET "/application" gotify | 2024-01-10T14:44:43+02:00 | 200 | 1.289257ms | | GET "/message?since=0" gotify | 2024-01-10T14:44:52+02:00 | 200 | 20.346748ms | | POST "/message" igotify | Message converted: {"id":5,"appid":1,"message":"\nThis is a test of the notification target 'Gotify'\n","title":"Test notification","priority":1,"extras":{"clientdisplay":{"contentType":"text/markdown"}},"date":"2024-01-10T14:44:52.437477394+02:00"} igotify | gotify | 2024-01-10T14:44:54+02:00 | 200 | 1.068236ms | | GET "/application" gotify | 2024-01-10T14:44:54+02:00 | 200 | 3.256869ms | | GET "/message?since=0" gotify | 2024-01-10T14:45:06+02:00 | 200 | 16.641235ms | | POST "/message" igotify | Message converted: {"id":6,"appid":2,"message":"\nThis is a test of the notification target 'gotify-notifications'\n","title":"Test notification","priority":1,"extras":{"clientdisplay":{"contentType":"text/markdown"}},"date":"2024-01-10T14:45:06.308357671+02:00"} igotify | gotify | 2024-01-10T14:45:08+02:00 | 200 | 1.090436ms | | GET "/application" gotify | 2024-01-10T14:45:08+02:00 | 200 | 5.502843ms | | GET "/message?since=0" gotify | 2024-01-10T14:45:10+02:00 | 200 | 1.005231ms | | GET "/application" gotify | 2024-01-10T14:45:10+02:00 | 200 | 16.426426ms | | GET "/message?since=0"

androidseb25 commented 5 months ago

Hi,

did you get a device token? Please check the igotify-token.txt in the container volume of the Assistent

nallej commented 5 months ago

Yes I have a token. What I see is the popup and heare the alarm

androidseb25 commented 5 months ago

Sorry but I don't know where you're problem is when you getting the push notifications.

pandora1986 commented 5 months ago

please provide us screenshots from your gotify webside, where you can see the previous alerts also provide us a screenshot of your app on the iphone

do you have this problem in your LAN or/and outside of it? is your gotify/gotify externaly reachable? do you have setup different users?

nallej commented 5 months ago

It's fixed. I had 2 users and switching back to the first fixed the issue. I should have followed my own blog post and not try to run from memory, documentation is key. Sorry for me messing up. Proxmox notifications