Open bisikli opened 5 years ago
When it goes to send msgs to an existing connection, the library will first try a PING to ensure the connection is still good. If it's not it will open a new one.
Verify that you are using the latest tagged version, 3.0.4. If you are up to date and still seeing this issue then any further information you can provide would be helpful.
Hello,
APNS service has a known. bug that, if you send a request in a session which stays idle for a while, APNS service returns an internal server error such that : "500 Internal Server Error: Unable to write frame"
Other push services overcome this problem by refreshing their APNS connections when they encounter this kind of a problem. (for example: https://github.com/relayrides/pushy/pull/529)
Is there a way to refresh connection in Perfect Notifications?