Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry Push Development

Reply
New Contributor
Posts: 3
Registered: ‎05-10-2013
My Device: BB 9800

IOException caught sending message to PPG URL address

Hi,

 I hosted BB push server (using Tomcat) on my laptop (which is in Corporate network and firewall is diabled) and deployed BIS client application on my device(which is in corporate BES through, accessable to corporate network).

 When I tried to do low-level-push ,i'm getting the following error:

  

May 10,2013 13:43:26 INFO - Push request control message: PushMessageControl ( net.rim.pushsdk.pap.control.PushMessageControl@3df020ff pushId = hxeoLIwemGj-1368167795167 deliverBeforeTimestamp = Fri May 10 14:06:36 IST 2013 sourceReference = XXXX-6B00789DDDy9I2O27a352m41r12a1310005 ppgNotifyRequestedTo = null addresses = AddressList ( net.rim.pushsdk.pap.control.AddressList@2ecd45c addresses = [27409CE7] ) qualityOfService = QualityOfService ( net.rim.pushsdk.pap.control.QualityOfService@6006651d deliveryMethod = unconfirmed bearer = null bearerRequired = false ) )
May 10,2013 13:43:26 INFO - Push request content: TextContent ( Content ( net.rim.pushsdk.commons.content.TextContent@5afa1c61 contentType = ContentType ( net.rim.pushsdk.commons.content.ContentType@5a5d52f0 contentType = text/plain parameters = {charset=UTF-8} ) headers = HttpHeaderList ( net.rim.pushsdk.commons.http.HttpHeaderList@24f038e9 headers = {} upperCaseHeaders = {} ) ) content = hello )
May 10,2013 13:43:26 ERROR - PushSDKException caught:
net.rim.pushsdk.commons.PushSDKException: IOException caught sending message to PPG URL address: https://cp3528.pushapi.eval.blackberry.com/mss/PD_pushRequest
at net.rim.pushsdk.pap.PapServiceImpl.sendToPpg(PapServiceImpl.java:487)
at net.rim.pushsdk.pap.PapServiceImpl.pushToPpg(PapServiceImpl.java:446)
at net.rim.pushsdk.pap.PapServiceImpl.push(PapServiceImpl.java:174)
at net.rim.pushsdk.lowlevelsample.push.PushController.processSubmit(PushController.java:143)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)

 

I'm unab;e to narrow down the issue. Kindly help me regarding this. 
Thanks in advance.

 

Regards

Buddha Puneeth

Retired
Posts: 311
Registered: ‎08-08-2012
My Device: BlackBerry Z10

Re: IOException caught sending message to PPG URL address

Hi,

 

From the IOException you get back, it does look like something is blocking the request from going out.

You mentioned that the firewall is disabled.  Is it disabled just on your laptop though or also on the corporate network?

 

It might be worthwhile connecting from another Wi-Fi source (e.g. your home) and seeing if the request goes out.  That would help rule it out as the cause.

 

Matt