Local Callback not happening for log in

I tried everything (uninstall, firewall, running as admin, 2FA, host file, permission) but still cannot connect to local hub login feature. I cannot enable the live link of my local.site. Can someone help please, many thanks.

Hi @rsaxor! To clarify are you unable to login? Or is it that after you login the browser isn’t updating with the app to show you logged in?

Hi, thanks for responding. I am able to login via github, gmail, and 2FA successfully (http://localhost:49002/callback) , but even so I am still not logged in over the app.

This is usually a browser level issue @rsaxor or some other security setting, extension etc.

Could you try doing this via a different browser and see if it connects?

If you’re using any kind of VPN, network proxy, etc can you try on a different network?

Do you have any other security applications or features that might be blocking this?

Hello, I am not using any vpn or network proxy. I also tried launching with different browser but no luck.

Thank you @rsaxor for follow up. I moved our thread to it’s own post here since it’s not related to the 2FA megathread.

What is your OS / OS version?

What version of Local are you on?

Have you been able to log into Hub in the past or was this your first time trying?

Thanks for the reply.

Local: Version 10.2.0+7022
OS: Win 11 26200.9711

On this machine I havent been able to log into Hub.

In order to refresh here and start with a clean slate could you give the below troubleshooting steps a try @rsaxor?

  • Export any sites that you have on Local and save them to a folder somewhere on your computer: Backup a Local Site - Local

  • Fully uninstall Local from your computer following the steps for your OS here: Uninstall Local - Local

  • Install the latest version of Local on this link: Releases - Local

  • Once installed, please restart the computer.

  • When the computer is restarted and turned on, check over the items in our Windows Troubleshooting guide (ensure that Local is running as an administrator, that there are no security blockers, and that Local has access to update the Hosts file) Troubleshoot: Windows + Local - Local

  • Check and see if the issue still persists. If so, please provide us with an updated log: Retrieve Local’s Log File - Local

Hi Nick, I tried these steps, and it worked but only for couple of secs. I was logged in inside the app like I can see my username etc. when I clicked the user icon on the sidebar, then it was back to “login to local” afterwards.

Thanks for trying that, @rsaxor. Please could you share your log with us, as Nick linked in his final bullet above? Quickest way if you’re on the latest version of Local is via Help → Download Local Logs.

Sorry I haven’t attached the log, here you go.

local-logs.zip (75.7 KB)

local-lightning.log (124.6 KB)

Thanks for these logs, @rsaxor. They don’t show anything specific to Local log in, but I still have a couple of ideas you can try:

1. Temporarily remove your profile photo from Local Hub

Please could you try temporarily removing your profile photo by logging into Local’s website and clicking the “Delete” button next to “Profile Photo”? https://hub.localwp.com/.

Then restart Local and try logging in again.

If you’re then logged in consistently, you’ll need to allowlist www.gravatar.com in DNS filtering, antivirus, and firewall software before you can use a profile photo.

If that doesn’t work, try step 2 below.

2. Allowlist the following domains in any services that might block them:

  • hub.localwp.com
  • www.gravatar.com
  • storage.googleapis.com
  • localhost ports 49002–49027

Places that may block domains include:

• Pi-hole, NextDNS, AdGuard, or hosts-file filtering
• Antivirus “Web Shield”/HTTPS inspection
• Outbound firewall rules targeting Local.exe
• Corporate proxy/PAC configuration.
• TLS interception whose certificate is trusted by the browser but not Electron/Node (e.g. VPNs, corporate network security).

3. Try logging in via a different network, such as phone tethering