11-12-2012 10:09 AM - edited 11-13-2012 04:26 AM
I Developed php Server application for BB push Notifcation
like this Url " http://stackoverflow.com/questions/7481122/push-no
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_pushReq
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;b ackground-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;b ackground-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;b ackground-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;b ackground-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;b ackground-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:wh ite;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_pushReque
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.
11-15-2012 06:23 PM - edited 11-15-2012 06:25 PM
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_pus
Where "XXX" is unique to your application.
Are you using the credentials provided after registering for production?
11-25-2012 08:02 AM - edited 11-25-2012 08:09 AM
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
11-26-2012 11:28 PM
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 occuredError 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?
11-27-2012 07:30 AM - edited 11-27-2012 07:37 AM
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 ??
12-03-2012 07:00 AM
12-03-2012 07:57 AM
I Registered Device For this push from mobile app .
and it's working fine now .
Thanks.