Docspace behind Pangolin tunnel

DocSpace version: latest
Type of installation of the DocSpace (docker, deb/rpm, exe, please point us to the installation guide that you used as well): docker
OS:Debian
Browser version:Onlyoffice Desktop flatpak version 9.3.1

I’m trying to tunnel my ip running Onlyoffice docspace to pangolin.

The web version works fine with that, while the desktop apps do not.

Web: Document opens up fine
Desktop: Download failed errors, when opening a file

When inspecting it seems to be the cause of mixed http/https errors.

I tried using switching to https as following user suggested:
https://www.reddit.com/r/OnlyOffice/comments/1r7m15d/comment/o6fnk1p/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

Providing my website address

bash docspace-install.sh docker --letsencryptmail user@example.com --letsencryptdomain yourdomain .com

But pangolin would still only target my http page.

For now I use deprecated onlyoffice workspace, but any help for docspace would be appreciated.

Hello @onlyoff

Just to clarify my understanding of the issue: you have DocSpace in Docker (by the way, what is the version of DocSpace specifically?) and you access it either via regular web browser or via Desktop Editors. While DocSpace works as expected in the web browser, it does not in Desktop Editors, is that correct understanding?

1 Like

hey @Constantine thanks for replying.

While DocSpace works as expected in the web browser, it does not in Desktop Editors, is that correct understanding?
Yes exactly.

Yes I am using docker and used following command for setup:
bash docspace-install.sh docker
But I have also tried the package for debian with:
bash docspace-install.sh package
and had similar issues with the App.

I don’t have the specific version of docspace because i’ve since deleted the config, but I’m sure it was the latest.

But I know that the Workspace version had similar issues with tunnels like pangolin and cloudfare:

Which I was able to solve here by changing the headers:

I tried the same with docspace but that only worked for the web-browser. I’m now using Onlyoffice Community Workspace instead.

But it would be nice to be able to run onlyoffice Docspace/Workspace behind a reverse proxy without having to configure files.

Here’s another one having the same issues with the login page with cloudfare (not pangolin):

Just to clarify setting these settings in the comment left on github:
DocSpace login page renders only background (no login form) when accessed behind Nginx Proxy Manager over HTTPS · Issue #1854 · ONLYOFFICE/DocSpace · GitHub
worked for both web and the app with onlyoffice workspaces proxied with pangolin.

Good to know that it works in Workspace, however, in order to troubleshoot the problem with DocSpace, a running instance of DocSpace is requried. If you feel like it worth analyzing, please let me know.