No notifications at all on Android

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Some useful links to gather information about your Nextcloud Talk installation:
Information about Signaling server: /index.php/index.php/settings/admin/talk#signaling_server
Information about TURN server: /index.php/settings/admin/talk#turn_server
Information about STUN server: /index.php/settings/admin/talk#stun_server

Nextcloud version (eg, 24.0.1): 30.0.10 - 30.0.10.1
Talk Server version (eg, 14.0.2): 20.1.6
Custom Signaling server configured: nextcloud-aio
Custom TURN server configured: yes
Custom STUN server configured: yes

In case mobile Nextcloud Talk apps are involved:
Talk Android version (eg, 14.0.2): all

The issue you are facing:
Hi, I am running nextcloid-aio behind haproxy using a stun/turn server. Up until recently notifications went through just fine on all devices, and they still do on Windows. However, on Android you cannot see a call is coming through unless you open talk and click on that contact and then the dialog to answer comes up. I have the Google store version, grudgingly, installed because I remember seeing a warning that the non-google apk cannot send push notifications. I don’t think I changed any settings on the firewall or proxy that would have affected this. I’ve run occ notification:test-push --talk [user] - it’s great that the test is there… but there’s no information about why it’s failing, just the response below. If there’s any other information I can provide please let me know. Thanks!

I previously created an issue on github and did not get anywhere.

Is this the first time you’ve seen this error? (Y/N): Yes

Steps to replicate it:

  1. Make call to any android phone using Nextcloud talk

The output of your Nextcloud log in Admin > Logging or errors in nextcloud.log in /var/www/:
Not sure which logs on which box

The output of your Apache/nginx/system log in /var/log/____:
Not sure which logs on which box

$nxocc notification:test-push --talk rob

Testing Talk clients:
Language is set to en
Private user key size: 1704
Public user key size: 451

Found 1 devices registered for push notifications
Identified 1 Talk devices and 0 others.
Trying to push to 1 devices

Device token:66
Device token is valid
Device public key size: 450
Data to encrypt is: {"nid":488,"app":"admin_notification_talk","subject":"Testing push notifications","type":"admin_notifications","id":"68264b7f"}
Signed encrypted push subject

Push notification sent, but 1 failed

Here’s a report from one of the phones, but note that other phones are running different OS’s/versions and are different make/model of phone. No android receives alerts at all.

Meta information

Generation of system report
Apr 27, 2025 1:31:51 PM

Phone

Device
samsung SM-S918U
Android version
34
Google Play services
Google Play services are available

App

App name
Nextcloud Talk
App version
v21.1.0 Alpha 15
Build flavor
gplay
Battery settings
Battery optimization is ignored, all fine
Notification permissions
Notifications are granted
Calls notification channel enabled?
Yes
Messages notification channel enabled?
Yes
Firebase push token
c9LJP…
Latest firebase push token generation
Apr 26, 2025 1:38:40 AM
Latest firebase push token fetch
Apr 27, 2025 1:30:37 PM
Registered users
1

Current account

Server
https://[mydomain]
User
Rob
User status enabled?
Yes
Server notification app installed?
Yes
Latest push registration at server
Apr 27, 2025 1:30:39 PM
Latest push registration at push proxy
Apr 18, 2025 5:56:45 PM
Server version
30.0.10
Server Talk version
20.1.6
Signaling Mode
External