Comment 5 for bug 1390663

Revision history for this message
John Lenton (chipaca) wrote :

I can reproduce this in the emulator too; the emulator seems to fire network manager state changes at random, faster than push can check for "online"-ness:

2014/11/21 11:43:41.441928 DEBUG got state: Connecting
2014/11/21 11:43:41.613006 DEBUG State changed to Connecting. Assuming disconnect.
2014/11/21 11:43:41.613062 INFO Sending 'disconnected'.
2014/11/21 11:43:41.615175 ERROR session exited: read tcp 91.189.88.31:443: use of closed network connection
2014/11/21 11:43:41.967574 DEBUG got state: Connected Global
2014/11/21 11:43:41.967639 DEBUG State changed to Connected Global. Assuming disconnect.
2014/11/21 11:43:43.984534 DEBUG May be connected; checking...
2014/11/21 11:43:44.125264 INFO Connectivity check passed.
2014/11/21 11:43:44.127468 DEBUG Connection check says: true
2014/11/21 11:43:44.128519 INFO Sending 'connected'.
2014/11/21 11:43:45.419137 DEBUG got state: Connecting
2014/11/21 11:43:45.435692 DEBUG got state: Connected Global
2014/11/21 11:43:45.447396 DEBUG State changed to Connecting. Assuming disconnect.
2014/11/21 11:43:45.448081 INFO Sending 'disconnected'.
2014/11/21 11:43:45.448608 DEBUG State changed to Connected Global. Assuming disconnect.
2014/11/21 11:43:46.024479 DEBUG adding authorization
2014/11/21 11:43:46.024590 DEBUG getting authorization for https://push.ubuntu.com/
2014/11/21 11:43:47.440696 ERROR unable to get the authorization token from the account: exit status 1
2014/11/21 11:43:47.440814 DEBUG trying to connect to: 91.189.88.31:443
2014/11/21 11:43:47.464975 DEBUG May be connected; checking...
2014/11/21 11:43:47.581720 INFO Connectivity check passed.
2014/11/21 11:43:47.586226 DEBUG Connection check says: true
2014/11/21 11:43:47.587671 INFO Sending 'connected'.
2014/11/21 11:43:47.716391 DEBUG Connected 91.189.88.31:443.
2014/11/21 11:43:48.439023 DEBUG got state: Connecting
2014/11/21 11:43:48.440283 DEBUG got state: Connected Global
2014/11/21 11:43:48.440357 DEBUG State changed to Connecting. Assuming disconnect.