Worklight Push notification (APNS) fails with javax.net.ssl.SSLHandshakeException

前端 未结 2 1644
耶瑟儿~
耶瑟儿~ 2020-12-20 00:35

I have a Worklight 6.1 app on iOS with push notifications. It works fine, until something goes wrong on the Worklight server. All push notifications after that fail until

2条回答
  •  醉话见心
    2020-12-20 00:43

    Once again … this took long enough to figure out.

    The underlying problem was that the Worklight server was hosted on SoftLayer, and evidently the SoftLayer firewall by default monitors socket connections, and if a connection is idle for ~10 minutes, drops it.

    So, the worklight server connected to APN and push worked. Then 10 minutes passed without any push notifications, and the firewall dropped the socket between the Worklight server and the APNS server. All subsequent push requests failed silently because Worklight had a dead socket for the APNS service.

    We reconfigured the firewall to allow the connection to APNS to sit idle indefinitely and the problem was resolved.

提交回复
热议问题