on 2016 May 09 3:17 PM
Hi Expert,
We are working on Push notification app and we are sending Push notification from Gateway through a Function Module. SMP server is configured with Apns certificate and Proxy server details in SMP admin cockpit As our SMP is configured to connect to APNS via a Proxy server. All required port like 2195,2196 are already opened. but we are getting below error when we send a push notification from gateway.
SMP Log says
+0100#DEBUG#com.sap.mobile.platform.server.notifications.async.impl.ServletRequestAwareAsyncExecutionInterceptor##anonymous#push-async-7####null#null#null#debug#Push#null#null#3e6904e5-5f7d-48a1-9d20-ef95def3a243#null#1462780098193#null#com.sap.mobile.platform.server.notifications.async.impl.ServletRequestAwareAsyncExecutionInterceptor:logFinally#SMP: Push: End time for processing Push Notification (UTC): 1462783698193#null#729#Notification#1462783633166015#null |
2016 05 09 09:48:18#+0100#ERROR#com.notnoop.apns.internal.ApnsFeedbackConnection##anonymous#push-async-6###Couldn't get feedback connection java.net.ConnectException: Connection timed out: connect
it seems that SMP server is not able to reach to proxy server.
But when we try it from browser it successfully connect to proxy server.
We have already configured Proxy setting in management cockpit and also in Props.ini file by following this blog Enable Proxy settings SMP 3.0 SP07+
Response from browser once gateway.push.apple.com:2195 called
Proxy Error 502
Any help will be appreciated.
Thanks&Regards,
Saurabh
Request clarification before answering.
The above guide is for SP07+, which SMP version are you on?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
Have you configured your proxy with SOCKS capabilities? Please take a look at :
http://help.sap.com/saphelp_smp303svr/helpdata/en/7c/28b0d7700610149ec7f620ab3d4011/content.htm
APNS connections establish a SOCKS connection instead of an HTTP one, so your proxy should support it. You should try doing a trace with wireshark or similar software.
Also, remember that for APNS push notifications to work your application ID defined in SMP must be the same application ID defined in xCode (And thus the id generated for the push certificate)
BR,
Gonzalo.
User | Count |
---|---|
87 | |
11 | |
9 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.