groupme/em-apn — Issue #5: Automattic reconnect seems to be broken
Author: squeedee
Created: 2011-11-10 23:03:38+00:00
State: open

When I send an invalid token i get:

I, [2011-11-11T11:56:32.038103 #41783] INFO -- : TOKEN=df6f35d25288c0be4ed6e91cc404439c1b79b02999d662c7d65b139289bcbdc0
I, [2011-11-11T11:56:32.173585 #41783] INFO -- : CODE=8 ID=256 DESC=Invalid token
Got data: [8, 8, 256]

The last line is my on_receipt output.

If i then send a valid token i see

I, [2011-11-11T11:56:54.579125 #41783] INFO -- : TOKEN=520b12a526c0788425e5c9f6a7fd069eaf99d5ddda296fad2317b0e2dc9e44aa

and nothing further.

If i then send a broken token again, i do not get a reciept.

This makes me think that em-apn is not reestablishing the connection, and not letting us know it's down.