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

Web and WebWorks 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
Developer
Posts: 21
Registered: ‎02-03-2009
My Device: Not Specified
Accepted Solution

Web Widget Push -> HTTP Status 403 - could not map device 2100001a to an IPPP host.

Hi,

Windows 7 Professional 64-bit
Visual Studio plugin
Web Widget
Simulator 9550 Storm v5.0.0.469

I have some problem trying to make a working Push sample.
I've got the client widget running in the simulator.
I'm running the server java sample (found at http://www.blackberry.com/go/pushwidgetsample) to send the push request. Client and server are on the same machine.
I changed the default PIN used in the server sample from 2100000A to 2100001A since this is my simulator PIN. When a try to send a push using 2100001A, the command console display this error:
Sending to http://localhost:28080/push?DESTINATION=2100001A&PORT=100&REQUESTURI=localhost
java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:28080/push?DESTINATION=2100001A&PORT=100&REQUESTURI=localhost


And if I try the specified url into a web browser i get:
HTTP Status 403 - could not map device 2100001a to an IPPP host.

As suggested somewhere, I did navigate to www.google.com or www.rim.com a couple of times prior to send the push(to register with the MDS), but this doesn't help.

I did uncomment the line push.application.reliable.ports=100 in C:\Program Files (x86)\Research In Motion\BlackBerry Widget Packager\mds\config\rimpublic.property.

http://localhost:28080/admin/common/Home shows
Build number  :     26
Build version  :     4.1.5.26
Build Date      :     2008/02/06

In http://localhost:28080/admin/statistics/Statistics, the "Push connections" doesn't increment.

 

If I try to push to the default PIN 2100000A i get:

Sending to http://localhost:28080/push?DESTINATION=2100000a&PORT=100&REQUESTURI=
localhost
Response: Content Length: 0

which seems to indicate success("Push connections" does increment in Statistics page), but no response since nobody listen on this PIN.

 

So why I can't push to 2100001A ?
Or is there a way to fix the PIN of my simulator to "2100000A" ?

Developer
Posts: 21
Registered: ‎02-03-2009
My Device: Not Specified

Re: Web Widget Push -> HTTP Status 403 - could not map device 2100001a to an IPPP host.

What additional info could I provide for this issue ?

I'm really stuck with this one...

Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Web Widget Push -> HTTP Status 403 - could not map device 2100001a to an IPPP host.

Hi,

 

Have you had any success pushing to an email address instead of a PIN?

 

Open the rimpublic.property file associated with the MDS-CS simulator you are using (can be found within the MDS\config folder of the BlackBerry Web Plug-in install folder) and verify what values are found in the [Simulator] section?  It may look something like this:

 

 

[Simulator]
#[CDK_MODIFICATIONS for Running Multiple Simulators]
# Each simulator instance must have a unique IPPP port assignment
# ie. Simulator fledge.exe command lines must have: 
#	 /ignore-data-port-conflicts /app-param=IPPPSourcePort: <port>
Simulator.2100000a=MDS,simulator@pushme.com
Simulator.2100000b=MDS,user2100000b@pushme.com
Simulator.2100000c=MDS,user2100000c@pushme.com

 

Check to ensure the PIN / Email combination in rimpublic.property match what you are using in your push sample.

 

 

Cheers,

Adam

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Highlighted
Developer
Posts: 21
Registered: ‎02-03-2009
My Device: Not Specified

Re: Web Widget Push -> HTTP Status 403 - could not map device 2100001a to an IPPP host.

I did change the first line to:

 

Simulator.2100001a=MDS,simulator@pushme.com

and it's now working perfectly. Thanks a lot!

 

Just wondering, why the default pin used by the simulator and the mds would not match with a default installation of Widget Plugin for VS 2008 ? Does everyone using the Widget plugin has to do this in order to perform a push in the simulator ??