Back

[SOLVED] Google login redirects to "This site can’t be reached"

  • 0
  • Accounts
  • Web
manazo
12 Sep, 2023, 18:39

Google login is redirecting to the shown screen. The URL seems okay. My Appwrite containers are also running perfectly. Any idea what's happening here? I don't know which part of my code should be added. So let me know if you want any additional info

Appwrite Version: 1.4.2 local Stack: NextJS@13

TL;DR
The user is experiencing an issue where Google login redirects to a "This site can't be reached" page. They tried copying and pasting the URL in a new tab, and it worked. They also tested the login flow in incognito mode and it worked there as well. The user provides the version information for various components of their setup. Solution: The user is advised to check the ports that Appwrite is listening on and ensure that they are correctly configured. It is also suggested to share the output of the `docker ps` command to further investigate the issue.
Drake
13 Sep, 2023, 05:22

What ports are Appwrite listening on?

manazo
13 Sep, 2023, 15:30

all are defaults. port 80 i believe

Drake
13 Sep, 2023, 19:27

what's the output of docker ps?

manazo
14 Sep, 2023, 05:13

it's just listing all the running containers

Drake
14 Sep, 2023, 06:41

Please share

manazo
14 Sep, 2023, 14:22

that's what i can see. i can share it as a txt file in case it's hard to understand from a ss

Binyamin
14 Sep, 2023, 14:30

That should work What do you see in http://localhost/versions

manazo
14 Sep, 2023, 14:39

that's what i see

TypeScript
{
"server": "1.4.2",
"client-web": "13.0.0",
"client-flutter": "11.0.0",
"client-apple": "4.0.0",
"client-android": "4.0.0",
"client-graphql": "October 2021",
"client-rest": "",
"console-web": "0.3.0",
"console-cli": "4.0.0",
"server-nodejs": "11.0.0",
"server-deno": "9.0.0",
"server-php": "10.0.0",
"server-python": "4.0.0",
"server-ruby": "10.0.0",
"server-dotnet": "0.6.0",
"server-dart": "10.0.0",
"server-kotlin": "4.0.0",
"server-swift": "4.0.0",
"server-graphql": "October 2021",
"server-rest": ""
}
Binyamin
14 Sep, 2023, 14:40

Can you test the login flow with Google in an incognito window?

manazo
14 Sep, 2023, 14:43

it worked perfectly in incognito. i wonder what's happening in the normal window

Binyamin
14 Sep, 2023, 14:44

It probably was just cache and that URL path

manazo
14 Sep, 2023, 14:45

i also tried coping and pasting the URL on a new tab, and it worked. hopefully it'll be solved in prod

Binyamin
14 Sep, 2023, 14:45

Shouldn't be a problem there

manazo
14 Sep, 2023, 14:45

[SOLVED] Google login redirects to "This site can’t be reached"

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more