A fix is available
APAR status
Closed as program error.
Error description
When sending push notification messages through APNS from a Worklight server that is behind a SOCKS proxy, error messages like the following may appear after a period of time: 20:44:28.325|com.notnoop.apns.internal.ApnsConnectionImpl|ERROR| ||||||Couldn't connect to APNS server java.net.SocketException: already connected at java.net.Socket.connect(Socket.java:519) ~[na:1.6.0] at java.net.Socket.connect(Socket.java:488) ~[na:1.6.0] at Once they begin to appear, the notification messages will no longer be sent until the server is restarted.
Local fix
Restart the Worklight server.
Problem summary
**************************************************************** * USERS AFFECTED: * * Administrators of applications which use push notifications * * to Apple devices, and who are using a SOCKS proxy to connect * * to APNS (the Apple push notification service) * **************************************************************** * PROBLEM DESCRIPTION: * * Push notifications to APNS work fine, until an error in the * * log starts appearing: * * com.notnoop.apns.internal.ApnsConnectionImpl|ERROR| * * Couldn't connect to APNS server * * java.net.SocketException: already connected * * * * At this stage push notifications are not sent to APNS * * anymore. * **************************************************************** * RECOMMENDATION: * * - * ****************************************************************
Problem conclusion
The library which Worklight uses to connect to APNS has been updated and the issue with using SOCKS proxies has been resolved. The fix for this APAR is currently targeted for fixpack 6.0.0.2.
Temporary fix
Comments
APAR Information
APAR number
PM99731
Reported component name
WORKLIGHT ENTER
Reported component ID
5725I4300
Reported release
600
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-10-23
Closed date
2014-01-28
Last modified date
2014-01-28
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WORKLIGHT ENTER
Fixed component ID
5725I4300
Applicable component levels
R600 PSY
UP
R610 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"600","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
02 November 2021