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
sho3ebovich
Posts: 120
Registered: ‎12-22-2011
My Device: ---
My Carrier: ---

BB Push Notification Production Error

[ Edited ]

I Developed php Server application for BB push Notifcation 

like this Url " http://stackoverflow.com/questions/7481122/push-notification-in-blackberry

I Tested my code in eval environment and it's work fine .

 

but after testing it using appId / appPassword for production environment i get an error in two cases :

 

case 1 : 

when using this url for posting the request " https://pushapi.eval.blackberry.com/mss/PD_pushRequest "

 

i get this error message 

 

<html><head><title>Apache Tomcat/7.0.26 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 401 - Invalid PushServiceId/Password in the Authorization HTTP header</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>Invalid PushServiceId/Password in the Authorization HTTP header</u></p><p><b>description</b> <u>This request requires HTTP authentication (Invalid PushServiceId/Password in the Authorization HTTP header).</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.26</h3></body></html>Mismatched tagOur PUSH-ID: 1352745936.9165
<br \>


<p>
	An error has occured
</p>

Error CODE: 
<br \>

Error DESC: 
<br \>

 

 

 

 

case 2 : 

when using this url for posting the request :

https://cpxxx.pushapi.na.blackberry.com "

or ,

https://pushapi.na.blackberry.com/mss/PD_pushRequest"

 

i get this error message 

 

<?xml version="1.0"?>
<!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 2.1//EN" "http://www.openmobilealliance.org/tech/DTD/pap_2.1.dtd"><pap><badmessage-response code="2000" desc="Client Cababilites are not supported" bad-message-fragment="Client Cababilites are not supported"/></pap>Our PUSH-ID: 1352751720.5448
<br \>


<p>
	An error has occured
</p>

Error CODE: 2000
<br \>

Error DESC: Client Cababilites are not supported
<br \>

 

. so what is the problem and which Url is valid . to test push notification on production environment .

 

Thanks.

Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: BB Push Notification Production Error

[ Edited ]

You would have received the correct URL to use in the email received after registering. Did you register to move your evaluation service to production?

 

https://cpXXX.pushapi.na.blackberry.com/mss/PD_pushRequest

 

Where "XXX" is unique to your application.

 

Are you using the credentials provided after registering for production?

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
Developer
sho3ebovich
Posts: 120
Registered: ‎12-22-2011
My Device: ---
My Carrier: ---

Re: BB Push Notification Production Error

[ Edited ]

I have " https://cpXXX.pushapi.eval.blackberry.com "

 

and the  content provider ID

 

but still get the error : 

 

Our PUSH-ID: 1353869868.2058
An error has occured

Error CODE: 2000
Error DESC: Client Cababilites are not supported

 

 

Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: BB Push Notification Production Error


sho3ebovich wrote:

I have " https://cpXXX.pushapi.eval.blackberry.com "

 

and the  content provider ID

 

but still get the error : 

 

Our PUSH-ID: 1353869868.2058
An error has occured

Error CODE: 2000
Error DESC: Client Cababilites are not supported

 

 


That URL will only work if you have applied to move your service to production, can you confirm if this has been done?

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
Developer
sho3ebovich
Posts: 120
Registered: ‎12-22-2011
My Device: ---
My Carrier: ---

Re: BB Push Notification Production Error

[ Edited ]

I didn't finish the app to convert it to production and send the OTA Version .

 

and still get the error if i registered from my device using this url "  https://cpXXX.pushapi.eval.blackberry.com " too .

 

but now i got the message 

 

Our PUSH-ID: 1354040894.0841 
PUSH-ID: 1354040894.0841 
REPLY-TIME: 2012-11-27T12:25:24Z 
Response CODE: 2000 
Response DESC: No Active Subscribers for the Push Service

 

What is mean ?? 

 

 

Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: BB Push Notification Production Error

This means no devices have subscribed to your push service. Can you verify that you have successfully subscribed at least one device? How was this done?
Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
Developer
sho3ebovich
Posts: 120
Registered: ‎12-22-2011
My Device: ---
My Carrier: ---

Re: BB Push Notification Production Error

I Registered Device For this push from mobile app .

and it's working fine now .

 

Thanks.

Please use plain text.