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
Contributor
Posts: 14
Registered: ‎12-21-2011
My Device: Torch

502 ERROR when registering for push notifications on device

Hi folks,

 

Our push essentials credentials arrived and I have replaced the eval URL with the production one but I am now receiving a 502 "gateway error" when trying to register for push registrations:  i.e.

 

HTTP get....

 

http://pushapi.na.blackberry.com/mss/PD_subReg?serviceId=<my new app id>&osversion=6.0.0.377&model=9800;deviceside=false

 

.. returns 502

 

Everything is the same as when it was running ok on the eval server apart from the base URL and the new app id. I have logged onto the CP admin portal and our app is active.


I have searched around and I am not the first to get this issue but I can't find a solution.

 

Can anyone help?

 

Thanks,

Simon

 

 

Developer
Posts: 235
Registered: ‎11-08-2010
My Device: Not Specified

Re: 502 ERROR when registering for push notifications on device

Does the production url have a <cpid> in it before the pushapi part?

Contributor
Posts: 14
Registered: ‎12-21-2011
My Device: Torch

Re: 502 ERROR when registering for push notifications on device

Hi,

 

Thanks for your response. The server uses a "cp<my number>" prefix to push messages, the client doesn't.

 

However.... the 502 errors have now gone and the client can register successfully. No change since Friday, it just started working...hmmm.

 

Anyway, the server messages are not coming through but i'll take that up in  another thread.

 

 

New Contributor
Posts: 6
Registered: ‎07-18-2012
My Device: Curve 8520

Re: 502 ERROR when registering for push notifications on device

Hi Simon_999

 

Which file or how we can add "cp<num from RIM>" on the server side.

 

So, the client just call BPSS url without <num from RIM> prefix?

 

Cheers,

anop72