[2014-12-10T11:46:22.592-0500] [glassfish 4.1] [WARNING] [] [org.jivesoftware.smack.tcp.PacketWriter] [tid: _ThreadID=410 _ThreadName=Smack Packet Writer (1)] [timeMillis: 1418229982592] [levelValue: 900] [[
Exception writing closing stream element
java.net.SocketException: Connection closed by remote host
at sun.security.ssl.SSLSocketImpl.checkWrite(SSLSocketImpl.java:1523)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:71)
at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
at java.io.BufferedWriter.flush(BufferedWriter.java:254)
at org.jivesoftware.smack.tcp.PacketWriter.writePackets(PacketWriter.java:190)
at org.jivesoftware.smack.tcp.PacketWriter.access$000(PacketWriter.java:40)
at org.jivesoftware.smack.tcp.PacketWriter$1.run(PacketWriter.java:77)
]]
[2014-12-10T11:46:22.594-0500] [glassfish 4.1] [WARNING] [] [org.jivesoftware.smack.XMPPConnection] [tid: _ThreadID=411 _ThreadName=Smack Packet Reader (1)] [timeMillis: 1418229982594] [levelValue: 900] [[
Connection closed with error
java.io.EOFException: no more data available - expected end tag </stream:stream> to close start tag <stream:stream> from line 1, parser stopped on END_TAG seen ...<iq type="result" id="zHEa7-9"/> ... @1:464
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3035)
at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1384)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at org.jivesoftware.smack.tcp.PacketReader.parsePackets(PacketReader.java:291)
at org.jivesoftware.smack.tcp.PacketReader.access$000(PacketReader.java:47)
at org.jivesoftware.smack.tcp.PacketReader$1.run(PacketReader.java:81)
]]
Any info on the 2 above issues ? They really hinder all progress...
--
You received this message because you are subscribed to the Google Groups "android-gcm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-gcm...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-gcm/8c8e1b93-2202-4aa0-90b6-55e3f4f6d614%40googlegroups.com.
Do you ack message that is dup today? Would be good to know if after you ack dup messages whether there are more delivery of the message with the same ID
- For client receiving dup message, can you provide the message ID & registration ID, we will take a look. We are not aware of any dup message issues on client direction in general.
- For server receiving dup message (We are still investigating)a) It appeared that message id: 75898163-907a-4e76-a84b-47fa183b1568 was delivered to your server 8 times. (We deliver message until we receive an ACK) - Interesting that your server only received it twice
b) Please confirm that you sent ACK on the same connection that you receive the message
c) It is possible that an ACK is sent but not received by us (router/network connection), the recommended best practice is to ACK each message received (even if it is a dup).
Do you ack message that is dup today? Would be good to know if after you ack dup messages whether there are more delivery of the message with the same ID
We did not receive the ACK sent from your server to the upstream message. Although XMPP is a reliable protocol, but message not reaching an end point is still possible depending on actual connectivity.
Recommendation is to send ACK if you receive the same upstream message again.
On downstream dup messages, we did not observe anomaly from server side, i.e.,1) we sent the first message, wait for ack from device (ack is handled by GCM on device)2) device disconnected without opportunities to send ack, it reconnected and we re-sent the message to deviceIn most of this situation, this does not translate to app receiving dup messages because GCM on device would handle de-duping messages.The situation where dup messages could arrive to the app is when the device storage max out. Do you know if that device storage was at max when the downstream dup message occurred?
Is this easily reproducible? If so, it would be good to get the bug report from the device side, this together with the corresponding server info would help to give a more complete picture for the scenario.