ApnsPHP
ApnsPHP copied to clipboard
HTTP/2 seems to only send one at a time
Seems to always fail on the second message, and have to disconnect and start again.
Here's the log:
INFO: Trying to initialize HTTP/2 backend...
INFO: Initialized HTTP/2 backend.
INFO: Sending messages queue, run #1: 5 message(s) left in queue.
STATUS: Sending message ID 1 [custom identifier: 519] (1/3): 125 bytes.
STATUS: Sending message ID 2 [custom identifier: f7e] (1/3): 125 bytes.
ERROR: Unable to send message ID 2: (0).
INFO: Disconnected.
INFO: Trying to initialize HTTP/2 backend...
INFO: Initialized HTTP/2 backend.
INFO: Sending messages queue, run #2: 4 message(s) left in queue.
INFO: Message ID 2 [custom identifier: f7e] has no error (0), removing from queue...
STATUS: Sending message ID 3 [custom identifier: b5d] (1/3): 125 bytes.
STATUS: Sending message ID 4 [custom identifier: d9d] (1/3): 125 bytes.
ERROR: Unable to send message ID 4: (0).
INFO: Disconnected.
INFO: Trying to initialize HTTP/2 backend...
INFO: Initialized HTTP/2 backend.
INFO: Sending messages queue, run #3: 2 message(s) left in queue.
INFO: Message ID 4 [custom identifier: d9d] has no error (0), removing from queue...
STATUS: Sending message ID 5 [custom identifier: 39c] (1/3): 125 bytes.
INFO: Disconnected.
We're seeing this too, it's bad performance. Any ideas what can be done?