cannot safely connect to server [emails] - Galaxy S II Q&A, Help & Troubleshooting

hi guys can anyone help suddenly i cannot mail anyone from my yahoo account i get error cannot safely connect to server(not trusted server certificate)
i tried to remove the account and set it up again but now its not even setting it up and giving the error(java.security.cert.certpathvalidatorException:trust anchor for certification path not found)
my gmail is working fine

adithebratt said:
hi guys can anyone help suddenly i cannot mail anyone from my yahoo account i get error cannot safely connect to server(not trusted server certificate)
i tried to remove the account and set it up again but now its not even setting it up and giving the error(java.security.cert.certpathvalidatorException:trust anchor for certification path not found)
my gmail is working fine
Click to expand...
Click to collapse
What are the exact settings for your yahoo account?
I do not mean your email and password ... that should be on your side only.
I mean server, port, protocol, etc.
Did you configured it as premium (IMAP) or POP3 or Microsoft Exchange Active Synch?
Which security type have you selected (no, SSL, TLS, ...)?
You can specify all this settings in manual config.
I think that Yahoo only supports POP3 (pop.mail.yahoo.com) for incoming and SMTP (smtp.mail.yahoo.com) for outgoing mails.
But I am not sure as I do not have a Yahoo mail account.
If your Yahoo mail synchronization worked before, you have enabled SMTP already at Yahoo for your account.
But what happened that this does not work any more?
Have you changed a special setting, another account, firmware, installed or un-installed an app?
Sometimes it is helpful to wipe the cache in recovery mode (Volume UP + Home + Power).
Good luck !

Yes i updated my firmware frm 2.3.3 to 2.3.5 last week and actualy never used my yahoo after that so do know when it started today i tried to mail but it gave error sending failed not a secure conection so i deleted the acount and tried to setup up again now its just not seting up giving me error i mentioned before i tried all settings imap pop3 ticked accept all ssl certificate n saw bt no use it says unable to connect
P.s :gmail is working fine

I installed k-9 app and it easily setup my yahoo acount and i can mail through it too dont know what went wrong with the default application(social hub)
stil i would like to know what went wrong if anyone could help

I know this may sound stupid, but can you get into the Yahoo account via the web (on the phone or PC)? At least this will confirm you have the correct username/email address and password.
What server settings did you put in?

Brother i said i can access now via k9 but still not via the default social hub and yes i can acces through pc and mobile browser too
i tried all the possible settings in the social hub like pop3; imap ;ssl certificate on; accept all ssl certificate but no use so currently i m using k9
i think it has to do something with the certificate validation as the error says so but i dont know the solution to it
p.s : phone not rooted

Had the same error today. Read somewhere to change the Yahoo account's outgoing settings on the phone to SSL with accept all certificates, but that didn't help. So I changed security type to None, and all mail starting flowing out of the outbox again. Guess next time I get the error I'll change back to SSL...

I cant change the outgoing settings of server unless i login and i cant setup only the yahoo account so i dnt get option of manuly editing outgoing server

This is an SSL problem, android does not always include all chained root certificates.
You will still get an error like this:
Cannot safely connect to server.
(java.security.InvalidAlforithmParameterException: trusteAnchors.isEmpty())
Certificate chain[0]:
Subject: CN=(SSL common name here), OU=Domain Control Validated - RapidSSL(R), OU=See
etc...
This needs to be fixed in the build.
I get this problem running latest android 2.3.7, CM7 with SavagedZen Kernel
Would love a fix so I can use SSL again.

Juststarted receiving this error message TODAY. No changes or updates to anything on my phone...anybody know how to fix this.

I also starting getting this today (Cox email). Changing the SSL option to "SSL (Accept all certificates)" fixed it for me.

after sougote
On the email settings tap on outgoing settings and change security type to none.
That worked for my AOL account it might work for others. Worth a try anyway.

i'm facing the same problem...
solution is go to application->setting->Account and sync->add account..
Then yahoo account that I put in account&sync will auto display in mail..
So I didn't facing the giving the error(java.security.cert.certpathvalidatorExceptio n:trust anchor for certification path not found)...:fingers-crossed:

ATT.net mobile email stopped July 25th : solution
adithebratt said:
hi guys can anyone help suddenly i cannot mail anyone from my yahoo account i get error cannot safely connect to server(not trusted server certificate)
i tried to remove the account and set it up again but now its not even setting it up and giving the error(java.security.cert.certpathvalidatorException:trust anchor for certification path not found)
my gmail is working fine
Click to expand...
Click to collapse
I've been using Att imap.mail.att.net for years for inbound mail (on my Android phone using 4.4.2 ) and ATT mail stopped receiving on July 25th for no obvious reason. I fussed with it a while and fortunately was able ot figure it out. If you follow my steps it should work:
Another contributor mentioned "can't safely connect to server" is actually an SSL error message. He's right... for reasons unknown they've changed something about SSL.
You must change your SSL setting from SSL to the alternative : SSL (accept any certificate) The phone informs you it is testing the connection after you change this. with just SSL it will fail, but once you've changed it you will notice the error message has changed.
Once you observe the test is passing, you have the original problem fixxed, but I still had to mop up the existing mess. Here's what I did:
1.) jotted down all the settings in the imap screen including my account name etc.
2.) Removed the account (with imap all messages are still on the server and will come back later)
3.) reboot (this may have been superfluous
4.) reinstalled the mail account using the jotted down settings ... and don't forget .. set to SSL (accept any certificate)
That should do the trick.... Take care

Related

MS Exchange problems

Got a strange problem with my new T-Mobile G2 (HTC Hero) ...
If I try setting up & syncing my Exchange email I get all sorts of error messages ranging from username/password incorrect (when I know it isn't) to a long winded one "Your Microsoft Exchange Server account does not have permission to synchronize with your current settings. Contact your Exchange Server administrator" ...
Previously the same Exchange server (2010) was used to sync email via the MS Exchange application on an iPhone and also a XDA.
I'm guessing there is a bug or anomaly with the Exchange application on the T-Mobile rom (it incidentally came shipped with the latest 2.73.110.26 October rom) as I downloaded and successfully set-up/synced my email using the TouchDown v4.0.0008 application - and also using another Exchange application (Contacts Sync) from Wryke.
I've spoken to the Server admin, who has done what he can, but he's thinking (as I am) that there is a problem with the built in app ...
Oh, and am I right in thinking that because it has come shipped with the latest (2.73.110.26) rom then I can't flash a custom rom at this time ?
Anyone have any suggestions ?
Cheers
Mark
mark.peters said:
Got a strange problem with my new T-Mobile G2 (HTC Hero) ...
If I try setting up & syncing my Exchange email I get all sorts of error messages ranging from username/password incorrect (when I know it isn't) to a long winded one "Your Microsoft Exchange Server account does not have permission to synchronize with your current settings. Contact your Exchange Server administrator" ...
Previously the same Exchange server (2010) was used to sync email via the MS Exchange application on an iPhone and also a XDA.
I'm guessing there is a bug or anomaly with the Exchange application on the T-Mobile rom (it incidentally came shipped with the latest 2.73.110.26 October rom) as I downloaded and successfully set-up/synced my email using the TouchDown v4.0.0008 application - and also using another Exchange application (Contacts Sync) from Wryke.
I've spoken to the Server admin, who has done what he can, but he's thinking (as I am) that there is a problem with the built in app ...
Oh, and am I right in thinking that because it has come shipped with the latest (2.73.110.26) rom then I can't flash a custom rom at this time ?
Anyone have any suggestions ?
Cheers
Mark
Click to expand...
Click to collapse
I had the same issue yesterday when I forgot to check the box "This server requires an encrypted SSL connection". I've never had to check this box before when we ran Exchange 2007 but we moved to Exchanged 2010 yesterday just before a reset the exchange account on my Hero.
Give it a try, it may work
thecastlefordkid said:
I had the same issue yesterday when I forgot to check the box "This server requires an encrypted SSL connection". I've never had to check this box before when we ran Exchange 2007 but we moved to Exchanged 2010 yesterday just before a reset the exchange account on my Hero.
Give it a try, it may work
Click to expand...
Click to collapse
You are a star ... after a bit of a fiddle with some settings, and your suggestion it worked !!!
Thanks for your help
Mark
exchange 2010 + htc hero - which settings ?
I was wondering, which settings do you have on your exchange 2010 server ?
On exchange 2003 it worked flawlessly (almost), but on exchange 2010 I keep getting the "failed to create account..".
Initial login seems to work fine, but after selecting what to sync it fails.
I dont have a paid SSL certificate, only a self-signed one, but I dont imagine that causing too many problems (or am I wrong?).
Any help appreciated
Hello,
Does anyone know what to change to resolve this? I still have this issue whether or not the SSL box is checked.
If you are using an internal certificate, try copying certificate to SD and installing, also if you are still running hero 1.5 you must make sure exchange 2010 servers mobile settings are configured to allow "unsupported devices" you may also have to disable password policy just for your phone on the server
I know this is a really old thread, but you might try checking to see if your password is about to expire. In my case I got this error and it was because my password was about to expire (the Windows AD notifies you when you log into a Windows PC on the AD domain). Once I changed my password everything started working again. I guess this is technically a bug with Android because Android should be able to tell you that instead of saying that you're unauthorized.

Exchange mail set up problem despite several trials

Hello guys. I got my sgs2 with stock firmware 2.3.3 two weeks ago. I was able to set up every account flawlessly except for my exchange office email. It keeps displaying 'set up could not finish/ Cannot connect to server'. All my entries are correct and my network too is good. I tried connecting on my former device, samsung vibrant, and worked flawlessly. So also on some other devices i tried. I have read in this forum several solutions and inhave tried them all. Connect through wifi , using the exchange account under 'accounts and sync ', using 'edge' only type of connevtivity , i have also updated to stock 2.3.5 and still having the same problem. I dont want to change the email apk as some did and will prefer using the stock email app (not third party app)
Please, does anyone having any idea on getting my exchange account to connect on the sgs2? I need to sync my exchange contacts, mails and calender. Will appreciate every response to solving this problem.
Thanks guys
Sent from my GT-I9100 using XDA App
Please guys, I am still waiting for anyone that has a clue about solving this problem. It will be highly appreciated.
Sent from my GT-I9100 using XDA App
I know you don't want to use a third party app but your problem may be on the administrator side of your account. Try the demo of Touchdown Exchange and see if that works. If it does, then you know it's a samsung problem.
Btw, there is a limit to the number of phones you can add to your email account with exchange. Each time you put on a new rom, it treats this as a new phone. Through owa or outlook, check how many mobile devices are registered to your account.
Setup for Office 365 Exchange Account (Small Business)
I just got my SGS2 today and tried setting up my Office365 Exchange account.
I ran into issues, getting a similar error message to OP.
The solution was:
1st Screen
- on the 1st setup screen, fill in username and password
- choose "Manual Setup"
- when asked what type of account, choose "Exchange Activesync"
2nd Screen
- there are 3 fields: a) Domain:user name b) Password c) Exchange Server
a) format is domain\user name (i.e. whatever.com\[email protected])
b) already filled in
c) normally, server address is m.outlook.com when using Office365. Samsung dares to be different - you need to find your actual server address, not the generic one.
Go to this address to get details for filling in these fields: http://help.outlook.com/en-us/140/dd936215.aspx
Once I accepted the various activation messages, an error message flashed very briefly, but then sync was established and I synced very quickly.
I think the message was: "Cannot open connection with server due to security error", but I can't be sure
I ignored that error message, as sync seems to be working perfectly, with "push" activesync.
This was discussed on the Office 365 forum. Here's the link: http://community.office365.com/en-us/f/160/t/5282.aspx
I realise you may not have Office 365 Exchange, but I'm posting this in case it may be of help in some way.
P.S. Must say, I'm very chuffed that Samsung's native Exchange client supports Tasks and SMS sync, in addition to the standard options. SMS Sync seems faster than it was on HD2...
thanks guys. I really appreciate all the responses. I have tried out the solutions provided . I installed the touchdown app and it worked straight away. my mails, calendar, contacts & talks sync completely.
I also read through the links provided above and really never made any error initially on setting up my exchange account. Though I still followed through the steps/settings for exchange setup and still encountered the problem. one thing I like to clarify is that I am not sure if the server in my office is 'office 365' has being explained on that site. I think we use the exchange 2007. if the exchange server type is the issue, will using one if the email apk posted under themes and apps section work for me if installed? Because, I really will prefer using a stock email app. or is there any other way I can get the stock email app to work without giving me those error messages?
Also, will installing one of the custom roms get it working?

[Q] How do i fix this?

Flashed to CM 7.2 and everything is working fine now.
Exept the fact that i can't use the facebook app (cant log in)
But i can log in using the browser... which is odd...
I cant log in to gmail, email or any application that required account name and password.
I cant go to accounts and sync and add an email, it wont work:
While trying to make a "facebook" account (logging in with account and password)
I get this message: An error had occurred during the sign in. please try again later.
While trying to add a "corporate" account I get to server settings and its all filled in.
Domain/username, password and server (hotmail.com)
use secure connection (ssl) is checked.
then i press next and get this message: unable to open connection server.
I have no idea what i am suppose to do now, logging in with pretty much any app simply wont work.
Thanks in advance.
Did you make sure to flash gapps immediately after cm7?
Sent from my Galaxy Nexus

Yahoo imap & pop: can't connect to server

Hi all. Having been with yahoo for many many (often tiring) years, sadly this isn't a new thing, it's something that comes and goes seemingly based on the whims of yahoo deciding to change their settings, potentially to try to herd users onto their (awful) mail app. Anyway, problem:
All of a sudden, my account (yahoo plus, imap) and my mothers (yahoo basic, pop) have stopped receiving emails on our 2 android phones (samsung S3 with latest ICS, & HTC wildfire with whatever was before ICS, respectively). I've read a number of forums with various suggestions, including:
- clear the app cache
- change to a different server: most suggest imap.mail.yahoo.com but others suggest imap.n.mail.yahoo.com, imap.android.mail.yahoo.com, one suggests using IMAP4 (don't know how to select this)
- delete account & reinstall
None of these work. Peversely, I AM getting emails through on imap.mail.yahoo.com, but very intermittently. I'll notice that, e.g. overnight, I'll have gotten most of yesterday's, but if i click for a manual refresh it'll fail. Likewise if I set myself up for imap.mail.yahoo.com, it'll check the settings & be ok, but then give a connection error.
My mum's phone is a slightly different problem: she can log in fine through the internet, but her username/password combo fails for pop access through the stock email app. She's a .co.uk address, & i'm wondering if this is the reason for the problem. I suspect it's just that yahoo is having a problem.
Any thoughts appreciated for both of these - potentially connected - problems.
Cheers
Dez
p.s. previous suggestioons pages:
http://forum.xda-developers.com/showthread.php?t=1105010
http://forum.xda-developers.com/showthread.php?t=398799
yahoo answers cache thing
http://www.arclab.com/products/amlc/list-of-smtp-and-imap-servers-mailserver-list.html
Address any prompts or issues you see when signing in on a desktop before trying to sign in on a third-party email app, then send a test message.
Sign in to Yahoo Mail from a web browser.
Compose a new email and add your own address in the "To" field.
Send the email.
Wait up to five minutes to see if it arrives.
Confirm app is configured with the correct POP settings or IMAP settings for Yahoo Mail. Sometimes even if the info seems correct, the data the app saved could be corrupt or contain hidden invalid characters. Delete your Yahoo account from the app and re-add it to be sure. If you need specific instructions for your app, contact its manufacturer.
Regards,
J Wick

[Q] Android 2.2 Market and Gmail crash on start

Hi 2.2 tablet running wifi used to work perfectly with my gmail account. Gave it to my daughter and reset to clear my data. Since reset when either market or gmail opened they crash instantly and I dont know where the logs are so sorry no info there. Gmail on its browser works. Youtube works eg can sign in with daughters gmail account.
Have been fighting this issue for several hours with no joy - removing the sync account and adding it again. Under 2.2 there are no option for any account type other than exchange so the Exchange incoming settings are thusly:
\username
server: m.google.com
[x] use secure connection
also, checked or unchecked [x] Accept all XXL certificates
Background data is enabled.
Any light on this one please?
Thanks,
Alistair.
2.2 table
What type is the tablet? an update might be a good idea

Categories

Resources