-
Notifications
You must be signed in to change notification settings - Fork 66
Refactored and improved project #38
Comments
@bolshoy That's pretty cool! Would you mind if we pointed people to your project for a more complete/stable version of the library? Unfortunately (as you might see from the state of issues and PR), I don't really have time anymore to work on this library. |
@bolshoy , frequently I receive many copies of the same upstream GCM. I can see multiple messages with the same message ID and identical content in the log file that rounds/go-gcm generates in the debug mode. I think the app is not sending duplicate messages. Do you see such behavior as well? |
@kuchlous there's a retry functionality in http request. But I suggest to update to a newer version, fixed some problems related to connection draining. |
@bolshoy, I have updated the code. My question was about google sending multiple copies of a GCM message that On Sun, Sep 4, 2016 at 4:27 PM David Bolshoy [email protected]
|
@kuchlous interesting, never checked the correctness of it. Maybe something to do with xmpp acks on upstream messages, though they are sent immediately after. Mind having a look? |
@bolshoy, I can see the acks sent by the xmpp server being logged in the I would be happy to take a look myself if you give me some suggestions.. On Mon, Sep 5, 2016 at 12:20 PM David Bolshoy [email protected]
|
@bolshoy , I see this error in my XMPP server log: time="2016-09-08T00:06:13Z" level=error msg="gcm xmpp listen" error="error on Recv: XML syntax error on line 1: unexpected EOF" xmpp client ref=0xc832c76ea0 After this my XMPP server stopped accepting GCM messages. Two questions:
BTW, would it make sense to enable issues on your repo so that these discussions can happen there? |
@kuchlous |
I do see that the service restarted the xmpp client for a similar error in earlier case: time="2016-09-07T08:53:42Z" level=error msg="gcm xmpp listen" error="error on Recv: XML syntax error on line 1: unexpected EOF" xmpp client ref=0xc8203c5a70 But for some reason it did not restart on the same error the second time. I will stare at the code some more to see if I can spot anything. |
@silvolu please take a look at our fork https://github.com/rounds/go-gcm
The project runs in production for a couple of months, looks good)
The text was updated successfully, but these errors were encountered: