[Solved] Push notification service not working?

I am troubleshooting why my push notifications are not working. I turned on DEBUG and did not get and messages in the logs. I am self hosting, I have the TPNS enabled as the server, and the push notification server is “https://push-test.mattermost.com”. When I tried a ping test, it could not find the host. Looks like PING is disabled for that URL?? I can get to it via a web browser, so how do I troubleshoot why I am not getting the push notifications?? Is there a utility I can use to verify my message is actually making it to the server?

With all of this said, how does it push to notifications if it does not know the phone number? I can see new messages IN the app, but not in notifications on the device, and notifications are enabled on the device. Email notifications are disabled.

Hi @mtuma5672, thanks for reaching out! It sounds like you’re on the right track with your troubleshooting. I recommend checking out this thread here to see if any of that advice helps. If you’re seeing messages in the app but not getting push notifications, it could also be helpful to verify your Push Notification Service settings and firewall configurations. Let us know how it goes!

John,

I am seeing the traffic leaving the Firewall, however it needs to come back through the firewall. Does it come back from the same source?? Or does it go over cellular? I can’t image how if it does not know the phone number of the device.

Hi @mtuma5672! Great to hear you’ve pinpointed the outbound traffic. The push notification traffic doesn’t come directly back from the same source; instead, it’s routed through the device’s push notification service (such as Apple or Google’s servers). The app receives notifications via the device’s system-level push services, which don’t require a phone number. It’s important to ensure that your firewall allows the inbound traffic from Apple or Google servers.

John, okay, that is helpful. I will look into the IP addresses or URLs of these servers and create rules to allow traffic. I will let you know what happens.
Thanks, Mike

1 Like

John, I created the rules based on the information from Google and Apple. It is now working. Thank you, Mike

1 Like

Huzzah! Thanks so much following up to let us know, Michael!