使用rpush时获取Rpush :: Daemon :: TcpConnectionError

时间:2016-01-28 08:38:08

标签: ruby-on-rails notifications openssl rubygems

使用 rpush push 推送通知时出错,出现以下错误:

Will retry 1 notifications after 2016-01-28 14:04:34 due to error (Rpush::Daemon::TcpConnectionError, OpenSSL::SSL::SSLError, SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read server session ticket A)
[2016-01-28 14:04:24] [ERROR] Rpush::Daemon::TcpConnectionError, OpenSSL::SSL::SSLError, SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read server session ticket A
/home/linchpin/.rvm/gems/ruby-2.1.7/gems/rpush-2.5.0/lib/rpush/daemon/tcp_connection.rb:162:in `rescue in connect_socket'
/home/linchpin/.rvm/gems/ruby-2.1.7/gems/rpush-2.5.0/lib/rpush/daemon/tcp_connection.rb:134:in `connect_socket'
/home/linchpin/.rvm/gems/ruby-2.1.7/gems/rpush-2.5.0/lib/rpush/daemon/tcp_connection.rb:40:in `connect'
/home/linchpin/.rvm/gems/ruby-2.1.7/gems/rpush-2.5.0/lib/rpush/daemon/tcp_connection.rb:69:in `write'
/home/linchpin/.rvm/gems/ruby-2.1.7/gems/rpush-2.5.0/lib/rpush/daemon/apns/delivery.rb:12:in `perform'
/home/linchpin/.rvm/gems/ruby-2.1.7/gems/rpush-2.5.0/lib/rpush/daemon/dispatcher/apns_tcp.rb:32:in `block in dispatch'
/home/linchpin/.rvm/gems/ruby-2.1.7/gems/rpush-2.5.0/lib/rpush/daemon/dispatcher/apns_tcp.rb:31:in `synchronize'
/home/linchpin/.rvm/gems/ruby-2.1.7/gems/rpush-2.5.0/lib/rpush/daemon/dispatcher/apns_tcp.rb:31:in `dispatch'
/home/linchpin/.rvm/gems/ruby-2.1.7/gems/rpush-2.5.0/lib/rpush/daemon/dispatcher_loop.rb:66:in `dispatch'
/home/linchpin/.rvm/gems/ruby-2.1.7/gems/rpush-2.5.0/lib/rpush/daemon/dispatcher_loop.rb:35:in `block (2 levels) in start'
/home/linchpin/.rvm/gems/ruby-2.1.7/gems/rpush-2.5.0/lib/rpush/daemon/dispatcher_loop.rb:25:in `loop'
/home/linchpin/.rvm/gems/ruby-2.1.7/gems/rpush-2.5.0/lib/rpush/daemon/dispatcher_loop.rb:25:in `block in start'

0 个答案:

没有答案