简体   繁体   中英

Getting Error Apple push notification OpenSSL::SSL::SSLError

OpenSSL::SSL::SSLError (SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read server session ticket A):

Integrate the library for apple push notification Houston gem. Since last two months, It was working smoothly, But now getting that error in the application.

Tries many solutions to resolve the issues.

Also tried with new certificate pem file but getting same error..sometimes it is working

Please help to solve the issues.

The error strictly says that you're using wrong APNS certificate. It may be expired, or it's just an old certificate's type (created prior to Dec, 2015).

A year ago Apple introduced new universal certificates, and today it supports only them. So you need to create a new universal certificate to make push notifications work again.

On apple.com certificate has .p12 extension, you might convert it in some incorrect way.

Another gem I use to send apns notifications (rpush) is able to use p12 certificates with no worries. You may also send some test push using Rpush gem to figure out if it is Houston's problem or it's certificate's issue.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM