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

Java Development

Reply
Contributor
Posts: 39
Registered: ‎04-20-2010
My Device: 9550,8190
My Carrier: Developer

HttpPushDemo response code 400. Please help?

Hello everyone. i try to run HttpPushDemo application on emulator. i do step by step follow readme.txt file . But i dont see any message.

 

When i type a message and choose Rim option i got the result

 

java.io.IOException: Server returned HTTP response code: 400 for URL: http://localhost:8080/push?DESTINATION=2100000A&PORT=100&REQUESTURI=localhost

 

i try with Pap option still nothing happen.

 

Please help.

 

Thanks in advance

 

 

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

Re: HttpPushDemo response code 400. Please help?

Hi tramntn,

 

Could you verify whether you are running the MDS-CS Simulator when testing this? Are you able to navigate to http://localhost:8080 in your desktop browser? If so, what does it display? Can you browse the Internet from within your currently launched device simulator?

Garett
@garettBeuk
--
Goodbye everybody!
Highlighted
Contributor
Posts: 39
Registered: ‎04-20-2010
My Device: 9550,8190
My Carrier: Developer

Re: HttpPushDemo response code 400. Please help?

Hi Garett,

thank you for your answer, yes i'm testing on emulator. http://localhost:8080 can work find on browser.

 

when i try run with Rim and see on MDS emulator say : PushServiec FAILD - The specified delivery method is not possible

 

with pap i see: returned status code 3007

 

any idea please help!

 

Thank in advance

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

Re: HttpPushDemo response code 400. Please help?

Did you make sure to browse to a web page using the simulator's browser before sending the push? This is required to happen every time you start the MDS-CS simulator in order for pushes to get delivered.

 

Regards, 

Garett
@garettBeuk
--
Goodbye everybody!
Visitor
Posts: 1
Registered: ‎02-04-2011
My Device: Not Specified

Re: HttpPushDemo response code 400. Please help?

hey.. i didnt get the error resolved.. even i tried opening a few web pages using the simulator's browser.. still.. the above errors persist.. can u suggest something that can work surely??

New Member
Posts: 1
Registered: ‎04-06-2011
My Device: -
My Carrier: -

Re: HttpPushDemo response code 400. Please help?

I am having the same problem.  have you had any recent luck. running the BlackBerry 9800 (6.0.0.337) simulator