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
Developer
Posts: 151
Registered: ‎09-28-2012
My Device: Blackberry Developer
My Carrier: Aircel

Unable to push notification using BES

Hi ,

Actually, We need some support ,we are unable to push notification using Blackberry push services SDK ,when we are trying to push a notification we are getting the following error..

 

( Please correct the following error(s): 

 Bad HTTP response returned: HttpResponse ( net.rim.pushsdk.commons.http.HttpResponse@18e1b statusCode = 404 content = https://cpXXXX.pushapi.eval.blackberry.com/pap contentType = null headerFields = {null=[HTTP/1.1 404 Not Found], Date=[Wed, 03 Apr 2013 08:59:56 GMT], Content-Length=[0], Server=[Apache-Coyote/1.1]} ). Please check application log files for more information. )

 

We want to push notification using BES type PPG, but when we are doing log in into Content Provider Admin Portal , showing BIS in version column .

Is there is some issue from your side , or we are doing something wrong..

Please do some needful ....

 

Thanx in Advance..

 


----------------------------------------------------------
Feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
Retired
Posts: 311
Registered: ‎08-08-2012
My Device: BlackBerry Z10
My Carrier: Rogers

Re: Unable to push notification using BES

[ Edited ]

Hi,

 

 https://cpXXXX.pushapi.eval.blackberry.com is the base PPG URL for BIS not BES.  The /pap suffix is for BES on the other hand, so you're trying to mix the two.

 

Are you trying to create an enterprise push application or a push application for the general public?

 

Matt

Developer
Posts: 151
Registered: ‎09-28-2012
My Device: Blackberry Developer
My Carrier: Aircel

Re: Unable to push notification using BES

Hi,

 

We are trying push application for the general public, and please suggest what URL will be used for BES..??

 

Thank you .. :smileyhappy:

 


----------------------------------------------------------
Feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Unable to push notification using BES

For BES you would use the URL of the BES MDS instance, but BES is only for use with Enterprise customers.

 

For consumers/general public you would use BIS and the URL varies slightly depending on the query. To send a Push you would use:
https://cpXXXX.pushapi.eval.blackberry.com/mss/PD_pushRequest

Garett
@garettBeuk
--
Goodbye everybody!