You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Cannot login to gmail on my iPhone

after I put in my pw and verification code, I get this message: Safari could not open the page because the server stopped responding. Please help! I really need to have my Gmail on my phone!

iPhone 14

Posted on Jan 15, 2023 2:48 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 17, 2023 7:07 PM

Resolution: Google Security sends an email alert about attempted access from 3rd party apps (aka your iPhone). You must click “check activity” and confirm your iPhone. Then trust the device on the next page.


Then, go back to iPhone Settings and add the email account - you won’t be prompted for/by the accounts.YouTube.com server.

9 replies
Question marked as Top-ranking reply

Jan 17, 2023 7:07 PM in response to Jamie Lynn C.

Resolution: Google Security sends an email alert about attempted access from 3rd party apps (aka your iPhone). You must click “check activity” and confirm your iPhone. Then trust the device on the next page.


Then, go back to iPhone Settings and add the email account - you won’t be prompted for/by the accounts.YouTube.com server.

Jan 16, 2023 7:01 AM in response to sberman

So I deleted Google off my phone. When I try to get it back on this is what I do:

-Settings->Mail->Accounts->Add Account->Google->Put in Email->PW->2-Step Verification Code and then I get this message: "Safari cannot open the page because it could not establish a secure connection to the server."


At the top of the phone it says: accounts.youtube.com


TIA for your help!

Jan 16, 2023 8:47 AM in response to Jamie Lynn C.

Thanks a lot for posting all those details! I’m amazed you got this error. You’ve done everything exactly right.


If that happened to me, here’s what I would try:


Settings > Safari > Clear History & Website Data


Then try adding the account again.


If that fails (I don’t expect it to fail), then if you have a YouTube app on the iPhone, open the app, tap your profile photo or initial in the upper right, tap your account name toward the very top, and choose “Use YouTube signed out”. Then try adding the account again.


Good luck!

Jan 17, 2023 3:21 PM in response to sberman

I’m having the exact same scenario, but not resolved by:


altering the safari settings, clearing browser history, removing web data, resetting JavaScript in safari, restarting phone, rebooting router, blocking or allowing cookies,


and:

I do not have the YouTube app installed on my phone - don’t even have a YouTube account.


(?) why is the new email account flow using safari for credential authentication on gmail.com?


(?) and why is safari redirecting to accounts.YouTube.com server instead of google’s server?


what can we try next?


did Jamie ever overcome the error code?


why did they cancel Norseman?


Cannot login to gmail on my iPhone

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.