You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: