desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Unable to create Boards on Desktop App behind subdirectory reverse proxy

Open gabrielctn opened this issue 3 years ago • 1 comments


Summary

I am unable to create a Board in a channel, it somehow redirects to a "Team Not Found" error page.

Environment

  • Operating System: macOS Monterey v12.2.1 (Apple m1)
  • Mattermost Desktop App version: Version 5.0.4 (5.0.4.17220)
  • Mattermost Server version: 6.4.1

The server is served behind an Apache reverse proxy in a subdirectory.

Steps to reproduce

1 - Click on the Boards icon in the upper right corner of the channel page. Mattermost opens the corresponding Boards tab. 2 - On the main screen, "Content Calendar" template is selected by default, click on "Use this template".

Expected behavior

Just create the template and stay on the Boards tab.

Observed behavior

Landing on the error page "Team Not Found".

In the video I record what happens with the "Developper Tool for Current Tab" console open on the right.

https://user-images.githubusercontent.com/25644865/156943386-1d7507d4-05eb-4aa8-83a9-899298e69265.mov

This doesn't reproduce on the website version. It only occurs in the app.

gabrielctn avatar Mar 06 '22 21:03 gabrielctn

So, I was finally able to solve my problem by asking the people managing the DNS to add en entry in order to be able to have mattermost as a subdomain instead of a subdirectory. The issue I had is not resolved per se, but I can confirm that it comes from the bad management of a subdirectory configuration of Mattermost. What I don't really understand is that the issue does not appear in the browser. I thought both desktop and browser would be similar in terms of code, but it seems like there is still a little discrepancy.

gabrielctn avatar Mar 14 '22 13:03 gabrielctn

Closing as the issue is resolved. We will also be changing how the Desktop App shows Boards going forward.

devinbinnie avatar May 05 '23 14:05 devinbinnie