BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 10-17-2010, 12:16 PM   #1 (permalink)
New Member
 
Join Date: Jul 2010
Model: 9700
PIN: N/A
Carrier: Verizon
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Problem Using Socket Connection on AT&T network

Please Login to Remove!

I am trying to connect to a server over direct TCP. The connection string I am using ("socket://<IP-Address>:<port>;deviceside=true") works fine on verizon and T-mobile phones, but I am having problems on a telus bold 9700 with a&t SIM card (US). I am getting a CriticalIOException when I try to connect.



The details are:



Connection string: socket://<IP-Address>:<port>;deviceside=true;apn=bb.telus.com;T unnelAuthusername=null;TunnelAuthPassword=null

Exception: net.rim.device.internal.io.CriticalIOException

Critical tunnel failure



I have tried various prefixes of above connection string with and without username and password etc. Does anyone know what connection string should I use ? I have also tried apns 'proxy' and 'internet.com' that have been suggested elsewhere.



The adv. settings->TCP/IP ... shows APN string "bb.telus.com" and web browser seems to be working just fine.
Offline  
Old 10-18-2010, 10:43 AM   #2 (permalink)
New Member
 
Join Date: Jul 2010
Model: 9700
PIN: N/A
Carrier: Verizon
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Follow Up: I was able to get rid of the CriticalIOException by getting the APN from the Host Routing Table and included it as part of the connection string.

Now I am getting an IOException: Connection Timed Out. I know the Server I am trying to connect to is listening as I am able to send it messages from WiFi and other phones on a Verizon Network. I have successfully set a long Timeout (60 seconds) through SocketConnectionEnhanced but it is still timing out.

It seems like this could be a problem with AT&T or the Telus Phone. Has anyone had similar issues or if you could offer some guidance this one is really puzzling me.
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.