Getting 521 with Google Auth

I've gone through the Login with Google tutorial (https://supabase.com/docs/guides/auth/social-login/auth-google?queryGroups=platform&platform=web) but when i call
      const { error } = await supabase.auth.signInWithOAuth({
        provider: 'google',
        options: {
          redirectTo: `${window.location.origin}/auth/callback`,
        },
      });

I get <title>my_project_id.supabase.co | 521: Web server is down</title>
I was able to set this up in another project but can't figure out what's wrong here.
Was this page helpful?