Support Article

Not able to configure Push Notification on iOS through proxy

SA-31579

Summary



User is not able to Configure Push Notification on iOS through proxy.
The Linux Server is not allowed to open port 2195 to extranet directly. APNs traffic has to be redirect to the proxy server.

All the requests need to go through proxy.


Error Messages



2016-11-17 09:21:22,786 [ WebContainer : 18] [ ] [ ] [ ] ( web.impl.WebStandardImpl) ERROR - .........: Problem retrieving input data:
java.io.IOException: Async IO operation failed (3), reason: RC: 107 Transport endpoint is not connected
at com.ibm.io.async.AsyncLibrary$IOExceptionCache.<init>(AsyncLibrary.java:924)
at com.ibm.io.async.AsyncLibrary$IOExceptionCache.get(AsyncLibrary.java:937)
at com.ibm.io.async.AsyncLibrary.getIOException(AsyncLibrary.java:951)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:705)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881)

2016-11-17 09:23:03,017 [ WebContainer : 18] [TABTHREAD1] [ ] [ FPM:01.03] (ns.internal.ApnsConnectionImpl) ERROR ......t1........ HN26RU - Couldn't connect to APNS server
java.net.UnknownHostException: gateway.push.apple.com
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:209)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:404)
at java.net.Socket.connect(Socket.java:643)
at com.ibm.jsse2.qc.connect(qc.java:223)
at com.ibm.jsse2.qc.<init>(qc.java:119)
at com.ibm.jsse2.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:4)
at com.notnoop.apns.internal.ApnsConnectionImpl.getOrCreateSocket(ApnsConnectionImpl.java:268)
at com.notnoop.apns.internal.ApnsConnectionImpl.sendMessage(ApnsConnectionImpl.java:327)
at com.notnoop.apns.internal.ApnsConnectionImpl.sendMessage(ApnsConnectionImpl.java:312)
at com.notnoop.apns.internal.ApnsServiceImpl.push(ApnsServiceImpl.java:46)
at com.notnoop.apns.internal.AbstractApnsService.push(AbstractApnsService.java:56)
at com.notnoop.apns.internal.ApnsServiceImpl.push(ApnsServiceImpl.java:36)
at com.notnoop.apns.internal.AbstractApnsService.push(AbstractApnsService.java:45)
at com.pega.push.notification.message.sender.APNSPushSender.sendPushMessage(APNSPushSender.java:63)

 


Steps to Reproduce



Try to set up Apple push notification and set it up to go through a proxy server.


Root Cause



This is not supported.
 

Resolution



This is not supported.
 

Published December 17, 2016 - Updated January 16, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.