Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
11-15-2012 07:10 AM
First time trying to get Push Notification working. It is proving to be alot of work.
Im getting response 503 from the server. Does this mean the server is down or just busy? How long should I wait before trying again?
Those of you that got the push notification working, how reliable is it?
11-15-2012 08:42 AM
Here is some of my code. The first request gets response 200 but the second one says "Connection closed by Peer" If I use http I get response 503. Any help? The formRegisterRequest is the sample code from this site.
String registerUrl = formRegisterRequest( "https://pushapi.eval.blackberry.com",
"xxxxxxxxxxxx-app-id", null ) + ";deviceside=false;xxxxxxxxlic";
HttpConnection httpConnection = (HttpConnection) Connector.open(registerUrl);
Log("httpConnection responseCode: " + httpConnection.getResponseCode());
InputStream is = httpConnection.openInputStream();
String response = new String(IOUtilities.streamToBytes(is));
close(httpConnection, is, null);
String nextUrl = formRegisterRequest( "https://pushapi.eval.blackberry.com",
"xxxxxxxx-app-id", response ) + "xxxxxxxxlic";
HttpConnection nextHttpConnection = (HttpConnection) Connector.open(nextUrl);
Log("nextHttpConnection responseCode: " + nextHttpConnection.getResponseCode());
InputStream nextInputStream = nextHttpConnection.openInputStream();
response = new String(IOUtilities.streamToBytes(nextInputStream))
close(nextHttpConnection, is, null);
11-15-2012 08:53 AM
From the client side you should only use HTTP to connect to the BlackBerry infrastructure.
I am investigating some other Push related issues in Africa and will let you know what I find, seems to be a trend at the moment so I do not suspect an issue with your application.
11-15-2012 09:19 AM
The first report I received was about a month ago but at the time it was unclear that this may be a geographically related problem:
Typically this should not occur but it seems there is some issue which needs investigating to determine why this started happening.