Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am trying to send push notification from Heroku pyapns app with django, I am getting below error #67

Open
xicom opened this issue Jul 16, 2014 · 0 comments

Comments

@xicom
Copy link

xicom commented Jul 16, 2014

from pyapns import configure, provision, notify
configure({'HOST': 'http://smarter-pyapns.herokuapp.com:80/'})
True
provision('575807462', open('apns/certs/ck-dev.pem').read(), 'sandbox')
notify('575807462', 'd5e7b657700eb08e2b7e85423937f86d17abeac6b8d87a19d2511f56fe29a8a0', {'aps':{'alert': 'Hello!'}})
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/pyapns/client.py", line 75, in wrapper
return func(_a, *_kw)
File "/usr/local/lib/python2.7/dist-packages/pyapns/client.py", line 67, in wrapper
return func(_a, *_kw)
File "/usr/local/lib/python2.7/dist-packages/pyapns/client.py", line 97, in notify
return _xmlrpc_thread(*f_args)
File "/usr/local/lib/python2.7/dist-packages/pyapns/client.py", line 127, in _xmlrpc_thread
errback(e)
File "/usr/local/lib/python2.7/dist-packages/pyapns/client.py", line 65, in errback_wrapper
errback(e) # not an instance of UnknownAppID - nothing we can do here
File "/usr/local/lib/python2.7/dist-packages/pyapns/client.py", line 55, in errback
raise e
xmlrpclib.Fault:

Please help me to find out the reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant