10-02-2008 05:51 AM
Our application communicates with a web server to retrieve and update data. During testing we have seen an intermittent error occurring with the message "Invalid tunnel name". There doesn't appear to be any pattern to this and seems to occur particulary when wifi has been used. It feels like the device loses track of the connection type and tries to use TCP (Options/Advanced/TCP), as we don’t configure a gateway APN on the device (we’re using BIS), the connection fails.
Does anybody know why this might be occurring?
10-02-2008 10:16 AM
You can use the deviceside parameter to force the application to use a specific connection route.
What Is - Different ways to make an HTTP or socket connection
Article Number: DB-00396
10-03-2008 11:27 AM
We are using the deviceside parameter to use a specific connection route. All the devices we are testing on should be connecting via MDS or BIS-B, and the code used to determine the deviceside parameter comes from the documentation we received from RIM when we signed up to use BIS-B.
I have noticed that once valid APN settings are added in Options > Advanced Options > TCP, then this message no longer appears. But seeing as our app is not supposed to be connecting in this manner on any of our test devices, there should be no need to enter this information.
But like I said, this message is appearing intermittently so it's pretty difficult to track down exactly what's happening.
10-03-2008 04:45 PM