[Q] Email app won't connection over WiFi (IPv4) - Galaxy S 5 Q&A, Help & Troubleshooting

I have a brand spakin' new Verizon Galaxy S5 I got from Amazon a couple days ago. I have it connected to my Gmail account, and that's working like a charm. It looks like everything is working fine, except this strange issue:
I've setup my business email address on the device (the email is self hosted from a CentOS server running Postfix + Dovecot for authentication), and the app refuses to connect over WiFi (but works just fine when I'm connected to 4G).
Checking the "Incoming" and "Outgoing" settings, all it tells me is that it's "Unable to connect to email server to verify your account information. No response from server."
I've gone to "whatismyipaddress.com" to verify that the IP address (IPv4) is the same on the phone as it is on my laptop computer (which connects to the server perfectly fine). I've also double checked port settings and server name, and can confirm that every server setting is identical on the phone as it is on laptop.
Tailing /var/log/maillog on the server, I don't even see the phone attempting to connect, so this is either a firewall issue on the server (unlikely), or a wonky setting on the phone that is somehow preventing it to talk to the server.
As I mentioned, the phone connects to the server perfectly fine over 4G. The only difference I can see is that the phone has an IPv6 address over 4G, and an IPv4 address over WiFi.
Thoughts?
(Oh, and I may be unable to respond for a while - I possibly won't check back on this thread until Monday, Eastern Time).

hi moogly, ur ip address on ur phone should not be the same as ur laptop(pls correct me if im wrong)......
i suggest u to try to change ur wifi settings on ur phone to DHCP instead of static, same goes to ur laptop.

When I said that the phone's IP address was the same as the PC's, I was referring to the public IP address. You're correct that the private IP address should be different, but when the phone is connected to Wifi, it should have the exact same public IP address, as its internet connection is going through the same router as everything else on the network.

It seems that my problem has resolved itself.
After turning Wifi off and back on a number of times, and removing the email address completely and adding it back in, I noticed that if I selected "Accept All Certificates" underneath Security type, the emails would flow just fine, whereas when I selected SSL or TLS without the "Accept all certificates" option, the emails wouldn't work.
Now, to root my old Galaxy S3 (as a practice round), and then root this Galaxy S5!

Related

ActiveSync - "Unable to obtain a server-assigned IP&quo

Hiya.
When I'm syncing my Wizard (O2 Mini S) with XP SP2 via the USB cable, I've started getting a dialog popup upon connection which says:
Code:
Pocket PC Networking
Unable to obtain a server-assigned IP address. Try again later or enter an IP address in network settings.
I click ok, and the box disappears, and it seems to sync okay. So it's not a big problem, but I just wondered what exactly it's complaining about.
Cheers muchly.
Rolo.
I got that, too. No idea why, though.
Me to although sync works fine??
i think it's referring to internet through activesync. i was getting the same thing when trying to connect to my router so i went to network adapters in network cards and set a static ip for my device.
in the network adapters page there's an adapter called asyncmac.... maybe if u set a static ip for that adapter u'll stop getting that error
fone_fanatic said:
i think it's referring to internet through activesync. i was getting the same thing when trying to connect to my router so i went to network adapters in network cards and set a static ip for my device.
in the network adapters page there's an adapter called asyncmac.... maybe if u set a static ip for that adapter u'll stop getting that error
Click to expand...
Click to collapse
I have the same problem. Setting the asyncmac to static IP did not help.
Anyone that has another suggestion on how to solve this.
My kjam started to do this. I know what I did: I went into the Settings/Connections/Network Cards/Network Adaptors/Remote-NDIS Host and it would not let me out without setting something up so I set it to "User server assigned IP address". I then started to get this message.
Something killed the cat...
I then changed it to "Use specific IP address": 169.254.2.1/255.255.0.0
as was listed on another site. The proble went away..OTOH, I'm not
sure what I messed up in doing this..everything seems to be working.
-Michael.
still got problem
mjohns said:
My kjam started to do this. I know what I did: I went into the Settings/Connections/Network Cards/Network Adaptors/Remote-NDIS Host and it would not let me out without setting something up so I set it to "User server assigned IP address". I then started to get this message.
Something killed the cat...
I then changed it to "Use specific IP address": 169.254.2.1/255.255.0.0
as was listed on another site. The proble went away..OTOH, I'm not
sure what I messed up in doing this..everything seems to be working.
-Michael.
Click to expand...
Click to collapse
I tried the same but it seems I still got problem....is the IP number you reported the same for everyone?
I took the listed IP on blind faith... One other thing I've changed in activesync is to set up a dummy server so that it doesn't start up by itself as quoted below from howard-forums at http://65.254.44.186/showpost.php?p=6156473&postcount=3
I ddid this and the ip change at the same time. Might be worth a try.
-Michael.
Quoted of post by Koksie on Howard-forums:
I had the same on my T-Mobile Vario untill I did the following: In ActiveSync go to menu-server configuration. Put in a server name ( just invent one, does not have to be a real one) and tap next. Leave everything empty and tap "advanced". Do not change the values in the boxes and tap next. leave all the boxes empty and tap finish. Then go to Menu-Schedule and put both boxes on manual. On my Vario it worked, ActiveSync does no longer activate itself every x minutes to try sunchronizing with an exchange server, which is what causes the spontaneous periodical activation of Active Sync.

Unable to obtain Server Assigned IP address

I recently returned from abroad when I connected to the LAN at the hotel I was staying in. However, after coming back I have been unable to connect to my office LAN through my laptop using the USB or WiFi. I can activesync, and the network connections show that I am connected. However, the IP address is not one that is recognised on the office system, which is why I believe I’m getting this strange error. I have server assigned IP address ticked and the address is assigned by the DCHP.
When I try to connect via the WiFi, the automatic IP address is off the wall with letter and numbers in the address; usually it should be only sequence of numbers. I have tried soft re-setting several times but to no avail.
Can anyone help, easy instructions please. I have only had the unit for a couple of months and am nervous of in depth tweaks and hacks.
Sorry if this should be in the general networking section. I posted here cause I thought it may be a wizard specific problem

email issue on MDA Vario

Hi, I hope you guys can help me.
I've had my MDA vario for about a week now, and ever since I got it, I cannot for the life in me get it to connect to my IMAP server using the built-in email client.
I done lots of testing stuff, which basically comes down to this:
networking/wifi is connected and working. I got an IP address from my DHCP server
I can ping the server's IP and receive information back
I can connect to the IMAP server using Qmail
but When I use the exact same connection details in the built in client, it doesn't work saying "unable to connect to the incoming mail server. Verify that your login information is correct, then try again to send and receive mail."
The other strange thing is, If I try connect to the mail server from outside my network, e.g. from my work's internet connection, entering my external IP, it works fine.
I've also checked out the server logs, and it doesn't seem to register a connection AT ALL.
so in short, the problem only occurs when connecting to my mail server from my local network, using the built in client.
Any ideas? is there a log file(s) I can check for any details of why it's not working?
I look forward to your replies.

VPN connection grabs multiple IP addresses

Hi,
I'm having trouble with my MDA Vario III / HTC Kaiser running WM6.0 when making a connection to my office VPN (PPTP). I have to connect to the VPN to access the Exchange server. However, my IT people tell me that the phone is grabbing multiple IP addresses, so many that they have to eventually kill my access to the VPN.
I stopped using Direct Push, but even when the phone is scheduled to connect every 15 mins, the problem still occurs.
Can anyone suggest what's going here, and what the solution might be?
Thanks,
Jon.
Something seems to be wrong with your networking drivers on your phone. Mine doesn't grab multiple IP addresses just one and it keeps getting the same one in accordance to lease time settings on my DHCP Server and Firewall.
Thanks - your reply set me thinking, so I dug into the registry. The key relating to the VPN connection had 'EnableDHCP=0', this despite the fact that the connection is set to 'Use server-assigned IP address'. I've manually set it to 1, and I'll test tomorrow when I can talk to my IT people.
This is a real headache. The problem seems to be that the VPN connection refuses to use DHCP, even when I toggle the registry setting that I mentioned. If anyone has any ideas I'd like to hear them.

remote desktop problem

Hi everyone,
I would like to connect to my laptop next room from local network. I can connect perfectly when I type in my IP address into the first textbox (Computer), but I can't connect when I type in my Computer Name (full computer name) instead. I tried MyPCName as Computer, \\MyPCName as Computer, forwarding port 3389 to my IP, leaving domain name empty, putting in my workgroup name as a domain, putting in my computer name as a domain, putting in myPCName\MyUserName as Username, \\MyPCName as Computer, still the same. It won't connect unless I put in the IP address. I would like to do this since my workplace assigns a different IP to my laptop then I assign at home, but naturally I have the same computer name at both places, so I would like to have a permanent setting for both places.
I'm running Windows 7 64 bit on my laptop and 1.66.405.2 ROM on my HTC HD2.
Many thanks in advance.
can you connect to it ok using another computer? might be a dns issue at a guess...
I can connect from other computers fine. Also on my HD2 I can see the host names of PC's under Resco Explorer and map them. However, remote desktop mobile refuses to work with the Computer Name. I can ping my Laptop's IP and also Computer name from pingbox2. Only in Remote Desktop Mobile there is a problem.
windows 7 by default blocks remote desktop connections from different versions of remote desktop. if you right click computer and select properties, then choose remote settings on the right hand side and select the middle option (accept connections from all verions of remote desktop). havent tried this my self but it solves most issues when using different versions of windows
OK, I sort of figured it but would still appreciate some help. Here is how I got it to work:
I had OpenDNS IP under DNS settings for wireless adapter. I deleted them. If I don't do this, pinging my computer name from HD2 always brings 67.215.65.132, which is opendns and not my true local IP, i.e. 192.168.x.x. I also had to disable the data connection (3G) and only have wireless. If I don't disable 3G, I can only connect with IP and not computer name. Only after doing these 2, when I pinged my computer name, I got the true local IP and I was able to connect with Remote Desktop Mobile using computer name. Now my question is:
1- I don't want to quit using opendns, is it possible?
2- I don't want to disable 3G connection every time, is it possible?
thanks in advance.
For me it works with MyPCName in computer and empty domain, both for XP and 7.
Something seems strange with your phone's networking configuration. At a guess (and this is a long shot), I would check your VPN settings on your phone to make sure you're not connecting to a different domain over 3G as this might explain why it works when you turn off the data connection on the phone and why it works by IP address.
As I said though, it's a long shot and is the only thing I could think of that fits your particular symptoms...
ozkaya said:
OK, I sort of figured it but would still appreciate some help. Here is how I got it to work:
I had OpenDNS IP under DNS settings for wireless adapter. I deleted them. If I don't do this, pinging my computer name from HD2 always brings 67.215.65.132, which is opendns and not my true local IP, i.e. 192.168.x.x. I also had to disable the data connection (3G) and only have wireless. Only after doing these 2, when I pinged my computer name, I got the true local IP and I was able to connect with Remote Desktop Mobile using computer name. Now my question is:
1- I don't want to quit using opendns, is it possible?
2- I don't want to disable 3G connection every time, is it possible?
thanks in advance.
Click to expand...
Click to collapse
about the open dns issues, I suspect that can be solved by making sure your router lets the incoming connection into your home network (you say it resolves to 66.whatever when open dns is used, shouldn't be a problem do long as you don't forget that will be your home ip address so that connection will neef to be allowed through the router and then forwarded by your routers virtual server (our whatever your router software calls out) to your laptops internal ip address.
as for the 3g it should use wifi over 3g by default..... mine certainly does, no need for me to disable it.
tomallen35 said:
Something seems strange with your phone's networking configuration. At a guess (and this is a long shot), I would check your VPN settings on your phone to make sure you're not connecting to a different domain over 3G as this might explain why it works when you turn off the data connection on the phone and why it works by IP address.
As I said though, it's a long shot and is the only thing I could think of that fits your particular symptoms...
Click to expand...
Click to collapse
I think you're right, when the 3G is on (and also Wifi on), Resco shows computers from all around the country when I click computers near me and not my local network. When only wifi is on I can see my local computers. 3G probably has precedence over Wifi? How can I correct this?
samsamuel said:
about the open dns issues, I suspect that can be solved by making sure your router lets the incoming connection into your home network (you say it resolves to 66.whatever when open dns is used, shouldn't be a problem do long as you don't forget that will be your home ip address so that connection will neef to be allowed through the router and then forwarded by your routers virtual server (our whatever your router software calls out) to your laptops internal ip address.
as for the 3g it should use wifi over 3g by default..... mine certainly does, no need for me to disable it.
Click to expand...
Click to collapse
But the 66.whatever address is generic openDNS lookup IP and same for everyone. Are you suggesting me to route this IP to my local IP, i.e. 192.168.x.x? Oh, one more thing, I can also connect when 3g and wifi are both on, but only through computer's IP and not computer name. Can you connect with computer name while both are on and connected?
when your phone does a dns lookup on the name it resolves to the open dns assigned address (not the same for everyone, otherwise the open fns system wouldn't work) so to connect to your computer the phone sends its request to open dns who forward that request to your current actual address.at home that address is your home ip address BUT it isn't your laptops address it is your routers address.(stop reading here if you don't have a router).
so the router needs to be told "if you get a connection request in port (whatever the remote desktop port is) please forward it to (laptop ip address)
its called port forwarding in some routers, virtual server in others.
samsamuel said:
so the router needs to be told "if you get a connection request in port (whatever the remote desktop port is) please forward it to (laptop ip address)
its called port forwarding in some routers, virtual server in others.
Click to expand...
Click to collapse
You're mixing up things a bit - he's not using dns but the computer netbios name. The point is that he has wifi on and connected as well as 3G, thus with an "intranet" ip address on Wifi... so the program/phone should be looking up the name on that connection, where it would find it, instead of looking up over the 3G connection. As the netbios protocol is not routable, it has no chance of finding the computer name over 3G/internet and back home, even with port mappings.
kilrah said:
You're mixing up things a bit - he's not using dns but the computer netbios name. The point is that he has wifi on and connected as well as 3G, thus with an "intranet" ip address on Wifi... so the program/phone should be looking up the name on that connection, where it would find it, instead of looking up over the 3G connection. As the netbios protocol is not routable, it has no chance of finding the computer name over 3G/internet and back home, even with port mappings.
Click to expand...
Click to collapse
you're totally right, I have a router and its port is forwarded to my laptop IP, but this is only good (and works well too) when I want to connect from Internet to my local network. I tried OpenDNS exceptions for VPN and defined an exception named as MyComputerName but it didn't work. Then I tried a dyndns solution, but it only works for external connections and not local network, i.e. it can't map local IP's. What I need is a dynamic client which can update my local IP.
I also tried to edit hosts entry in the registry with MyComputerName. It works for a single IP, but I'm not sure if I can write multiple IP adresses (my work and home local IP) into that. If I could maybe everything would be OK.
I've just tried a couple of things and it really works fine for me. If I connect Wifi only, I can remote desktop with the computer name. If I then connect data connection, it still works. Disabling wifi and obviously it doesn't work anymore. Re enabling wifi, it doesn't work at first, but does again after ~30 seconds once the netbios protocol has done its host lookup procedures.
There simply shouldn't be anything special to do.
kilrah said:
I've just tried a couple of things and it really works fine for me. If I connect Wifi only, I can remote desktop with the computer name. If I then connect data connection, it still works. Disabling wifi and obviously it doesn't work anymore. Re enabling wifi, it doesn't work at first, but does again after ~30 seconds once the netbios protocol has done its host lookup procedures.
There simply shouldn't be anything special to do.
Click to expand...
Click to collapse
thank you very much for your time, I appreciate it. You're right in that waiting a bit resolves the issue (it's a bit more than 30 secs for me that's why I thought it wasn't working when 3G is enabled) but only when OpenDNS is not used. I assume you don't use OpenDNS, right? Once I put that one into equation, it takes over NetBIOS protocol and returns its IP instead of the local IP(192.168.x.x). As far as I understand, DNS lookup has precedence over NETBIOS and if the name is not found in DNS it consults NETBIOS protocol. However OpenDNS has this nice "feature" where it finds the name with its own IP. There are several posts about this on its webpage and they say to either disable the typo correction or put exceptions for Netbios names, but sadly none of them works for me right now.
Nope, no OpenDNS, never actually heard of it.
How does it work? Do you enter their DNS server address in the network settings of your pc/phone, or is it an app you run?
you click Start/Settings/All Settings/Connections/Wifi/First Button/Switch to Network Adapters tab/Select Broadcom 802.11 DHD Network Adapter/Switch to Name Servers Tab/Type in 208.67.222.222 for primary DNS and 208.67.220.220 for secondary DNS, click OK. that's all. Could you try if it's not so much trouble? Thanks.
OK, remote desktop doesn't work either with the OpenDNS servers in.
I'm pretty sure it must be a limitation of the remote desktop app itself, as resco explorer can still navigate and/or discover the network shares of my other PCs with no problem. NBTStatCE also finds everybody.
Wouldn't even surprise me, as that Remote desktop mobile has always been troublesome. I don't remember exactly, but in the WM5 days it was pretty much impossible to use on a local network due to a weird handling of names... if I remember well all "local" (NetBIOS) addresses without a '.' entered in the remote desktop app would be redirected to the "Work" connection, while "remote" ones with a period would be directed on the "Internet" connection. As a network card can only be defined as one of them, if you wanted it to work in both cases through Wifi you had to switch the card from Work to Internet and back all the time. And of course when it's on Work it breaks some other things that use the default system handling like mail.

Categories

Resources