12-03-2009 03:36 AM
I have my BlackBerry environment up and running on my PC:
- the MDS is configured with proper proxy settings
- the browser in the simulator can access web resources both internally and externally through the proxy
I create a simple Widget that should load an external web page on startup, some lines from config.xml:
<content src="http://www.domain1.com:8088/index.html" /> <access uri="http://www.domain1.com:8088" subdomains="true" /> <access uri="http://www.proxy1.com:8080" subdomains="true" />
The proxy listens to port 8080 and as you can see it is also whitelisted in the config.xml file. Now the problem - when I start the Widget the following error message pops up:
"Could not select proper transport descriptor for:
Running Wireshark in parallell shows there is no HTTP request sent for the start page.
When I connect my PC to another network not using any proxy, reconfigure MDS not to use proxy, it all works! The Widget starts and the web page is shown.
To me it is quite obvious the proxy connection that causes this "Could not select proper transport descriptor" error. I saw some other post on the same error message, but there was no infomation on proxies there.
My Widget needs to access an external server through our proxy. So this error is kind of frustrating since I can not run the simulator when my computer is connected to our office network.
- Simulator 184.108.40.206
- MDS 4.1.2
12-03-2009 07:32 AM
I'll take this back to the team and see if they have any solutions for you.
04-06-2010 08:09 PM
Was there even an update on this? I ran into the port issue today when trying to do some local development against a webserver not bound to port 80. I ended up changing around my development environment to put my test server on 80, but I had hoped I wouldn't have to.
04-07-2010 09:49 AM
I was just talking with astanley, who also helps on the forums, and he mentioned a key item. The MDS simulator is actually a web server itself. When the MDS server runs it actually uses 8080 as its server listening port.
So when you are running the MDS simulator on the same machine as say an apache web server using 8080 you will have a port conflict.
I'm going to add this info to the Tips & Tricks thread