For feature requests, please see: http://www.mattermost.org/feature-requests/.
For troubleshooting questions, please post in the following format:
Summary
Somewhere around june our push notification for android stopped working (on iOS it still works i don’t know how). Mattermost log is full of these messages:
|2018-11-08T10:26:45.383+0100|error|app/notification_push.go:188|Device push reported as error for UserId=6d73qi951784ffn19sqshnjfoc SessionId=cj7tjajiypr7dcxqhj53miq3ba message=Post http://push-test.mattermost.com/api/v1/send_push: dial tcp 54.175.100.59:80: connect: connection refused|{"user_id": "6d73qi951784ffn19sqshnjfoc"}|
|---|---|---|---|---|
|2018-11-08T10:26:45.383+0100|error|app/notification_push.go:188|Device push reported as error for UserId=6d73qi951784ffn19sqshnjfoc SessionId=cj7tjajiypr7dcxqhj53miq3ba message=Post http://push-test.mattermost.com/api/v1/send_push: dial tcp 54.175.100.59:80: connect: connection refused|{"user_id": "6d73qi951784ffn19sqshnjfoc"}|
|2018-11-08T10:26:45.383+0100|error|app/notification_push.go:188|Device push reported as error for UserId=6d73qi951784ffn19sqshnjfoc SessionId=cj7tjajiypr7dcxqhj53miq3ba message=Post http://push-test.mattermost.com/api/v1/send_push: dial tcp 54.175.100.59:80: connect: connection refused|{"user_id": "6d73qi951784ffn19sqshnjfoc"}|
|2018-11-08T10:26:45.384+0100|error|app/notification_push.go:188|Device push reported as error for UserId=6d73qi951784ffn19sqshnjfoc SessionId=cj7tjajiypr7dcxqhj53miq3ba message=Post http://push-test.mattermost.com/api/v1/send_push: dial tcp 54.175.100.59:80: connect: connection refused|{"user_id": "6d73qi951784ffn19sqshnjfoc"}|
|2018-11-08T10:26:45.384+0100|error|app/notification_push.go:188|Device push reported as error for UserId=6d73qi951784ffn19sqshnjfoc SessionId=cj7tjajiypr7dcxqhj53miq3ba message=Post http://push-test.mattermost.com/api/v1/send_push: dial tcp 54.175.100.59:80: connect: connection refused|{"user_id": "6d73qi951784ffn19sqshnjfoc"}|
|2018-11-08T10:26:45.384+0100|error|app/notification_push.go:188|Device push reported as error for UserId=6d73qi951784ffn19sqshnjfoc SessionId=cj7tjajiypr7dcxqhj53miq3ba message=Post http://push-test.mattermost.com/api/v1/send_push: dial tcp 54.175.100.59:80: connect: connection refused|{"user_id": "6d73qi951784ffn19sqshnjfoc"}|
|2018-11-08T10:26:45.384+0100|error|app/notification_push.go:188|Device push reported as error for UserId=6d73qi951784ffn19sqshnjfoc SessionId=cj7tjajiypr7dcxqhj53miq3ba message=Post http://push-test.mattermost.com/api/v1/send_push: dial tcp 54.175.100.59:80: connect: connection refused|{"user_id": "6d73qi951784ffn19sqshnjfoc"}|
|2018-11-08T10:26:45.384+0100|error|app/notification_push.go:188|Device push reported as error for UserId=6d73qi951784ffn19sqshnjfoc SessionId=cj7tjajiypr7dcxqhj53miq3ba message=Post http://push-test.mattermost.com/api/v1/send_push: dial tcp 54.175.100.59:80: connect: connection refused|{"user_id": "6d73qi951784ffn19sqshnjfoc"}|
|2018-11-08T10:26:45.384+0100|error|app/notification_push.go:188|Device push reported as error for UserId=6d73qi951784ffn19sqshnjfoc SessionId=cj7tjajiypr7dcxqhj53miq3ba message=Post http://push-test.mattermost.com/api/v1/send_push: dial tcp 54.175.100.59:80: connect: connection refused|{"user_id": "6d73qi951784ffn19sqshnjfoc"}|
Yet on the corporate proxy there is no log of connection to the push-test.mattermost.com. Seems like push notifications are ignoring http_proxy, https_proxy and no_proxy variables.
I already look at this [SOLVED] How to set HTTP_PROXY variable in order to use external proxy?
and this Push Notifications not working using TPNS but nothing seems to work.
Steps to reproduce
How can we reproduce the issue (what version are you using?)
we use Mattermost 5.3.1 through GitLab Omnibus behind corporate proxy - every connection outside must go through this proxy.
Expected behavior
To receive push notifications on android devices
Observed behavior
No one receives push notifications.