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

Push notification doesn't work #58

Closed lucafolin closed 2 months ago

lucafolin commented 2 months ago

I have iGotify installed in a docker container and when I star the container everything seems to work fine and push notifications arrives at IOS, after some while all notifications don't arrive any more. This is my container log ...

image

It seems a websocket disconnection issue ??!!

I have an haproxy as reverse proxy in the middle. It works, the push messages arrives when I restart the container. Is it something related with websocket timeout or somethinig like this ? This is my haproxy frontend setting for websocket

websocket connection

http-request set-header Upgrade %[req.hdr(Upgrade)] http-request set-header Connection %[req.hdr(Connection)] http-request set-header Host %[req.hdr(host)] http-request add-header Cache-Control "no-cache" if { hdr(Connection) -i Upgrade } http-request add-header Cache-Control "no-store" if { hdr(Connection) -i Upgrade }

androidseb25 commented 2 months ago

Hi did you have the latest version installed?

And maybe it’s a problem with the timeout settings of you're HAProxy, i don't use HA and i can't test it.

lucafolin commented 2 months ago

I probably didn't update to the latest version. Now it seems to have been working fine for 1 day.

androidseb25 commented 2 months ago

perfect i close the issue when you have an problem with that again, please reopen the Issue