Connection fails after coverage loss during data exchange - Networking

Hello, all!
I'm writing a program which is supposed to work in background and synchronize data with server. I'm facing a problem which seems to appear on all 2002 and 2003 Phone Edition devices we have in the company (but not on Smartphone devices). The scenario is as follows:
- I establish a new connection via Connection Manager API.
- I start exchanging data with server using HTTP protocol.
- At some point GSM coverage is lost (for example I'm travalling in subway) and my HTTP request fails. I stop data exchange and schedule a retry sometime later.
- Coverage is good again, my program tries to reestablish the connection but this always fails.
Looks like the device gets into some state where radio stack is corrupted because other programs (such as PIE) cannot establish a connection as well and phone calls are no longer possible. On the other hand, cradle connection to Internet works just fine. Only soft reset helps to bring the device out of this state.
Also, looks like data exchange is not necessary to reproduce this problem - open GPRS connection is enough.
Any idea why this happens and how I can walkaround this? Thanks!

Related

Why can't some apps establish a gprs/umts connection ?

When I use total commander's ftp client to connect to an ftp server , total commander itself is not able to establish a gprs/umts connection. I must already be connected (for example open pocket ie before I start ftp) to get it to work. This strange behavior I have also seen in other applications (i.e. pocketirc cannot connect to an irc server if I don't start pocket IE before). Why is that so ? And what can I do about it ?
I had the same problem when I started using ThunderHawk. I had to open Pocket IE to get a connection, close it and then open ThunderHawwk.
Using the always-on GPRS in the wiki (http://wiki.xda-developers.com/index.php?pagename=Universal_Registry) solved that issue for me.
Hopefully, that will work for ftp, as well. Let us know.
Boinger
what does that always on registry hack REALLY do ? Does that mean my phone will have a constant GPRS connection ? Does that not mean I must not forget to disconnect manually when I close the phone? Will that not increase the traffic ?
It is kind of an all or nothing deal. If you have ANY programs that can access GPRS data, this hack will allow it. Also, be aware that if you manually disconnect, the connection will automatically re-establish 5-10 sec later while using this hack.
As an example, I use PocketWeather, which I have setup to update every hour. It will update using GPRS if it is not Activesync-ing, every single hour of every day. If you have to pay for data by the amount used, it may not be attractive. I have an unlimited use plan through T-mobile USA for $20/month, so I just don't have to worry.
Other than this hack, I believe you will have to connect the hard way.
Strangely enough, my old PDA phone (hp 6315) would connect just fine with ThunderHawk. It also had a choice under the taskbar 'Connectivity' pop-up bubble for 'GPRS (T-Mobile)' that I could use to easily connect or disconnect. My Jasjar only lists 'T-Zones GPRS (GPRS, 3G)' in the pop-up only when it is connected. So, I suspect that the issue is either with WM5 or T-Mobile added something to the ROM of the 6315 to make it more functional with their network.

DirectPush via Wifi instead of cellular-line - AUTD

I have just updated my wizard to the newest Qtek-ROM (186504-ruu_9100_2170702_21707102_20710_qtek_wwe_ship.exe) with AKU2/MSFP and DirectPush. Everything works fine when I am using a cellular-line.
As soon as I change to a Wifi the ActiveSync tells me the error 85020013: "Your current sync schedule requires a cellular data connection. Please set up a cellular data connection as described in online Help or change the sync schedule." Whats that :evil:? Is there a way to setup DirectPush with a Wifi-connection?
As far as I know Directpush works only with GPRS not via Wifi.
If you disable directpush in your active sync it can connect via WIFI and your error will be gone.
It will sync by wifi even if directpush is enabled but this error will come back every time it sync's according to its schedule.
But your device has to be switched on for this.
Cheers,
Drifter
I had the same question for days.....
Every peace of information you read about microsoft Direct Push says it's possible to sync using gprs AND wifi.
But.... as soon as direct push is enabled and only wifi is available the dreaded error appears.
It doesn't make sense..... wifi is, just as gprs is, a normal IP connection which supports the heartbeat signal en HTTPs notification.
Perhaps someone could clarify this matter
I can try.
Possibliity one:
Its got something to do with the legal IP address associated with the Wizard. This address is crucial to the "always on" connection since there's an IP socket associated with it for port 443 (or 80 if you don't use HTTPS) on the FrontEnd Exchange server. If the IP changes, then the connection is dropped and has to be re-established. That in itself is no big deal, but I believe that there is no mechanism in place to notify Direct Push on the Wizard that this has happened.
(more likely) Possiblity two:
There must be some low-level tie to the Direct push app from the GPRS connection that allows it to function when the device is in standby mode. Have you ever noticed that your WiFi connection is dropped when you place your wizard into standby mode by pressing the power button?
Yep.... i've noticed the WIFI standy but it still would be nice te recieve pushed mails as soon as i start using the wizard.
All this without having to do the manual operations.
Perhaps something for the future.................
@Sleuth255: I am convinced that possibility two is the right one.
Wifi takes a lot of power (at least with my wizard it seems so) and so they don't let it on when the device is in standby (you are right). Switching off GPRS or GSM wouldn't be so clever for a phone so this is probably the reason for making DirectPush only work with a cellular connection.

Blackberry Connect Behaviour

Questions for people using the blackberry connect software:
I want to sign up for cingular's blackberry service, especially since I am overseas more often than not for work.
(Some of these are questions, some are assumptions. just trying to get some info )
My question(s) are:
1) Blackberry connect acts as your internet connection, right?
2) Does anyone use it and get a UMTS connection instead of GPRS?
3) Does your hermes act like it has a normal connection? (in other words, if I turn on Blackberry connect, can I use other progs which use that net connection - say Flexmail 2007 or IE or somesuch)
4) Does the blackberry stuff use the existing calendar /addressbook programs on the hermes, or does it use it's own? (assuming it's own)
Thanks for the help. Wondering if I can sign up for the blackberry service and basically get a flat fee rate on data when I am in Europe, etc.
derrumbe said:
Questions for people using the blackberry connect software:
I want to sign up for cingular's blackberry service, especially since I am overseas more often than not for work.
(Some of these are questions, some are assumptions. just trying to get some info )
My question(s) are:
1) Blackberry connect acts as your internet connection, right?
2) Does anyone use it and get a UMTS connection instead of GPRS?
3) Does your hermes act like it has a normal connection? (in other words, if I turn on Blackberry connect, can I use other progs which use that net connection - say Flexmail 2007 or IE or somesuch)
4) Does the blackberry stuff use the existing calendar /addressbook programs on the hermes, or does it use it's own? (assuming it's own)
Thanks for the help. Wondering if I can sign up for the blackberry service and basically get a flat fee rate on data when I am in Europe, etc.
Click to expand...
Click to collapse
1. BB Connect uses your internet connection.
2. BB Connect only connects while under a GPRS/GSM/EDGE connection. In other words, you will need to force your connection or while in a GPRS area to use GSM only. You can do this within the connection Band settings.
3. You can use the internet connection from any program while BB Connect is running. However, Since BB Connect is a lower priority connection, applications like pIE, etc. will take a higher priority over BB Connect and force the BB Connect client to idle while it waits for the connection. This is an automatic process.
4. BB Connect will uses the built in PIM applications (Pocket Outlook, etc.)
Cingular has a few Blackberry plans including a unlimited plan.
thanks for the response.
So that doesn't sound as good as I was hoping.
I was hoping that Blackberry would be a conduit for the rest of my applications to use, instead of being one of many apps using one network connection.
So much for cost savings and/or surfing the net via blackberry connect.
derrumbe said:
thanks for the response.
So that doesn't sound as good as I was hoping.
I was hoping that Blackberry would be a conduit for the rest of my applications to use, instead of being one of many apps using one network connection.
So much for cost savings and/or surfing the net via blackberry connect.
Click to expand...
Click to collapse
I am assuming I understand your connection question. BB Connect is no different then other applications that use a internet connection. BB Connect uses the internet connection to connect and pull down mail. Other apps don't use BB Connect to get a connection. If you have a BB plan, that will allow you to have a connection not only for email, but for any app (i.e. Internet Explorer)
hmmm... interesting point.
What you are saying is that from cing's point of view, my device would be a "blackberry" although it would actually be a hermes.
What I would have to figure out is if cingular filters out connections so that you can only connect to the blackberry server....
derrumbe said:
hmmm... interesting point.
What you are saying is that from cing's point of view, my device would be a "blackberry" although it would actually be a hermes.
What I would have to figure out is if cingular filters out connections so that you can only connect to the blackberry server....
Click to expand...
Click to collapse
That's correct. Cingular has no idea nor cares what device you are using. They actually sell devices like the Nokia E62 (BB Connect preinstalled) and Treo 650 which has the BB Connect software available for download.
brmcguire said:
1. BB Connect uses your internet connection.
2. BB Connect only connects while under a GPRS/GSM/EDGE connection. In other words, you will need to force your connection or while in a GPRS area to use GSM only. You can do this within the connection Band settings.
Click to expand...
Click to collapse
Interesting, so BB Connect or the BB network is not compatible with UMTS? What are the symptoms BB Connect displays when UMTS is active?
I played around with this yesterday on cingular USA, but could not get the Connect software to connect, instead it would say network available then fall back to "suspended by user". BIS account creation wouldn't recognize my PIN&IMEI combo.
Thought this was a show stopper, but perhaps it's not.
Thanks
yeah, it only works with GSM - you have to force the band away from utms.
if you go over on howard forums and look in the cingular section, you can find info - I think that I saw that error mentioned....
mooney6023 said:
Interesting, so BB Connect or the BB network is not compatible with UMTS? What are the symptoms BB Connect displays when UMTS is active?
I played around with this yesterday on cingular USA, but could not get the Connect software to connect, instead it would say network available then fall back to "suspended by user". BIS account creation wouldn't recognize my PIN&IMEI combo.
Thought this was a show stopper, but perhaps it's not.
Thanks
Click to expand...
Click to collapse
When BB Connect is fully connected to the BES/BIS it will display 4 dots. For some reason, and I don't know why is that the BB Connect client doesn't like a UMTS connection. It might have todo with how GPRS/GSM holds a connection. Here is a handy link for connection status indications.
As far as the BIS registration, you will need to create a NEW account on the Cingular BIS site. Then you will be able to register your device and BB Connect.
http://www.dopodasia.com/resource/sea/bbc_web/connection.html
derrumbe said:
3) Does your hermes act like it has a normal connection? (in other words, if I turn on Blackberry connect, can I use other progs which use that net connection - say Flexmail 2007 or IE or somesuch)
Click to expand...
Click to collapse
No personal experience, but folks on HoFo say BB Connect is killing the internet connection for other programs like PIE:
http://www.howardforums.com/showthread.php?t=1044755
Richard
rsolomon said:
No personal experience, but folks on HoFo say BB Connect is killing the internet connection for other programs like PIE:
http://www.howardforums.com/showthread.php?t=1044755
Richard
Click to expand...
Click to collapse
Hi there, sorry to be so unspecific, but at least I wanted to share my experience
German O2 XDA/HERMES recent, used in Belgium with a Company BB service from Proximus, using BB connect 2.16 usually via UMTS, but when roaming also via GPRS; never forced it to GSM.
It is very slow! so you need to be patient; 1 min waiting until everything has re-connected is not unusual.
I remember that I had the same issue of BB Connect monopolizing the internet connection so that Skype not even started and IE was not able to connect to the internet neither.
After a cold reset and re-installation of everything it works now to expectations:
BB C is usually always on and on UMTS
When starting IE, a pop up apprears saying, connecting to ...
that's when BBC goes 'offline' Symbol :!
I can then surf the Internet
You must TERMINATE IE, not just leave it running in the background
After some time, BBC will automatically re-connect. If you try to speed up, it will complain that the connection is still blocked by another program.
I believe that BB C creates another hidden connection which is not visible in the connection folder, but if you use fit4cat, there is a tweak for 'force connection always on' and there I can see Blackberry as connection
I did not notice any handling difference between UMTS or GPRS.
HOWEVER
I have another problem as following:
I carefully checked the BB C services, but I cannot get any synchronisation of deleted mails, neither when I deletem them on the Desktop, nor when I deleted them on the Mobile.
Any experience with that ??
Rgds
hk.
I'm using BB Connect with a Vario II on TMUK.
When BB Service is on, I am connected through the blackberry.net APN, but via UMTS. If I want to browse, check POP3 email or do anything else, I have to be connected through the TMUK Internet Access Point, which is how I access Web 'N Walk and my unlimited data allowance. This, of course, interrupts my BB connection.
I believe it should be possible to use the blackberry.net APN for web-surfing as well because on RIM devices, all data goes through the BB APN. However, if I try to manually set up a new connection with the blackberry.net APN and route data traffic through it, it doesn't work.
So, not quite sure, but it should be possible to use the blackberry bundle on whatever network as the conduit for data traffic that one of the posters here was referring to - might just need a chat with tech support at your network.
Dave
other post says BBC does not support MDS, so you cannot surf using blackberry.net (not sure what MDS is, but guess it is in a real BB)
also can confirm that I have to suspend the Blackberry GPRS/EDGE connection before IE and POP3 mail will work - both GPRS connections (Blackberry and normal GPRS) are active, but the Blasckberry one seems to have priority
using HTC P3300 and TMO BBC client 2.1.2.31
ive been using BBConnect on both the XDA Exec and the V1605 for well over a year, it will connect to the BB Server using whatever PHONE network band is available e.g. UMTS if in a good Vodafone signal area or it will step back to GPRS if it doesnt, there are issues when roaming on other networks which will not pass through the BB connection so for example when in Germany on a supposed Roaming Partners network BB doesnt connect. I just have to force the Phone to try to connect to VF which then obviously works albeit a low speed connection. as for using PIE whenever I try to connect it disconnects the BB Connection and connects again using the VF connection, I agree this is a bit @rse as you would have thought the applicaitons could see that there is a usable connection there and should therefore utilise it..
If anyone knows of a registry setting that can be modified to fix the connection hopping I would be interested.
Problem with BB C on Tytn
Hi, I downloaded the BB c software from Voda.de, and installed it onto my Tytn with WM5. the instalation and registering to the network was fine.
but I cant do e-mail set up... it's grayed out and I cant click it...
I also tried registering/creating an account through mobileemail.vodafone.net,
but to no avail. after I input IMEI and PIN, then create Usename and password, I get the notice, "The system has encounted an error".
I thought I might have wrong software, and to keep things simple I put WM6(Official rom from HTC) into handset, then put BB C 4 for WM6, (again from Voda.de) but to no avail. same situation.
the phone connects to BB GPRS/3G, it shows PIN, IMEI, IP.
so connection wise there doesn't seem to be problem.
but cant create an account...
anyone come across same problem??
I've been trying to figgure this out for like three days now.
Thanks to those who'll give me advice!!
BR
Timmy-Boy
Timmy-Boy said:
Hi, I downloaded the BB c software from Voda.de, and installed it onto my Tytn with WM5. the instalation and registering to the network was fine.
but I cant do e-mail set up... it's grayed out and I cant click it...
I also tried registering/creating an account through mobileemail.vodafone.net,
but to no avail. after I input IMEI and PIN, then create Usename and password, I get the notice, "The system has encounted an error".
I thought I might have wrong software, and to keep things simple I put WM6(Official rom from HTC) into handset, then put BB C 4 for WM6, (again from Voda.de) but to no avail. same situation.
the phone connects to BB GPRS/3G, it shows PIN, IMEI, IP.
so connection wise there doesn't seem to be problem.
but cant create an account...
anyone come across same problem??
I've been trying to figgure this out for like three days now.
Thanks to those who'll give me advice!!
BR
Timmy-Boy
Click to expand...
Click to collapse
try this....
1) Change device ID, from Start -> Settings -> System -> About -> Device ID to HTC_TyTN
2) Edit your registry: HKLM\System\Versions\AKU key, change the key from (1.0.0) or whatever in there to .0.4.2
lve0200 said:
I have another problem as following:
I carefully checked the BB C services, but I cannot get any synchronisation of deleted mails, neither when I deletem them on the Desktop, nor when I deleted them on the Mobile.
Any experience with that ??
Rgds
hk.
Click to expand...
Click to collapse
As he mentioned above I have the same problem. For regular Blackberry devices they give the advice to check the options on the messaging screen and there is setting to choose delete on handheld, both, or prompt, But I could not find any such setting in the BB client for WM6.1
BB Client is 4.0.0.97, desktop software is 4.0.0.18
Any advices?
!!! SOLVED !!!
1. Tap Start > Settings.
2. Tap the System tab.
3. Tap the BlackBerry icon.
4. Tap the Services tab.
5. Tap the BlackBerry [CMIME] service book
6. Tap the Synchronization tab.
7. Select the Enable Wireless Synchronization check box.
8. From the Conflicts drop‐down list, tap an option.
9. From the Delete on drop-down list, tap an option.

Logmein.com "Mismatched IP Address" (Solved)

Found the problem!
This problem was being caused by the Blackberry Service on my device. In further investigation I discovered that whenever the Media Net connection goes stagnant the Blackberry connection would reestablish & try to check for new emails. The new BIS connection would change my IP to communicate with our Enterprise Server & of course subsequently, Media Net was killed. When I would try & re-establish my logmein connection it would report the new IP which was hung on Blackberry instead of being reset by Media Net & would report as Mismatched for security reasons.
The solution:
Whenever I need to do some work on my desktop remotely I now suspend the Blackberry Service & have now had no problems with logmein, even through reconnects.
Thanks for all the IM's & emails, there were some interesting ideas
_________________________________________________________________
For years I used logmein with verizon's network without problem. But now I'm AT&T & every time my connection resets I get an error stating "Mismatched IP Address" causing me to have to shut down PIE & start over again.
I have read about a broken proxy fix meant for other client laptops & pc's. I have imported my own"broken proxy" reg.value into logmein security registry settings on my Kaiser. However, every time I lose connection, I still have to start over. Anyone else have this error before?
I'vd tried everything I can think of. Any help?
Thx!
i believe it has to do with using wifi instead of edge/3g. I had the same problem when i logged on with edge and then tried to access my computer with wifi after already logging in to the system. I dont know of this will help but i just relogged in and accessed the pc using the same connection type.
negative, it happens using 3G, edge, gprs, etc.
I thought maybe I could enter an IP in connection settings but then I can't connect period.
Hi, I know this is an old thread, but I'm getting the same error message on my HTC Touch HD (Win Mo 6.1) - any ideas as to how the specified solution could be applied to my device?
Thank you.

How to keep GPRS connection alive

We have a WinMob application that sends and receives data over GPRS; and it works.
The problem we have occurs when the vehicle based PDA goes into an area of poor reception and WinMob thinks the data connection is working but no data is being transmitted. The application currently issues a disconnect request to the WinMob connection manager but WM6.* keeps the data connection.
We would like the PDA to drop the data connection and re-connect automatically when the application resumes data transmission after a short programmed delay.
We have tried changing the PDA's registry setting from ~GPRS! to GPRS_bye_if_device_off and setting a (90 second) timeout and this works. Except that even though the PDA issues a UDP packet to one of our servers every minute to keep a push link alive, WinMob ignores this packet and drops the connection ~100 seconds after connecting.
What do we need to receive/transmit to convince WinMob that the data connection is active? DO we need to issue a http get request after sending the UDP? We don't want to send/receive more data than we need (large phone bills!).
keep alive
tracktrans said:
We have a WinMob application that sends and receives data over GPRS; and it works.
The problem we have occurs when the vehicle based PDA goes into an area of poor reception and WinMob thinks the data connection is working but no data is being transmitted. The application currently issues a disconnect request to the WinMob connection manager but WM6.* keeps the data connection.
We would like the PDA to drop the data connection and re-connect automatically when the application resumes data transmission after a short programmed delay.
We have tried changing the PDA's registry setting from ~GPRS! to GPRS_bye_if_device_off and setting a (90 second) timeout and this works. Except that even though the PDA issues a UDP packet to one of our servers every minute to keep a push link alive, WinMob ignores this packet and drops the connection ~100 seconds after connecting.
What do we need to receive/transmit to convince WinMob that the data connection is active? DO we need to issue a http get request after sending the UDP? We don't want to send/receive more data than we need (large phone bills!).
Click to expand...
Click to collapse
I use android emulator to ping a google
eg ping google.com
Terminal emulator app for android keeps connection alive. Go to playstore and get it
Sent from my GT-I8260 using XDA Premium 4 mobile app

Categories

Resources