07-13-2009 05:05 PM
I'm using KSOAP to connect to my server, it works great on the simulator.
My APN is correct on the device, and I can connect using KSOAP just fine for the first connection.
After I connect once however, when debugging on the device as soon as I try to connect again I receive an error:
Choking Tunnel.open due to 'max tunnels' error; id=3
Eventually the previous tunnel appears to close (a few minutes) and the new connection succeeds.
I don't see a way to close a connection using the KSOAP api, reading about it it says that after it receives a response it automatically closes the connection. What should I be doing?
07-13-2009 06:29 PM
My carrier is AT&T.
I was using WAP.CINGULAR with the username WAP@CINGULARGPRS.COM and password CINGULAR1.
This was the APN that was letting me connect once and apparently only allowing one tunnel until the timeout and then it would connect again.
I'm experimenting with blackberry.net as an APN now.
07-13-2009 09:08 PM
blackberry.net doesn't work
I called AT&T, got 3rd level of tech support and they told me to use blackberry.net(orange) which doesn't work either.
Anyone else have this problem? Any ideas? I suspect I need to somehow force the connection/tunnel to close, but have no idea how to go about that.
07-13-2009 11:49 PM
Or, try the WAP settings:
Or try WAP2 (which you can get straight from the service books). See this article:
And (BTW) this info (and other valuable info regarding communications) is all in Peter's sticky thread on the front page of this forum.