Mobile application 2.5.1 / No push notification error

Dear colleagues,

Mobile application 2.5.1 (android also ios) not able get push notification.
Can you inform how we can solved it?

Thank you.

İ have below error.

.service - Mattermost
Loaded: loaded (/lib/systemd/system/teamserver.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2023-07-10 17:03:56 +04; 24s ago
Main PID: 1695577 (mattermost)
Tasks: 45 (limit: 4609)
Memory: 518.6M
CGroup: /system.slice/teamserver.service
├─1695577 /opt/mattermost/bin/mattermost
├─1695693 plugins/com.mattermost.plugin-channel-export/server/dist/plugin-linux-amd64
├─1695700 plugins/com.mattermost.apps/server/dist/plugin-linux-amd64
├─1695705 plugins/playbooks/server/dist/plugin-linux-amd64
└─1695728 plugins/focalboard/server/dist/plugin-linux-amd64

Jul 10 17:03:51 teamserver mattermost[1695577]: {“timestamp”:“2023-07-10 17:03:51.494 +04:00”,“level”:“warn”,“msg”:“plugin configured with a nil SecureConfig”,“caller”:“plugin/hclog_adapter.go:72”,“plugin_id”:“com.mattermost.calls>
Jul 10 17:03:56 teamserver mattermost[1695577]: {“timestamp”:“2023-07-10 17:03:56.559 +04:00”,“level”:“error”,“msg”:“failed to get public IP address: failed to get public address: read udp4 i/o timeout”,“caller”:“app>
Jul 10 17:03:56 teamserver mattermost[1695577]: {“timestamp”:“2023-07-10 17:03:56.563 +04:00”,“level”:“info”,“msg”:“plugin process exited”,“caller”:“plugin/hclog_adapter.go:61”,“plugin_id”:“com.mattermost.calls”,“wrapped_extras”:”>
Jul 10 17:03:56 teamserver mattermost[1695577]: {“timestamp”:“2023-07-10 17:03:56.563 +04:00”,“level”:“error”,“msg”:“Unable to activate plugin”,“caller”:“app/plugin.go:166”,“plugin_id”:“com.mattermost.calls”,“error”:“failed to get>
Jul 10 17:03:56 teamserver mattermost[1695577]: {“timestamp”:“2023-07-10 17:03:56.690 +04:00”,“level”:“info”,“msg”:“Starting Server…”,“caller”:“app/server.go:880”}
Jul 10 17:03:56 teamserver systemd[1]: Started Mattermost.
Jul 10 17:03:56 teamserver mattermost[1695577]: {“timestamp”:“2023-07-10 17:03:56.691 +04:00”,“level”:“info”,“msg”:“Server is listening on [::]:443”,“caller”:“app/server.go:952”,“address”:”[::]:443”}
Jul 10 17:03:56 teamserver mattermost[1695577]: {“timestamp”:“2023-07-10 17:03:56.691 +04:00”,“level”:“info”,“msg”:“Sending systemd READY notification.”,“caller”:“commands/server.go:130”}
Jul 10 17:03:56 teamserver mattermost[1695577]: {“timestamp”:“2023-07-10 17:03:56.973 +04:00”,“level”:“info”,“msg”:“Post.Message has size restrictions”,“caller”:“sqlstore/post_store.go:2516”,“max_characters”:16383,“max_bytes”:6553>
Jul 10 17:04:04 teamserver mattermost[1695577]: {“timestamp”:“2023-07-10 17:04:04.775 +04:00”,“level”:“warn”,“msg”:“Failed to perform initial product notices fetch”,“caller”:“app/server.go:439”,“error”:"UpdateProductNotices: Fetch>

Hi Kajafarov,

It appears that you’re experiencing an issue with push notifications not working in the Mattermost mobile application version 2.5.1 for both Android and iOS. To troubleshoot this problem, please follow these steps:

  1. Verify that push notifications are properly configured in your Mattermost server. Ensure that the necessary settings for push notifications are correctly set up in your server’s configuration file (config.json or config.yaml). Specifically, check the PushNotification section and make sure it contains the correct values for EnablePushNotifications, PushNotificationServer, and PushNotificationContents according to your notification service provider.
  2. Confirm that your Mattermost server has network connectivity and can access the necessary services for push notifications. The error message you provided includes a timeout error while trying to get the public IP address. Ensure that your server can connect to the internet and reach the required services.
  3. Check the logs of your Mattermost server to identify any specific errors related to push notifications. The logs you shared indicate an error with the plugin com.mattermost.calls, which might be unrelated to push notifications. However, it’s worth examining the logs more thoroughly to see if there are any other relevant error messages.
  4. Verify that the Mattermost mobile application has the necessary permissions to receive push notifications on the devices. Check the notification settings for the Mattermost app on both Android and iOS devices and ensure that it has the appropriate permissions enabled.
  5. Make sure you have the latest version of the Mattermost mobile application installed. Check for any available updates in the Google Play Store (for Android) or the App Store (for iOS) and install the latest version if necessary. Sometimes, updating the app can resolve issues related to push notifications.

If the issue persists after following these steps, please provide any additional error messages or logs related to push notifications that might help in diagnosing the problem.

Hope this helps,
~Matterbot 1.0

[Disclaimer: This is a new automated response feature we’re testing powered by ChatGPT. Please be aware that this response should be considered as a simulated suggestion and may not always reflect official Mattermost recommendations or support. Use the information provided at your own discretion. Were any of the above suggestions inaccurate? Please feel free to reply with any suggested corrections!]