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
Developer
Posts: 203
Registered: ‎07-30-2009
My Device: Bold(9780),Curve(8520)
My Carrier: Vodafone

java.io.IOException: Tunnel failed

Hi,In my application when I create the http connection it throws the java.io.IOException: Tunnel failed exception so please help me to solve it.

Highlighted
Developer
Posts: 571
Registered: ‎04-11-2009
My Device: BB 10 Dev Alpha

Re: java.io.IOException: Tunnel failed

Hi,

 

Are you using MDS to connect to HTTP..? Have you appended the proper suffix to your URL..? There is a great post on Networking on Blackberry  by Peter. Kindly, go with this sticky thread once you start making connections with your device.

 

http://rim.lithium.com/t5/Java-Development/Connecting-your-BlackBerry-http-and-socket-connections-to...

 

All the best.

Regards,
Kanak Sony
------------------------------------------------------------------------------------------
http://dodevelopnshare.wordpress.com/ | http://www.linkedin.com/profile/view?id=188131481&trk=tab_pro