Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.01 KB

Authentication troubleshooting.md

File metadata and controls

31 lines (22 loc) · 1.01 KB

Authentication troubleshooting

localhost connection refused

After attempting the initial connection to Google Photos API, your browser will be redirected to an address like:

http://localhost:51894/google-photos?state=state_parameter_passthrough_value&code=d35fEac9&scope=https://www.googleapis.com/auth/photoslibrary.readonly

Instead of redirecting you back to Obsidian, you might see an error message like this:

This site can’t be reached
localhost refused to connect.

Try:

  • Checking the connection
  • Checking the proxy and the firewall

ERR_CONNECTION_REFUSED

In this case, there is a workaround:

Change the URL in your browser to replace http://localhost:51894/ with obsidian://, so that the final result looks similar to:

obsidian://google-photos?state=state_parameter_passthrough_value&code=d35fEac9&scope=https://www.googleapis.com/auth/photoslibrary.readonly

Press Enter to go to that URL, and Obsidian should launch and complete the authentication process.