我正在尝试将 PUSH 通知发送到 android 设备作为指南(https://firebase.google.com/docs/cloud-messaging/server#connecting),我正在使用 Gloox 库发送它,但是服务器从谷歌服务器响应我一些不可读的数据(\x15\x3\x1)并且无法解析:
log: level: 0, area: 8, This is gloox 1.0.20, connecting to fcm-xmpp.googleapis.com:5236...
log: level: 0, area: 32, Connecting to fcm-xmpp.googleapis.com (64.233.188.188:5236)
log: level: 0, area: 32, Connected to fcm-xmpp.googleapis.com (64.233.188.188:5236)
log: level: 0, area: 262144, <stream:stream to="gcm.googleapis.com" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0">
log: level: 2, area: 8, parse error (at pos 0):