I have my own sync server, and set up syncing in my Trilium desktop app. It all worked great, until I made a mistake in DNS set up.
In short, the problematic set up was: Infinite redirect loop using status code 301. (It was due to an incorrect configuration of cloudflare by myself.)
The resulting behaviour is: trilium always fails to connect to sync server; on "sync" configuration page, clicking "test sync" will lead to an immediate popup saying "... too many redirects".
I can bypass the issue with commandline switch --disable-http-cache, and trilium will resort to sync. However, I have to enable this switch everytime when starting trilium, otherwise the problem re-occurs.
This has been an issue since original Trilium. It looks like clearing the DNS cache would resolve the issue, but I cannot find a way to do this. Hopefully this can be added as a button in "advanced" options page.
TriliumNext Version
0.90.4
What operating system are you using?
Other Linux
What is your setup?
Local + server sync
Operating System Version
Archlinux
Description
I have my own sync server, and set up syncing in my Trilium desktop app. It all worked great, until I made a mistake in DNS set up. In short, the problematic set up was: Infinite redirect loop using status code 301. (It was due to an incorrect configuration of cloudflare by myself.) The resulting behaviour is: trilium always fails to connect to sync server; on "sync" configuration page, clicking "test sync" will lead to an immediate popup saying "... too many redirects".
I can bypass the issue with commandline switch
--disable-http-cache
, and trilium will resort to sync. However, I have to enable this switch everytime when starting trilium, otherwise the problem re-occurs.This has been an issue since original Trilium. It looks like clearing the DNS cache would resolve the issue, but I cannot find a way to do this. Hopefully this can be added as a button in "advanced" options page.
Error logs
No response