Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

push notification configuration helios

I am trying to use Helios to send push notifications to my app. The project does not offer any description on where and how to place the .pem file(apns certificate used for push notification). I was hoping that someone on stackoverflow might have experience using helios as a backend for APNs. Some help will be really appreciated.I have hosted the project on heroku and when my app tries to register for Push notifications using oribiter gem it fails and gives the following error:

Registration Error: Error Domain=AFNetworkingErrorDomain Code=-1011 "Expected status code in (200-299), got 500" UserInfo=0x1d871c30 {NSLocalizedRecoverySuggestion=<h1>Internal Server Error</h1>, AFNetworkingOperationFailingURLRequestErrorKey

Please help

like image 560
aliirz Avatar asked Mar 17 '26 01:03

aliirz


2 Answers

I updated the Helios gem using --edge and this resolved this same issue for me.

I did not need to use .env setting.

like image 196
Greg Avatar answered Mar 18 '26 13:03

Greg


Under the trunk, Helios is using Houston for APNS client, it takes a couple of ENV variables to setup paths, take a look at this line in source.

like image 30
Dmitry Shevchenko Avatar answered Mar 18 '26 13:03

Dmitry Shevchenko



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!