Desktop app cloudflare tunnel

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): latest' Operating system and version _(eg, Ubuntu 20.04)_: ubuntu server 23.04Apache or nginx version _(eg, Apache 2.4.25)_: unknownPHP version _(eg, 7.4)_:latest`

The issue you are facing:

just curious if anyone has had luck connecting their servers on the desktop app when running nextcloud through a cloudflare tunnel. i am currently doing so, on a proxmox lxc running dockerized nextcloud. i have a cloudflare tunnel in place and that is all working fine. however when i try to connect desktop app to the server i get various errors, one about a certificate that can’t be trusted, but when clicking to trust it anyway, the connection fails anyway. i’m not super knowledgeable on how all this works. when i type in the local ip of the server that works fine and it redirects me to a page to login to grant access. i assume this will be the same on the mobile app. so if anyone has a similar config and knows how to make this work, i’m all ears.

i tried playing with the tunnel settings, no tls verify, https2, none of that seems to make a difference, so i’m thinking it’s not the tunnel itself? but i don’t know.

Is this the first time you’ve seen this error? (Y/N):

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:


The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):


The output of your Apache/nginx/system log in /var/log/____:



Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.