Failed to connect to APNS: 13 Permission denied.

279 views
Skip to first unread message

soongin

unread,
Mar 3, 2012, 11:14:18 PM3/3/12
to Easy APNs
Hello,
When I try to send APN to my device, I got error message as below.

==================
Failed to connect to APNS: 13 Permission denied.

1) APNS::processQueue -> File: send.php (line 18)
2) APNS::_fetchMessages -> File: class_APNS.php (line 965)
3) APNS::_pushMessage -> File: class_APNS.php (line 381)
4) APNS::_triggerError -> File: class_APNS.php (line 451)
==================

I thought it was certification problem but connection to
"gateway.sandbox.push.apple.com:2195" with my certification returns
OK.

Any comment will be appreciated.
Thank you!

soongin

unread,
Mar 4, 2012, 4:43:01 AM3/4/12
to Easy APNs
I figured it out.
This is not easyapns related error. This is from PHP Socket function
error.
I tried to set up on Yahoo hosting, but they seems like block this
function for security reason.

I installed again on my Ubuntu server and now it's working.

Thank you.
Reply all
Reply to author
Forward
0 new messages