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
I'm sending frames of about 50 tokens for remote fetch notifications. I sometimes get a SIGPIPE when sending notifications in close succession. The self._connection().write() crashes with the following:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1082, in run
self.function(*self.args, **self.kwargs)
File "listen.py", line 50, in sendNotification
apns.gateway_server.send_notification_multiple(frame)
File "/home/dev/backend/apns.py", line 559, in send_notification_multiple
return self.write(frame.get_frame())
File "/home/dev/backend/apns.py", line 267, in write
return self._connection().write(string)
File "/usr/lib/python2.7/ssl.py", line 272, in write
return self._sslobj.write(data)
error: [Errno 32] Broken pipe
Maybe its better if its wrapped in a try:except: and a _disconnect()/_connect() is subsequently called?
The text was updated successfully, but these errors were encountered:
I'm sending frames of about 50 tokens for remote fetch notifications. I sometimes get a SIGPIPE when sending notifications in close succession. The self._connection().write() crashes with the following:
Maybe its better if its wrapped in a try:except: and a _disconnect()/_connect() is subsequently called?
The text was updated successfully, but these errors were encountered: