Can't connect to GCM using node-xmpp client

后端 未结 3 930
悲哀的现实
悲哀的现实 2021-01-22 17:23

I am attempting to run gcm server using node-xmpp, but xmpp client does not seem to open at all and closes after timeout.

var xmpp = require(\'node-xmpp-client\'         


        
3条回答
  •  无人共我
    2021-01-22 18:01

    I got the same problem and found out that the Connection.startStream() was never called, although the socket was opened successfully.

    Here's my pull request: https://github.com/node-xmpp/node-xmpp-client/pull/61

    Until it gets merged, you can use my fork, which should work for GCM: https://github.com/Riplexus/node-xmpp-client

提交回复
热议问题