Steps to reproduce
- Send a private message to another user
- The push notification may or may not arrive. I have yet to identify the cause, this issue aims to solve this problem.
Expected behaviour
A push notification should show up immediately and 100% of the time if a message is received.
Actual behaviour
That usually does not happen. The message is received, but until I open the app I can't see if there is a new message or not.
I have double checked all my settings: the Talk chat notifications are enabled, the iOS notifications for this app are enabled, I have solved all warnings in the Nextcloud Overview settings section.
As a note: notifications used to work perfectly on v10. With v11, some notifications started to be missing, while sometimes they were received correctly. Now with v12 I almost never receive them. I have tried reinstalling the app from the App Store, and that seemed to work for a couple hours (meaning I was correctly receiving all notifications immediately), but that solution seems to be very temporary.
As a sidenote, my setup has 2 "peculiarities" that might trigger this wrong behavior:
- my Nextcloud data is on an NFS mount passed to Docker
- on my private network I use a local DNS (though I experience the same behavior both when connected to it and when I'm outside)
As a final note, my Nextcloud instance is behind a reverse proxy, and although I believe that is the setup most people have, I might have a missing or wrong line here and there in the config file (but as I pointed out before, I have no warnings in my Overview settings section).
EDIT: it seems that I receive notifications for replies to my messages, but not for other direct messages (I've reproduced this behavior three times, quite sure this is one of the problems). I have double checked with the web version and the chat notifications are set to "all messages". Could this be an issue with nextcloud/spreed instead of the mobile app?
I have also tried with another private chat and that seems to work fine. I can't pinpoint the issue, any help is welcome.
EDIT 2: after a video call yesterday I started receiving all notifications correctly. I don't know how long it will last, but this is my current situation. I have not made any configuration changes or updates. Even so, I would still like to know why notifications haven't worked for a few days, and if this is possible to avoid in the future, so that I can recommend this platform to more people. Let me know if any more detail is needed to debug what happened.
EDIT 3: amending EDIT 2, now notifications are actually hit and miss on both ends of the conversation.
Device information
Device: iPhone 7, iPhone SE 1
iOS version: both 14.6
Talk version: both 12.1.0
Server information
Nextcloud version: (see admin overview page: /index.php/settings/admin/overview
) 22.0.0
Talk version: (see apps admin page: /index.php/settings/apps
) 12.0.1
Custom Signaling server configured: yes/no and version (see talk admin settings: /index.php/settings/admin/talk#signaling_server
) no
Custom TURN server configured: yes/no (see talk admin settings: /index.php/settings/admin/talk#turn_server
) yes
Custom STUN server configured: yes/no (see talk admin settings: /index.php/settings/admin/talk#stun_server
) no (default STUN server)
Server log (data/nextcloud.log)
Insert your server log here
bug 0. Needs triage