0
我得到這樣的日誌中當過我開始socky服務器Socky連接失敗
>> Thin web server (v1.2.11 codename Bat-Shit Crazy)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:3001, CTRL+C to stop
Socky : sending : {"event":"socky:connection:established","connection_id":"1320836395810196"}
Socky : received : {"event":"socky:subscribe","channel":"bizcard-updated-2011nov09-115943","connection_id":"1320836395810196"}
Socky : sending : {"event":"socky:subscribe:failure","channel":"bizcard-updated-2011nov09-115943"}
我使用
gem 'socky-client', '0.5.0.beta1'
其實我無法弄清楚,爲什麼socky:訂閱:失敗即socky是無法訂閱。 我曾經運行它,訂閱也成功。但是,一些如何在這種類型的消息正在顯示。
然而Socky獲取數據放不能夠把它
Socky : received : {"event"=>"event_name", "channel"=>"channel name", "timestamp"=>"1320837649", "data"=>"\"content_hash\"", "auth"=>"auth_string"}
我無法弄清楚,爲什麼socky無法將數據發送到瀏覽器。