Invalid origin behind cloudflare

Operating system


Joplin version


Desktop version info

OS Version:TrueNAS-SCALE-23.10.2
Product:System Product Name
Model:Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
Memory:23 GiB

Sync target



Markdown Editor

What issue do you have?

I will try to install Joplin on my TrueNAS SCALE and after sync it to my nextcloud.
My ip is and I am behind a cloudflare tunnel.
I have set my tunnel to ht tp:// -> "htt ps://"
But I can't reach it after installation I have a error invalid origin : Invalid origin: ht tp://

Thanks in advance
PS : Beautiful JOB !!!!!!

@thmsbtn welcome to the forum.

I am having trouble working out what is happening here.

What have you actually installed onto TrueNAS? Did you find a way to install a Joplin client onto TrueNAS or did you install Joplin Server using Docker?

I am guessing that it is Joplin Server you have installed. This creates a sync server that your Joplin clients can use instead of Nextcloud. It does not provide any way of viewing or editing notes. You would not sync this server with your Nextcloud instance. It would replace your Nextcloud instance as a sync target for Joplin clients.

If it is the server you have installed the "Invalid Origin" error often appears when the URL used to access Joplin Server (in your example "") is not what has been entered in the APP_BASE_URL environment variable during the docker container setup. However I have never used Cloudflare tunnels so it could be that it would still take more work than just changing the value in the docker setup.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.