【发布时间】:2015-03-02 08:31:37
【问题描述】:
我正在尝试在 Ruby 中为 GCM CCS 编写一个 xmpp 实现。 我的代码
require 'xmpp4r'
sender_jid = Jabber::JID.new('my_app_id@gcm.googleapis.com')
client = Jabber::Client.new(sender_jid)
client.connect('gcm.googleapis.com', 5235)
client.auth('auth_token')
在client.connect ...之后我得到这个错误:
fatal: No live threads left. Deadlock?
有什么想法吗?
【问题讨论】:
标签: ruby xmpp google-cloud-messaging