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

Reply
New Contributor
Posts: 7
Registered: ‎08-13-2012
My Device: BlackBerry Torch 9810
My Carrier: Rogers

Cannot connect: 9810 Simulator --> MDS --> Proxy --> Internet

[ Edited ]

Hi, has anyone successfully been able to access the Internet *via a proxy server* from a BlackBerry Simulator? (e.g. I'm using the Torch 9810, V7.1).

My app needs to access the Internet, and I need to go through a proxy.

 

Here’s my setup on Win XP SP3:
~~~~~~~~~~~~~~~~~~~~~~~~~
1) Torch 9810 Simulator (OS V7.1.0.536)

2) Email and MDS Simulator (version 4.1.2.17).

3) Configured MDS rimpublic.property to use a proxy server, as per RIM's instructions (http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/796557/800738/800792/... Under the [HTTP Handler] section:

 

   application.handler.http.proxyEnabled = true
   application.handler.http.proxyHost=[my proxy server domain]
   application.handler.http.proxyPort=[my proxy port]
   application.handler.http.proxyUser=[my domain id in <domain>\<id> format]
   application.handler.http.proxyPass=[proxy password]

 

- Started MDS (ensured no port conflicts in the console messages)
- Started 9810 Simulator.
- In the 9810, opened up the web browser and tried to access an internet website.
- Error message: "Unable to connect to the Internet, please try again later. If the problem persists please contact your service provider."
- Trying to access internal websites works correctly though (i.e. not going through the proxy).

 

I've also tried tried using our auto proxy config .PAC without success:

 

   application.handler.http.proxyAutoConfig = true
   application.handler.http.proxyAutoConfigURL=http://URL_to_Your_PAC_Config_File
   application.handler.http.proxyAutoConfig.ScriptCacheTime=0

 

The same result was observed with other BB Simulators (e.g. 9300 Curve).

 

Am I missing something?

New Contributor
Posts: 7
Registered: ‎08-13-2012
My Device: BlackBerry Torch 9810
My Carrier: Rogers

Re: Cannot connect: 9810 Simulator --> MDS --> Proxy --> Internet

bump....anyone?

New Contributor
Posts: 7
Registered: ‎08-13-2012
My Device: BlackBerry Torch 9810
My Carrier: Rogers

Re: Cannot connect: 9810 Simulator --> MDS --> Proxy --> Internet

Anyone?  There has to be someone else doing BB development behind a proxy?

New Contributor
Posts: 2
Registered: ‎08-22-2012
My Device: 9780
My Carrier: ATT

Re: Cannot connect: 9810 Simulator --> MDS --> Proxy --> Internet

I had this problem when I used MDS 4.1.2 version. Please try MDS 4.1.4

New Contributor
Posts: 7
Registered: ‎08-13-2012
My Device: BlackBerry Torch 9810
My Carrier: Rogers

Re: Cannot connect: 9810 Simulator --> MDS --> Proxy --> Internet

Hi srsaran, thanks for the reply and tip.  

 

I installed MDS 4.1.4 and the simulator cannot access the internet through our proxy.

 

I wonder if you'd mind sharing what settings you used? (in rimpublic.property).  Thanks...