|
|
|
07-05-2008, 10:12 PM
|
#1
|
Thumbs Must Hurt
Join Date: May 2008
Model: 8320
PIN: N/A
Carrier: Tmobile
Posts: 62
|
HTTPConnection problems with TMobile
Please Login to Remove!
I have an application that is trying to establish an http connection. It works fine in the simulator. And when i tired it on a verizon or sprint device, it works fine as well. However on Tmobile(my provider), It appears that my application is not even attempting to make any type of connection.
The web works fine, and other 3rd part apps, like gtalk, facebook etc work. My connection logic is almost identical to the HttpConnection example that RIM offers.
Has anyone else had this issue, and if so, how did you resolve it?
I'm stuck, i've tried everything i know, and nothing seems to work.
|
Offline
|
|
07-05-2008, 10:14 PM
|
#2
|
BBF Moderator
Join Date: Jun 2005
Model: Z30
OS: 10.2.1.x
PIN: s & needles
Carrier: AT&T
Posts: 34,720
|
Is it requiring the apn be entered in Options >Advanced Options >TCP?
|
Offline
|
|
07-05-2008, 10:17 PM
|
#3
|
Thumbs Must Hurt
Join Date: May 2008
Model: 8320
PIN: N/A
Carrier: Tmobile
Posts: 62
|
When i go to Options >> Advanced >>TCP
All the data is blank. Am i supposed to enter something there? and if so, is this something most users will have to do as well...is it normal?
|
Offline
|
|
07-05-2008, 10:19 PM
|
#4
|
BBF Moderator
Join Date: Jun 2005
Model: Z30
OS: 10.2.1.x
PIN: s & needles
Carrier: AT&T
Posts: 34,720
|
yes.
For TMobile, enter the following:
apn:wap.voicestream.com
username
password
leave username and password blank.
|
Offline
|
|
07-05-2008, 10:23 PM
|
#5
|
Thumbs Must Hurt
Join Date: May 2008
Model: 8320
PIN: N/A
Carrier: Tmobile
Posts: 62
|
I just tried it, and it appears not to work. I restarted the phone as well. I just got this phone about 5 hours ago, is there some longer waiting period before 3rd party apps will work properly? I read somewhere (on older post) that this could be the case.
|
Offline
|
|
07-05-2008, 10:27 PM
|
#6
|
BBF Moderator
Join Date: Jun 2005
Model: Z30
OS: 10.2.1.x
PIN: s & needles
Carrier: AT&T
Posts: 34,720
|
It's possible that your data plan hasn't taken effect.
|
Offline
|
|
07-05-2008, 10:28 PM
|
#7
|
Thumbs Must Hurt
Join Date: May 2008
Model: 8320
PIN: N/A
Carrier: Tmobile
Posts: 62
|
hmmm. Is there a way i can be sure if my data plan is active? I would think gtalk, or others would not work if that was the case.
|
Offline
|
|
07-05-2008, 10:31 PM
|
#8
|
BBF Moderator
Join Date: Jun 2005
Model: Z30
OS: 10.2.1.x
PIN: s & needles
Carrier: AT&T
Posts: 34,720
|
Do you have an "Internet Browser?" Do you see EDGE at the top of the device? If so, then your data plan is active. Not sure what else to suggest.
|
Offline
|
|
07-05-2008, 10:46 PM
|
#9
|
Thumbs Must Hurt
Join Date: May 2008
Model: 8320
PIN: N/A
Carrier: Tmobile
Posts: 62
|
hmm i just noticed it said EDGE for like a couple minutes, but for hte most part it's always said UMA. not sure what that means.
|
Offline
|
|
07-05-2008, 10:49 PM
|
#10
|
BBF Moderator
Join Date: Jun 2005
Model: Z30
OS: 10.2.1.x
PIN: s & needles
Carrier: AT&T
Posts: 34,720
|
UMA means it's on wifi. You might try turning off wifi and see what happens.
UMA is Unlicensed Mobile Access. It's basically T-Mobile's VoIP.
|
Offline
|
|
07-05-2008, 10:52 PM
|
#11
|
Thumbs Must Hurt
Join Date: May 2008
Model: 8320
PIN: N/A
Carrier: Tmobile
Posts: 62
|
okay after turn off wifi, it says EDGE. I restarted just to be sure. But still no success with application.
|
Offline
|
|
07-05-2008, 10:54 PM
|
#12
|
Thumbs Must Hurt
Join Date: May 2008
Model: 8320
PIN: N/A
Carrier: Tmobile
Posts: 62
|
okay... not it appears my applicatin is connection. strange
|
Offline
|
|
07-05-2008, 10:55 PM
|
#13
|
Thumbs Must Hurt
Join Date: May 2008
Model: 8320
PIN: N/A
Carrier: Tmobile
Posts: 62
|
it just appears to be going in and/out... it will connect sometimes, and sometimes it won.t
|
Offline
|
|
07-06-2008, 02:48 PM
|
#14
|
Thumbs Must Hurt
Join Date: Mar 2008
Location: Columbia, MD
Model: 8130
PIN: N/A
Carrier: verizon
Posts: 95
|
what does your connection.open string look like? Are you using ;deviceside=true
Quote:
Originally Posted by nyte3k
it just appears to be going in and/out... it will connect sometimes, and sometimes it won.t
|
|
Offline
|
|
07-06-2008, 10:17 PM
|
#15
|
New Member
Join Date: Jul 2008
Model: 8330
PIN: N/A
Carrier: Verizon
Posts: 10
|
what about 8330
|
Offline
|
|
08-19-2008, 09:42 AM
|
#16
|
Thumbs Must Hurt
Join Date: May 2008
Model: 8320
PIN: N/A
Carrier: Tmobile
Posts: 62
|
Got a PM asking if I resolved this, so I figured i'll post what the problem was..
The issue was the APN settings on my device.
For tmobile, this value had to be set.
Options >> Advanced Options >> TCP >>
for APN, enter the following: wap.voicestream.com
username and password should be left blank.
That resolved it. A reboot may be required.
One other issue a user brought to my attention is that the application may have to have it's permissions changed to 'Allow' in order for it to work as well. (however they were on nTelus, not tmobile)
This can be done by going to Options >> Advanced Options >> Applications
highlight the application, select 'Edit Permissions' from the menu, and change Connections, Interactions, and User Data to 'Allow'. On my device, user data was already set to allow, while connections, and interactions were set to custom, but that worked for me.
Thanks!
|
Offline
|
|
08-22-2008, 06:44 PM
|
#17
|
New Member
Join Date: Jun 2008
Model: 8830
PIN: N/A
Carrier: Sprint
Posts: 1
|
HttpConnection issue
I am using a blackberry curve on a T-Mobile network. I am trying to use HttpConnection on my Blackberry application, but it always gives me "invalid tunnel name" error. When I set the APN to wap.voicestream.com, the connection works. But blackberry browser, google maps and variety of other application that uses Internet works fine without setting the APN.
So is there a way by which I can get my application also to work without setting the APN? What is applications like google maps doing special to make it work without setting APN? I am not using BES on my blackberry.
Thanks.
-Raj
|
Offline
|
|
08-24-2008, 12:28 AM
|
#18
|
Thumbs Must Hurt
Join Date: May 2008
Model: 8320
PIN: N/A
Carrier: Tmobile
Posts: 62
|
Quote:
Originally Posted by raj123
I am using a blackberry curve on a T-Mobile network. I am trying to use HttpConnection on my Blackberry application, but it always gives me "invalid tunnel name" error. When I set the APN to wap.voicestream.com, the connection works. But blackberry browser, google maps and variety of other application that uses Internet works fine without setting the APN.
So is there a way by which I can get my application also to work without setting the APN? What is applications like google maps doing special to make it work without setting APN? I am not using BES on my blackberry.
Thanks.
-Raj
|
I'm not absolutely sure why, but I did notice that when I ran into this issue. Anyone else know why? This would be interesting to know.
|
Offline
|
|
08-24-2008, 10:55 AM
|
#19
|
Knows Where the Search Button Is
Join Date: Mar 2008
Location: Paris, France
Model: None
PIN: N/A
Carrier: None
Posts: 36
|
In case this is helpful, here are the parameters I add to the URL for various configurations, which appear to be all working correctly: - Default (BES) = no string
- MDS (to force use of an MDS on the BES) = ";deviceside=false"
- WiFi = ";deviceside=true;ConnectionUID=S TCP-WiFi;ConnectionSetup=delayed;retrynocontext=true" or simply ";deviceside=true;interface=wifi"
- BIS-B = ";deviceside=false;ConnectionType=mds-public"
- TCP (requiring a correct WAP configuration)= ";deviceside=true"
I guess the configuration for "BIS-B" is the one you're looking for.
Now, I wish I could determine the right configuration programmatically instead of having the user select his/her configuration.
Last edited by nanika; 08-24-2008 at 10:59 AM..
|
Offline
|
|
08-25-2008, 12:23 AM
|
#20
|
Talking BlackBerry Encyclopedia
Join Date: Mar 2008
Model: 8310
PIN: N/A
Carrier: Airtel
Posts: 229
|
Hi nanika,
Even I am facing the same problem....
I have a gprs connection.. Can you please tell me for GPRS which configuration we have to specify?
|
Offline
|
|
|
|