verified with http://ports.ubuntu.com/pool/universe/u/ubuntu-push
/ubuntu-push-client_0.2.1+14.04.20140423.1-0ubuntu1_armhf.deb

Patched desktop client with:
http://pastebin.ubuntu.com/7323530/

Then ran both clients, phone went:
2014/04/24 13:50:00.044713 DEBUG trying to connect to: 192.168.3.10:9090
2014/04/24 13:50:00.156296 DEBUG Connected 192.168.3.10:9090.
2014/04/24 13:50:00.157486 DEBUG Session connected after 1 attempts
2014/04/24 13:50:00.157761 ERROR session exited: EOF
2014/04/24 13:50:10.598628 DEBUG trying to connect to: 192.168.3.10:9090
2014/04/24 13:50:10.721045 DEBUG Connected 192.168.3.10:9090.
2014/04/24 13:50:10.721442 DEBUG Session connected after 1 attempts
2014/04/24 13:50:10.730659 ERROR session exited: EOF
2014/04/24 13:50:28.792463 DEBUG trying to connect to: 192.168.3.10:9090
2014/04/24 13:50:28.874105 DEBUG Connected 192.168.3.10:9090.
2014/04/24 13:50:28.874501 DEBUG Session connected after 1 attempts
2014/04/24 13:50:28.896323 ERROR session exited: EOF
2014/04/24 13:52:33.328767 DEBUG trying to connect to: 192.168.3.10:9090
2014/04/24 13:52:33.410683 DEBUG Connected 192.168.3.10:9090.
2014/04/24 13:52:33.411019 DEBUG Session connected after 1 attempts
2014/04/24 13:52:33.420847 ERROR session exited: EOF

which shows the exp backoff is working.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309231

Title:
  Client should exp backoff reconnect even when connect was successful

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-push/+bug/1309231/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to