-
Notifications
You must be signed in to change notification settings - Fork 222
Open
Description
On the v50 branch I can send notifications to individual tokens all day long and it works great.
But the instant I try to send to a list of tokens I get this error every single time. Nothing else has changed. Full trace below.
OST /notify HTTP/1.1" 500 9126 "-" "python-requests/2.7.0 CPython/3.4.2 Linux/3.13.0-77-generic"
2016-03-10 03:05:41+0000 [HTTPChannel (TLSMemoryBIOProtocol),4,107.21.155.154] Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/twisted/web/http.py", line 1478, in dataReceived
finishCallback(data[contentLength:])
File "/usr/local/lib/python2.7/dist-packages/twisted/web/http.py", line 1736, in _finishRequestBody
self.allContentReceived()
File "/usr/local/lib/python2.7/dist-packages/twisted/web/http.py", line 1799, in allContentReceived
req.requestReceived(command, path, version)
File "/usr/local/lib/python2.7/dist-packages/twisted/web/http.py", line 832, in requestReceived
self.process()
--- <exception caught here> ---
File "/usr/local/lib/python2.7/dist-packages/twisted/web/server.py", line 183, in process
self.render(resrc)
File "/usr/local/lib/python2.7/dist-packages/twisted/web/server.py", line 234, in render
body = resrc.render(self)
File "/usr/local/lib/python2.7/dist-packages/twisted/web/resource.py", line 250, in render
return m(request)
File "server.py", line 46, in render_POST
pyapns.notify(APP_ID, device_token, {'aps': data})
File "/src/pyapns/pyapns/client.py", line 265, in wrapper
return func(*a, **kw)
File "/src/pyapns/pyapns/client.py", line 256, in wrapper
return func(*a, **kw)
File "/src/pyapns/pyapns/client.py", line 289, in notify
return _xmlrpc_thread(*f_args)
File "/src/pyapns/pyapns/client.py", line 321, in _xmlrpc_thread
errback(e)
File "/src/pyapns/pyapns/client.py", line 254, in errback_wrapper
errback(e) # not an instance of UnknownAppID - nothing we can do here
File "/src/pyapns/pyapns/client.py", line 242, in errback
raise e
xmlrpclib.Fault: <Fault 8002: 'error'>
Metadata
Metadata
Assignees
Labels
No labels