APN |推送通知随机给出OpenSSL错误

时间:2016-04-13 10:43:12

标签: ruby-on-rails-4 apple-push-notifications

我正在使用gem Houston从我的Rails应用程序向Apple Devices发送推送通知。

但自4月8日以来,它开始崩溃了很多。在一天的某个时间,大约70-90%的推送请求崩溃。

在休斯敦问题上找到 this issue

Apple论坛上的 this discussion

但到现在为止徒劳无功。

错误追踪:

OpenSSL::SSL::SSLError (SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read server session ticket A):
  app/services/push_notification_service.rb:32:in `send_ios_notification'
  app/services/push_notification_service.rb:18:in `send_notification_to'
  app/services/push_notification_service.rb:6:in `send_notification_to_driver'
  app/models/concerns/request_ticket_node_requests.rb:56:in `block in send_notifications'
  app/models/concerns/request_ticket_node_requests.rb:52:in `send_notifications'
  app/models/concerns/request_ticket_node_requests.rb:22:in `broadcast_notifications_to_drivers'
  app/controllers/api/user_app/request_tickets_controller.rb:8:in `create'

1 个答案:

答案 0 :(得分:0)

与Apple服务器端的问题相同,因为它在几天后默认消失了。