I have an application running on two machines, each of them are have established a connection through GCM via TCP(XMPP).
One issue i'm experiencing is that sending an xmpp message through one connection with the 'delivery_receipt_requested' flag, does not necessarily means receiving the receipt for that message on the same connection. This is obviously very problematic, since connections might be set up on different processes, sometimes on different machines.
An other issue is that machine received delivery_receipt (which does not send original message) tries to send a delivery receipt ack
to the GCM, GCM closes this connection.
Does it seem to be weird? GCM send delivery receipt an other machines and when it receives the delivery receipt ack
from that machine it closes the connection since message does not send from that machine?