Skip to content

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

@xicom

Description

@xicom

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions