Gmail weirdness - Touch HD General

I've had very bad luck with using my Gmail account on my new Touch HD so far. Anybody else had problems with this?...
Here's what I've observed:
I've installed the Gmail Java client but haven't been able to login to my Gmail account with it even once. It fails to sign on every time, saying "this program requires a working data connection". Of course, I'm sure that I'm using the correct user name and password. I've also tried entering just "username" into the first field rather than "[email protected]". Didn't change the result. Meanwhile, I can connect to the web via Opera Mobile and Opera Mini just fine and use other network-enabled apps like Google Maps. So, I do have a working connection. I've also tried turning off my data connection so that it's established from scratch on the next attempt. It didn't help. Turning on airplane mode for a little while and then turning it back off to try again didn't change anything either.
I've set up Gmail as an account in Outlook Mobile. Initially, I just used the automatic setup. It worked fine at first. It downloaded an initial set of that day's e-mails. I'm pretty sure a later send/receive also retrieved an additional messages even. But it stopped working at some point after that and, ever since then, this Outlook account hasn't worked either. It keeps showing an "error synchronizing" message on the status bar and I get a pop-up saying "cannot connect with current connection settings". There's nothing wrong with my connection settings, as I explained above. I try a website (that wasn't cached) on Opera Mobile immediately after this and it comes up fine. I've also tried a warm reset, but it didn't do anything. I've then deleted the Gmail account and created it from scratch using the manual approach explained here and on the Gmail site (starting with "[email protected]" as the fake address, and so on). Still, no go.
Meanwhile, I can login to my Gmail account via Opera Mobile on the same device (or from any desktop machine) just fine.
This is only the second day I've had this device and I had spent last night installing a bunch of applications on it (which I'm accustomed to using). Some of these were networking-related applications, too. However, I'm pretty sure that my Gmail account in Outlook Mobile was set up and was (temporarily) working after installing all those apps. So, I don't see that much chance that something I've installed might be causing the problem. (But I'll still try a hard reset and start from scratch as a last resort, if I have to.)
Is anybody else seeing anything like this? Specifically anyone who's using the Touch HD on AT&T's EDGE network, perhaps? Because, I'm beginning to wonder if I should suspect some weirdness about the network. That is partially because I also noticed another strangeness last night: The white square background of the "E" logo for the EDGE network on the Touch HD turned from a solid white to a "cross-hatch patterned" or "faded" appearance for a few hours. During that time, I couldn't connect anywhere at all. I tried a few things and some resets, but nothing changed it. That was the status last night as I went to bed. This morning, I woke up, and the logo was back to normal and all connections (with the exception of Gmail) worked fine again. So, that's why I think that strange logo was due to an AT&T network issue. Assuming that one was an AT&T screw-up, I'm now wondering if another more minor AT&T network screw-up might still be at play that prevents me only from connecting to Gmail. (Something specific to SSL connections, perhaps?...)
Incidentally, after typing the end of that last paragraph, it occurred to me to try an SSL connection. I tried the web-based mobile login page for Gmail in Opera Mobile once again. (It uses HTTPS.) It worked fine. So, it can't be a fundamental problem with SSL connections either.
Or could Gmail be experiencing some short-term anomalies with their IMAP server at the moment? Anyone seeing anything like this with them at the moment when using IMAP?
I'm completely stumped. I can't even imagine what else might be going wrong.
Any ideas as to what I should try next?

It turns out that I solved the mystery myself. For those who might have the same problem, let me explain...
The problem was that my cellular network data connection was set up to use a proxy server. I can only guess why it initially worked, which must have been because I think I did a new "connection database" download after Gmail (as an Outlook account) worked successfully for a while. I suppose the settings were correct before the connection database update, and the update must have screwed up things. (The Java-based Gmail was something I installed very late anyway, so my first attempt at using that must have been after the connection database update.)
To fix this, I needed to go to Settings -> Connections (tab) -> Connections (item) -> Manage Existing Connections -> Proxy Settings and deselect the checkbox labeled "This network uses a proxy server [...]". That fixed the problem for both the Gmail account in Outlook Mobile and the Java-based Gmail app.

Related

Direct Push - Connects & Syncs, but Inbox remains empty

I've searched and searched, but I can't seem to find anyone with this problem.
Basically, I'm trying to get my new Treo 750 to sync over wireless with my Exchange server. I run the Exchange server from my own house, on it's own domain. I've upgraded the Treo 750 to WM6. I previously did not try wireless sync on WM5. My Exchange server is 2003 SP2.
At first, I tried connecting via SSL only to get a message about the certificate not being valid. After fighting and fighting with trying to get the cert on the phone, I finally gave up and disabled SSL on the device in an attempt to connect.... via any means possible.
What I first thought was success has turned into another problem. I know I'm communicating with the server, as the policy from the domain controller made me set a device password. It was at that point that I knew I was getting somewhere. Now, when I hit "sync", I see it checking for changes. At the bottom of the screen, it'll run through each step: Contacts, Calendar, Email and Tasks.
Let me see if I can describe this..... It'll briefly pause at say... 0/80 for my Inbox, then count (very quickly, in large increments) till it hits the 80 and move on to the next item in the synchronization list. This cycle restarts after 5-10 seconds.
When I go to look in my Inbox, it's empty. The only thing I see is at the bottom: "Outlook E-mail 0 Items". Same with Contacts, Calendar, etc...
Now here's the kicker. If I send myself a test email from an outside account... say, Gmail, the sync app will then show "Email 0/81", then tick up to 81 and move on to the next item. However, nothing is downloaded. I can pull up a list of all the personalized folders I've created for my mailstore, and they're all there. I can "subscribe" to them, yet they remain empty as well.
I'm completely at a loss. I don't know what else to do at this point, and it's proving to be a difficult thing to search for. Any advice you can give would be very much appreciated....
As I said, this sync thing is happening pretty much non-stop. It'll rotate through the 4 steps (email, contacts, calendar, Tasks), wait a few seconds, then start it all over.
I've noticed that no other net apps work while this is happening. I actually have to go into ActiveSync and hit stop. After that, net applications (IM, PIE, Opera, etc...) work just fine.
Here is a (truncated) log from the device.
That looks pretty similar to the log I get from my device when I ActiveSync to Exchange. Jave you tried doing a backup and then hard resetting? I find that DirectPush is very finnicky with when it does and doesn't work but may just be my server.
Actually, to completely eliminate the device, I setup the MS WM6 emulator from a computer on an outside network. I got exactly the same thing as on the device. That pretty much tells me it's something on the server.
Here's another tidbit that might help. Before getting this phone, I setup BES Express on my Exchange server. I had problems with it working at first, and read through several guides before I had permissions working right. To this end, I made a lot of permissions-based changes on the Exchange server.
Could this be a permissions issue? How can I check if the permissions are correct?
Ok here's your problem, running another MAPI client on an Exchange server is NEVER a good idea. If you shut down the BES services and then reboot the server, what happens? Also, have you tried checking the Exchange Server event viewer for any info on what's happening server side?
Urthwhyte said:
Ok here's your problem, running another MAPI client on an Exchange server is NEVER a good idea. If you shut down the BES services and then reboot the server, what happens? Also, have you tried checking the Exchange Server event viewer for any info on what's happening server side?
Click to expand...
Click to collapse
Very good point. I hadn't even consider that. I don't even need it anymore.
That being said, what is the best way to go about uninstalling BES Express w/o jacking up the rest of the Exchange system? Also, have you ever actually heard of this causing the problem I'm experiencing? You sound pretty darn certain when you say: "Ok here's your problem". Each time I find or come up with a possible solution, it never seems to make a difference. Sure, my Exchange installation is "cleaner" and more standardized with each solution I try, but it never resolved the issue.
If you can provide me a decent guide or recommendation for uninstalling BES, I would appreciate it. Unless you have some better tips, I'm using these two pages as guides:
Perform a clean uninstall of the BlackBerry Enterprise Server
How to uninstall and re-install BlackBerry Enterprise Server on the same computer with minimal disruption
Ok, stopped all the services, uninstalled BES, deleted all related program directories, and removed all associated registry keys. Logged out of BESAdmin account and removed it from Active Directory.
I did all this from Remote Desktop, so the only thing left to do is reboot the server. I could do it remotely through command line, but it has a habit of freezing up during shut down (it's been doing it for years, doesn't seem to harm a thing). So I won't be able to reboot until I get back in town tonight.... just in case it freezes.
I have a few questions, though. Do I need to make any changes to MAPI (remove, stop, change, etc...)? I still need IMAP access for remote relatives, but I'm gonna get rid of that soon once I get them setup through the VPN.
Anything else I should remove/change?
Oh yeah, just for ****s and giggles, I tried synching again, both with the actual Treo 750 and also with a WM6 emulator on the remote server. I've also tried running the WM6 emulator from the same network as the Exchange server, just to eliminate the firewall, as Direct Push only seems to use ports 80 or 443, depending on whether you have SSL enabled or not.
Correct me if I'm wrong about the firewall ports.
Those are the same ports I have open, but much like yourself (and correct me if I'm wrong) just a casual Sysadmin. While I'm not entirely certain if BES is your issue, I'm inclined to think it may be a MAPI collision between the two. I haven't used BES myself so I can't really advise on the best method to uninstall, but I had a similar issue where my Outlook clients couldn't connect when I installed Outlook on the Exchange server. On another note, why set up VPN when you could just configure RPC over HTTP if you're running the server on Win2k3, it's probaly cut my support calls with users by aboyt 25%. If you'd like I can give you access to a server to compare it to, just PM me if you think that'd help.
I just saw that you also had IMAP open, that's definetly not going to be causing the issue, as I also have that running on my server and have people using it at this very minute. Also, have you tried checking on your device if you go into ActiveSync>Right Softkey>Options and then checking that the boxes besides Contacts, Calendars, Tasks, etc... are checked? I know it's stupid, but I've had issues like that before where I couldn't figure it out for the life of me.
Urthwhyte said:
Those are the same ports I have open, but much like yourself (and correct me if I'm wrong) just a casual Sysadmin. While I'm not entirely certain if BES is your issue, I'm inclined to think it may be a MAPI collision between the two. I haven't used BES myself so I can't really advise on the best method to uninstall, but I had a similar issue where my Outlook clients couldn't connect when I installed Outlook on the Exchange server. On another note, why set up VPN when you could just configure RPC over HTTP if you're running the server on Win2k3, it's probaly cut my support calls with users by aboyt 25%. If you'd like I can give you access to a server to compare it to, just PM me if you think that'd help.
Click to expand...
Click to collapse
I'm not 100% sure, but I don't think Direct Push uses MAPI at all, so I'm pretty sure it can't be a "MAPI collision", so to speak. I was able to completely remove BES w/o any issues. I rebooted the computer last night, just to be sure, and I'm still showing the same problem. ActiveSync connects and looks like it's synchronizing, but in the end, nothing is actually downloaded from my phone.
I really believe it has something to do with permissions. I say this, because I had a very difficult time getting BES to work. I had to mess with a lot of permissions to get mail flowing to my Blackberry. I can't be sure that I didn't goof something up in the process.
With that being said, everything else works just fine. I can use OMA. I can use OWA either HTTP or SSL (forms-based authentication disabled, of course). I can connect without issue from IMAP, or directly via Exchange over VPN, etc...
Urthwhyte said:
I just saw that you also had IMAP open, that's definetly not going to be causing the issue, as I also have that running on my server and have people using it at this very minute. Also, have you tried checking on your device if you go into ActiveSync>Right Softkey>Options and then checking that the boxes besides Contacts, Calendars, Tasks, etc... are checked? I know it's stupid, but I've had issues like that before where I couldn't figure it out for the life of me.
Click to expand...
Click to collapse
I have tried that. I've also tried changing the settings for email from 3 days, to all the other options. It will change the amount of emails ActiveSync "sees", but they still do not download to the phone.
Oh yeah, as far as RPC over HTTP goes, it's one of those "I've always used..." things.
What are the advantages of RPM over HTTP?
I'm not quite sure it's a permissions issue, because as far as I know ActiveSync only uses the standard exchange accounts/services,+ a few virtual directories. What you can try doing is deleting the ActiveSync virtual directory, and then restarting the IIS and Exchange System Attendant services and see if that helps.
RPC over HTTP alleviates the need to have to login to a VPN to check email, it also makes it much easier to configure the client, as they only have to enter their Username+Password and enter the FQDN of the server.
Urthwhyte said:
I'm not quite sure it's a permissions issue, because as far as I know ActiveSync only uses the standard exchange accounts/services,+ a few virtual directories. What you can try doing is deleting the ActiveSync virtual directory, and then restarting the IIS and Exchange System Attendant services and see if that helps.
RPC over HTTP alleviates the need to have to login to a VPN to check email, it also makes it much easier to configure the client, as they only have to enter their Username+Password and enter the FQDN of the server.
Click to expand...
Click to collapse
I deleted the ActiveSync virtual dir (which actually had a much longer name), as well as the OMA virtual dir.
Now I get this message when I try to connect. I guess I need some help on rebuilding it now... heh.
As for RPC over HTTP... brainfart. I knew what it is, but I wanted access to remote shares.
As far as permissions go, I'm pretty sure it's not the problem as well. I just created a brand new user and had the same thing happen.
Flapjack said:
I deleted the ActiveSync virtual dir (which actually had a much longer name), as well as the OMA virtual dir.
Now I get this message when I try to connect. I guess I need some help on rebuilding it now... heh.
As for RPC over HTTP... brainfart. I knew what it is, but I wanted access to remote shares.
As far as permissions go, I'm pretty sure it's not the problem as well. I just created a brand new user and had the same thing happen.
Click to expand...
Click to collapse
Did you try stopping and then starting the Exchange System Attendant and IIS services, the folders should come back automatically. If all else fails, reboot and see if the folders come back.
Urthwhyte said:
Did you try stopping and then starting the Exchange System Attendant and IIS services, the folders should come back automatically. If all else fails, reboot and see if the folders come back.
Click to expand...
Click to collapse
I know that trick, but if there is anything wrong in the metabase, it will not be overwritten.
I'll be using this guide to completely blast out and rebuild all the owa-related folders:
http://support.microsoft.com/kb/883380/en-us
Ok, I rebuilt everything using Method 2 in the above-linked guide.
Now, I'm getting support code 0x85010014
This pages says the cause is SSL being enabled on the main site, but it's definitely not. There are other vdir pages that have SSL enabled, but none of the default MS dirs... only personal ones I created for other things.
http://www.messagingtalk.org/content/479.html
Is there any chance that you have FBA enabled, if you do theres supposed to be some way that you can trick ActiveSync to use a different folder or something. It wasn't really worth it to me, so I just ended up disabling it.
Urthwhyte said:
Is there any chance that you have FBA enabled, if you do theres supposed to be some way that you can trick ActiveSync to use a different folder or something. It wasn't really worth it to me, so I just ended up disabling it.
Click to expand...
Click to collapse
That's the thing. I don't even have a certificate on the site right now. I got rid of the self-issued one, and now I'm waiting on my GoDaddy one. So I don't have FBA enabled. That's why that messages seems so weird...
Hmm, that's odd. I got the same error when I first configure ActiveSync, but now I forget what I did to resolve it. Also, is there any chance you have some sort of IM application, such as Google Talk or AIM? It's a bit easier to resolve these things if you can have a more back and orth communication then a orum post.

IE is the only app that can connect to internet.

I'm hoping someone can help me. I have an AT&T tilt. I've had it for a year with no problems. Yesterday I tried opening Opera 9.5 and it just hung at connecting to media net. I tried a soft reset, I've tried removing the batteries and reinstalling opera. The problem still persists. I tried leaving it alone to connect to media net, and found google had loaded about an hour later. Unfortunately the browser was still non-responsive. After taking a look at other programs, I discovered, Internet Explorer is the only app that works. Even messaging doesn't, it hangs while trying to connect to download mail. I tried leaving it alone like I did for Opera an found it "logging on" about an hour later, but it was hung. I've also tried turning on WiFi, but Opera still cannot connect.
From what I can see, it looks like there's an issue connecting up to the network, however, I can't explain why IE can do it, but everything else can't. Does anyone have any idea or suggestions for troubleshooting this one?
Thanks in advance.
hi,
try this opera fix.
http://www.ppcsg.com/index.php?showtopic=101958&st=430&p=749204&#entry749204
as for messager live .. good luck with that .. as far as I can see, the only solution is to do a hard reset and AVOID using the auto configurator in the email setup.
quote
" bad news for Windows live/ hotmail users is that they do not get the chance to select the network connection a windows live/hotmail account uses. On the very first part of the e-mail setup, as soon as you type in "[email protected], or [email protected]" , the account wizard completely takes over declaring that "settings found for hotmail.com". And even after you type in all your details you do not get to option to select the network connection to be used. (This is consequence of the fact that Microsoft Windows Mobile thinks it knows best how to configure microsoft based e-mail accounts for windows mobile.) The network connection that is automatically selected is called "The Internet". As you cannot select another network connection, you must edit "The Internet" connection so that it has the right settings for your particular mobile service provider. To do this"
Unquote
http://forum.xda-developers.com/showthread.php?t=304159
But the strange thing is that I cannot find The Internet connection settings. So i cannot edit The Internet networking settings. Apparently, the end user is deem too stupid to know how to edit it correctly, so it's set automatically and hidden from view. Still investigating.

Updated to Mango - Outlook won't connect

Just completed the update to Mango. No issues during update and the About screen now shows Windows Phone 7.5 (7720).
Everything seems great so far except Outlook now just says it's having trouble connecting to the server and to try again later. I've verified the server is available via a desktop web browser and my credentials are correct (plus it worked this morning before the Mango update).
Tried removing a re-adding the account - no luck.
Also tried tried entering the https webmail address right in to Internet Explorer. Says it can't open the page and try again later. Other sites are working just fine.
Live Mail and Hotmail also working fine.
Anyone else using Outlook via webmail credentials? Is it working for you?
access to my Exchange server was not affected after I upgraded to Mango. Temporarily, try to set a very basic password that you can't easily mistype on your phone. Maybe you are not entering in a character properly.
bbowman said:
access to my Exchange server was not affected after I upgraded to Mango. Temporarily, try to set a very basic password that you can't easily mistype on your phone. Maybe you are not entering in a character properly.
Click to expand...
Click to collapse
update:
Works over cell data connection. Works over home WiFi connection.
Does not work over workplace WiFi connection (worked previously).
Based on the working scenarios looks like credentials are still correct.
Hmm

[SOLVED] Help with email

I installed the GMail app on my rooted KF, and since no outgoing email will work. I have tried the following:
Email with Kindle Email app -- Will not function, says cannot find outgoing server
Email with Gmail app -- Will not function. Says "Sending Email Failed"
Email with Kindle App (Yahoo) -- Again, cannot find the outgoing server.
This has worked in the past, for a long time after my KF rooting. Any ideas on how to fix this?
have gapps installed ? allthrough it's for calendar look here:
http://forum.xda-developers.com/showthread.php?t=1481055
Have you checked system/etc/hosts to see if something put your SMTP servers in there?
Network issue....
So, the issue came down to the wireless network. I usually use my KF at the office for email, so the failures occured there. I tried this on my home network, and the KF worked without issue. Must be something with the way IT has the network setup.
horsegoalie said:
So, the issue came down to the wireless network. I usually use my KF at the office for email, so the failures occured there. I tried this on my home network, and the KF worked without issue. Must be something with the way IT has the network setup.
Click to expand...
Click to collapse
Probably locking down port 25 to prevent malware from sending spam from the internal network. Maybe? Glad it's working for you at home though!

Exchange Sync Issue and Logging

I am one of our Exchange admins here at that company.
One thing we are seeing a growing number of are Android devices throwing an error every so often when a user is syncing mail with their mailbox on our Exchange 2010 servers.
Users are able to setup the account without issues. It seems when they are connected to wifi, they will get the "can't connect to server".
Sometimes it keeps doing this, other times it syncs fine.
One of my network guys will be helping me tomorrow, but in the meantime I wanted to see if anyone else has seen this. I googled and it seems to be a common problem with no answer.
Another thing is, is it possible to turn on some type of logging for the email app? I would like to see if it throws an error in the log.
Would this be the debug logging? Sorry, I have never gatehered logs before on an android device.
I will say I saw this when i was syncing my S3 (I just stopped syncing it so I can 'unplug' when leaving work )
I'm on Exchange 2010 and don't have any issues with my Note II or 10.1. When I was on ICS a phantom "cannot connect” message would randomly pop-up but everything still worked the way it was supposed to. It went away when I updated to JB. Some folks got rid of it by clearing cache and data in the e-mail app and re-inputting their settings from scratch. I'm guessing it's a server-side security policy issue that's preventing the device from authenticating if there's no connectivity at all.
I assume you've already run this...
https://www.testexchangeconnectivity.com/
lardo5150 said:
It seems when they are connected to wifi, they will get the "can't connect to server".
Sometimes it keeps doing this, other times it syncs fine.
Click to expand...
Click to collapse
This can be caused by lack of a FQDN A record in the DNS server, resulting in the handhelds inability resolving the internal exchange server by using the external address.
Example;
Exchange server is called EXCH01 (192.168.1.10)
external webmail address is owa.somecompany.com (200.200.200.200)
Activesync on phone is configured with external webmail address.
While the phone is on the internal wifi it requests owa.somecompany.com and resolves 200.200.200.200, however most SMB/Enterprise firewalls will not easily NAT into itself.
In a proper configuration the dns server for 192.168.1.X wireless should have a A record pointing owa.somecompany.com to 192.168.1.10.
This will also address outlook anywhere issues.

Resources