Open dsanghan opened 8 years ago
having the same issue, sometimes alternating with [SSL: BAD_WRITE_RETRY] bad write retry (_ssl.c:1625)
Not sure if they stem from the same source. Would be nice if a fix was proposed for this?
Is there a workaround for this problem? I'm seeing it as well with send_notification_multiple
.
I wonder if some requests succeed and others fail or is it always fail?
I think my next step in debugging this is to try to confirm the possibility that this relates to having a large number of tokens.
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?