Summary
Push notifications not working after setting up mattermost
“Notifications cannot be received from this server”
My settings are set to “Use TPNS connect to send notification”…
I don’t see why it is not working
Steps to reproduce
Followed the below guide to install mattermost on my Synology NAS:
Mattermost Team Edition
Mattermost Version: 7.8.1
Database Schema Version: 101
Database: postgres
Expected behavior
I don’t expect push notifications to not work
Can you start a shell in your Mattermost application container (using portainer if you have that or docker exec -ti <mattermostcontainerid> and try to run a curl in there to the configured TPNS server in your system console?
You can see the configured TPNS server in your System Console → Environment → Push Notification Server
curling the URL should show the info text, that you successfully reached the push proxy.
But the error message most likely indicates that push notifications are disabled serverside.
Good to hear that it’s working again for you, it would still be interesting to know what push server you’ve configured in your application to know where I can start looking at.
Summary
I have the same problem with Push Notification on version 2.7.0 of mattermost-mobile app. However, the Android app version 2.7.0 does receive notifications, only the iOS version 2.7.0 gives the error message “Notifications cannot be received from this server”.
The mobile app version 1.55.0 receives notifications without problems on both Android and iOS, so it does not appear to be a problem with the Mattermost server or the push server.
This suggests that the problem is limited to Mattermost server 7.8+ and Mobile App 2.7.0 for iOS notifications.
After some research, I believe that the verification process performed by the v4 REST API of the Mattermost server, such as “ping”, is not working properly with mobile ver 2.7.0 for iOS.
Please let me know if you know how to solve this problem.