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


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.


Reply
New Developer
Posts: 28
Registered: ‎03-04-2009
My Device: Bold 9700

Response 503

Hi there.

 

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?

 

Thanks

 

 

New Developer
Posts: 28
Registered: ‎03-04-2009
My Device: Bold 9700

Re: Response 503

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);

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Response 503

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.

Garett
@garettBeuk
--
Goodbye everybody!
New Developer
Posts: 28
Registered: ‎03-04-2009
My Device: Bold 9700

Re: Response 503

Thanks for the reply. Any idea how long this has been going on for and is this a regular occurance? I need to present to our client soon and they will undoubtably ask these questions.

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Response 503

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:

http://pushapi.eval.blackberry.com/mss/PD_subReg?serviceid=3174-908c33er4631tt8oo07897M58h29l142e92&...

 

Typically this should not occur but it seems there is some issue which needs investigating to determine why this started happening.

Garett
@garettBeuk
--
Goodbye everybody!
New Developer
Posts: 28
Registered: ‎03-04-2009
My Device: Bold 9700

Re: Response 503

Any idea how long before we will have an answer?

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Response 503

We can't predict how long it will take to fix the issue without first finding the root cause.

Garett
@garettBeuk
--
Goodbye everybody!
Highlighted
Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Response 503

This issue should now be resolved, please let me know if you continue to experience any issues with registering with the EVAL server.

Garett
@garettBeuk
--
Goodbye everybody!