desktop
desktop copied to clipboard
Unable to create Boards on Desktop App behind subdirectory reverse proxy
- [x] This is not a troubleshooting question. Troubleshooting questions go here: http://www.mattermost.org/troubleshoot/.
- [x] This doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
- [x] I have read contributing guidelines.
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.
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.
Closing as the issue is resolved. We will also be changing how the Desktop App shows Boards going forward.