Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
Blanc
Posts: 638
Registered: 07-02-2009

Re: Tunnel Failed + HttpOcnnection + Wi-Fi.

@davidmccormack:

 

the server is at remote location only.i dnt know the IP address of it, and i think it wont be the reason for my exception.

 

Anyway thanks for your suggestions.

 

any help...!!!!?????

Thanks and Regards,
PraveenGoparaju.
Please use plain text.
Developer
Posts: 1,474
Registered: 04-14-2009

Re: Tunnel Failed + HttpOcnnection + Wi-Fi.

See peter_strange's question: is it Storm 2 (has WiFi) or just Storm (does not have WiFi)?

Please use plain text.
Developer
Blanc
Posts: 638
Registered: 07-02-2009

Re: Tunnel Failed + HttpOcnnection + Wi-Fi.

i was shocked when i came to know that storm1 does not support wi-fi, anyway am using storm1,so no support for  wi-fi.

 

then i try to change my code to with url:  as follows::

 

 

url += url+";deviceside=true";. but still problems!!!

 

This time the error is regarding the APN. i found that HTTPDemo is working fine. in the demo it is not even mentioned deviceside=true; for the fetch default page in the menu. but it is working fine.

 

so i hope  your help and support to solve my issue.

Thanks and Regards,
PraveenGoparaju.
Please use plain text.
Developer
Posts: 1,474
Registered: 04-14-2009

Re: Tunnel Failed + HttpOcnnection + Wi-Fi.

url += url+";deviceside=true" seems pretty wrong: if URL is "http://www.google.com", you'll get "http://www.google.comhttp://www.google.com;deviceside=true".

Please use plain text.
Developer
Posts: 1,474
Registered: 04-14-2009

Re: Tunnel Failed + HttpOcnnection + Wi-Fi.

P.S. If HTTPDemo is working fine on your device without the ";deviceside=true", then don't append ";deviceside=true" in your application either.

Please use plain text.
Developer
peter_strange
Posts: 14,614
Registered: 07-14-2008

Re: Tunnel Failed + HttpOcnnection + Wi-Fi.

Seem to recall from somewhere that if you have a Verizon or Voda Storm, I think they will attempt to use WAP.  If you really want them to use Direct TCP you have to supply an empty Connection UID? 

 

So not specifying anything == WAP.

 

Just a thought.

Please use plain text.
Developer
Blanc
Posts: 638
Registered: 07-02-2009

Re: Tunnel Failed + HttpOcnnection + Wi-Fi.

[ Edited ]

@peter: i didnt get you what ypu are suggesting me to do... can you be little bit clear!!!

 

@klyubin: i mean url = url+";deviceside=true"; not url+ = url+";deviceside=true"; anyway thanks for your correction.

 

i will try with removing deviceside=true; and let you know wheter it is working or not.

Thanks and Regards,
PraveenGoparaju.
Please use plain text.
Developer
peter_strange
Posts: 14,614
Registered: 07-14-2008

Re: Tunnel Failed + HttpOcnnection + Wi-Fi.

Please use plain text.
Developer
Posts: 1,474
Registered: 04-14-2009

Re: Tunnel Failed + HttpOcnnection + Wi-Fi.

BTW, that empty ConnectionUID trick doesn't work for socket and tls connections on Vodafone UK (haven't tried http or https). Only connectionhandler=none does.

Please use plain text.