djacobs / PyAPNs

Python library for interacting with the Apple Push Notification service (APNs)
http://pypi.python.org/pypi/apns/
MIT License
1.22k stars 374 forks source link

error: [Errno 13] Permission denied when apns.gateway_server.send_notification(token_hex, payload) called #144

Open alexche8 opened 8 years ago

alexche8 commented 8 years ago
File "/opt/google_appengine/google/appengine/api/remote_socket/_remote_socket.py", line 1113, in getsockopt
    raise _SystemExceptionFromAppError(e)
error: [Errno 13] Permission denied

This error occurs when I call apns.gateway_server.send_notification(token_hex, payload) Any ideas why did it happens?

dnnyg33 commented 8 years ago

did you ever figure out this problem?

alexche8 commented 8 years ago

Does this error happen on your local environment or remote dev/production?