Not receiving push notifications (connectivity check failed)
I recently upgraded from OTA-16 to latest, and appear to not be getting push notifications on my 3a.
I should be getting pushes from TELEports (receiving them on my other android phone), but not on my 3a running UT. I was getting them before the upgrade.
I tried reinstalling all apps to no avail. Also tried the push client app on the OpenStore, and I do not receive those either. Logs for the push client app indicate that it is retrieving a token and getting a response from the push server.
qml: 👍 Token changed to:
cHVzaGNsaWVudC5jaHJpc3RpYW5wYXVseV9wdXNoY2xpZW50OjpiRnF3SDZNR3dkeExkcVZQMlZ3T2N1WDdaZ2gzRE5ZVjZ5TEEwUT09
qml: 💬 Sending push notification
qml: ✍ Answer from push service: {"ok":true}
One finding is that ubuntu-push-client is not getting a response from a connectivity check. That said, I am able to ping http://start.ubuntu.com/ without any issues, and can even open it up in Morph.
From file /home/phablet/.cache/upstart/ubuntu-push-client.log:
2021/05/20 10:32:14 Unsolicited response received on idle HTTP channel starting with "H"; err=<nil>
2021/05/20 10:37:25.029321 ERROR while GETting http://start.ubuntu.com/connectivity-check.html: Get http://start.ubuntu.com/connectivity-check.html: net/http: request canceled while waiting for connection
2021/05/20 10:42:25 Unsolicited response received on idle HTTP channel starting with "H"; err=<nil>
2021/05/20 10:47:35.033831 ERROR while GETting http://start.ubuntu.com/connectivity-check.html: Get http://start.ubuntu.com/connectivity-check.html: net/http: request canceled while waiting for connection
2021/05/20 10:52:35 Unsolicited response received on idle HTTP channel starting with "H"; err=<nil>
2021/05/20 10:57:45.035909 ERROR while GETting http://start.ubuntu.com/connectivity-check.html: Get http://start.ubuntu.com/connectivity-check.html: net/http: request canceled while waiting for connection
2021/05/20 11:02:44 Unsolicited response received on idle HTTP channel starting with "H"; err=<nil>
2021/05/20 11:07:55.040633 ERROR while GETting http://start.ubuntu.com/connectivity-check.html: Get http://start.ubuntu.com/connectivity-check.html: net/http: request canceled while waiting for connection
Forum Post: https://forums.ubports.com/topic/6188/not-receiving-push-notifications-3a/6?_=1621520270513
After a few hours, I checked the ubuntu-push-client.log again, and see this:
2021/05/20 14:32:20.583304 ERROR WatchMethod: Register(/com/ubuntu/PushNotifications/teleports_2eubports, []interface {}{"teleports.ubports_teleports"}, []interface {}{(*service.DBusService)(0x48200c0dc0)}) failure: &errors.errorString{s:"unable to request registration: Post https://push.ubports.com/register: dial tcp [2a03:b0c0:1:d0::43:d001]:443: i/o timeout"}