richsage / RMSPushNotificationsBundle

NOT MAINTAINED! ⛔️ Push notifications/messages for mobile devices. Supports iOS, Android (C2DM, GCM), Blackberry and Windows Mobile (toast only). A Symfony2 bundle.
MIT License
321 stars 152 forks source link

Warning: stream_socket_client(): unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Connection timed out) #73

Closed ghodkekrishna closed 10 years ago

ghodkekrishna commented 10 years ago

Hello, i am using this for IOS push notifications all working fine on my localhost but when i upload my project on server it giving error of

CRITICAL - Uncaught PHP Exception Symfony\Component\Debug\Exception\ContextErrorException: "Warning: stream_socket_client(): unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Connection timed out) in vendor/richsage/rms-push-notifications-bundle/RMS/PushNotificationsBundle/Service/OS/AppleNotification.php line 196"

in my config: ios: sandbox: true pem: "%kernel.root_dir%/bin/ck.pem" passphrase: XXX

ghodkekrishna commented 10 years ago

Hi, Sorry it was my mistake there was issue of SSL with my server.It`s working now Thanks :)