obsidian-livesync icon indicating copy to clipboard operation
obsidian-livesync copied to clipboard

Remote Configuration Error

Open xushier opened this issue 1 year ago • 4 comments

I have created a container using Traefik and CouchDB that can be accessed via HTTPS on the public network. When I visit it in the browser, it displays the following interface, which should be correct. image

After filling out the configuration in Obsidian, I have checked and found all the settings to be correct. However, when I click on the test button, an error occurs, as shown in the image below. Which part of the configuration should I check to troubleshoot this issue? image image image

xushier avatar May 05 '24 14:05 xushier

Sorry for being late! Indeed, it is strange...

From the situation, connecting with the request API of Obsidian has succeeded. However, it seems like we have failed with the fetch API of the browser.

In this case, there could be a possible CORS problem, but this is information that we are not informed about. Would you mind trying to open DevTools by pressing Ctrl+Shift+i, and let me know what errors you see in the Network pane?

vrtmrz avatar May 09 '24 09:05 vrtmrz

Sure. The following image shows the information in the Network panel of DevTools when I click Test.

image

image

xushier avatar May 09 '24 15:05 xushier

Same problem with version 1.6.3 only does that when trying to connect via https. http does not work if behind reverse proxy

arkeane avatar Jun 10 '24 09:06 arkeane

I'm on MacOS with latest Obsidian (v1.6.7 and Obsidian-Livesync v0.23.20. I have Obsidian-Livesync running on separate homelab server with Docker and Traefik setup successfully. I'm still experiencing the same TypeError: Failed to Fetch. Similar logs to user Xushier.

Did anyone figure out how to get this working?

EagleEyez1 avatar Aug 30 '24 19:08 EagleEyez1