Skip to content
Discussion options

You must be logged in to vote

Hi @Llyr95! I'm Dosu and I’m helping the Trilium team.

This error almost always points to a misconfiguration in the nginx reverse proxy, not a bug in Trilium itself. The Trilium desktop app (Electron client) sends sync requests using Node.js HTTP libraries, which can set a different user-agent and headers than curl or a browser—this sometimes triggers different behavior from nginx or security appliances, especially on enterprise-managed Macs with EDR/content filtering. When nginx or a proxy serves an HTML fallback page instead of JSON, it usually means the request isn't reaching the Trilium API handler as intended, often due to missing or misconfigured proxy headers or location blocks re…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by eliandoran
Comment options

You must be logged in to vote
1 reply
@dosubot
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Difficulty: Hard State: Triage Issues that need to be verified sync Issues related to synchronization
2 participants
Converted from issue

This discussion was converted from issue #6931 on September 15, 2025 17:22.