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
New Developer
Posts: 27
Registered: ‎08-04-2009
My Device: Not Specified

net.rim.device.cldc.io.dns.dns exception error trying to resolve exception

Hi I am using Blackberry 8900 and the provider is Vodafone India.

 

Initially was getting exception "java.io.ioexception tunnel failed" while trying to open http connection.

But I got the APN from Vodafone and now I am getting the exception "net.rim.device.cldc.io.dns.dns exception  error trying to resolve"

while trying to make http connection.

 

The app is working fine on simulator and there is no problem as all. I have used ";deviceside=true" while crating connection.

 

Please provide some solution or some useful info regarding this. or please suggest any workaround for the same.

Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: net.rim.device.cldc.io.dns.dns exception error trying to resolve exception

Are you able to browse the same url on BB device browser?

Use Search. "Accept Solution" If the problem is resolved.
New Developer
Posts: 27
Registered: ‎08-04-2009
My Device: Not Specified

Re: net.rim.device.cldc.io.dns.dns exception error trying to resolve exception

Hi,

 

The url is working in BB Device browser.

Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: net.rim.device.cldc.io.dns.dns exception error trying to resolve exception

HAve you got a chance to run the application httpdemo app shipped with JDE on realdevice?

Use Search. "Accept Solution" If the problem is resolved.
New Developer
Posts: 27
Registered: ‎08-04-2009
My Device: Not Specified

Re: net.rim.device.cldc.io.dns.dns exception error trying to resolve exception

Nope I havn't.

 

But my Code looks like this

 

public HttpConnection c = null;

 

 

c = (HttpConnection)Connector.open(url+";deviceside=true");

 

and while opening it is throwing exception.

 

Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: net.rim.device.cldc.io.dns.dns exception error trying to resolve exception

hope you have a right dataplan for you sim.

Use Search. "Accept Solution" If the problem is resolved.
New Developer
Posts: 27
Registered: ‎08-04-2009
My Device: Not Specified

Re: net.rim.device.cldc.io.dns.dns exception error trying to resolve exception

Hi,

 

I have tried with Airtel Sim and it worked with the same. It seems the Vodafone is having problem with the connection.

Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: net.rim.device.cldc.io.dns.dns exception error trying to resolve exception

ok.. it worked on otehr network. speak to customer care and find out about your vodafone dataplan.

Use Search. "Accept Solution" If the problem is resolved.
New Contributor
Posts: 3
Registered: ‎02-22-2010
My Device: Curve
My Carrier: Vodafone

Re: net.rim.device.cldc.io.dns.dns exception error trying to resolve exception

Have you found the solution of the problem with V O D A F O N E connection I am facing the similer problem 

Let me know asap.

 

Contributor
Posts: 48
Registered: ‎03-04-2009
My Device: Not Specified

Re: net.rim.device.cldc.io.dns.dns exception error trying to resolve exception

i have also vodafone indai 899 plan. i tyr to test on HTTP Demo application. it working fine on simulator. but on device that throw exception like net.rim.device.cldc.io.dns.dnsException: error try to resolve

 

 i have set apn setting as given vodafone customer care.

 

Regards