One of my users brought to my attention that they could not get some attachments to open using the Companion App, after some testing it appears that any of our office files containing parentheses in the filename will not open for editing. Dashes, periods, and spaces all seem to work fine but once you put in a parentheses it falls apart. Is this a known issue or is something going on with my Confluence install?
We are on 6.14.2 and we also use Duo 2fa but Duo doesn't seem to otherwise impact our ability to use the Companion app for editing, I just figured it was worth mentioning.
Austin, thanks for reporting this behaviour for us. I tried to replicate this locally but the issue was not present.
Here are the file names that I tried:
None of the filenames triggered the issue. In my environment I have no firewall, proxy or 2FA. This is my environment:
With this in mind, I would like to ask a few things:
- Has this worked at some point in the past?
- What filenames are given to the files? Could you give examples?
- Are you able to try the by accessing Confluence with localhost?
- Was there any kind of change applied to your environment prior to this issue?
- What browser were you using?
Austin, looking forward to your reply!
I run Confluence through a reverse HTTPS proxy (IIS 7)
Here are the files I have tried (all files are exactly the same copy, just changed the name)
In the above cases, I am able to open/edit/save every file except "Test (test).xlsx". When I attempt to load it via the Confluence Companion App, the Companion window pops up in the preview pane with the "Editing with Excel" pane, and the details say "Opening file with excel" and the progress never moves. For the other files, it moves past "Opening file with excel" and gives me the status "This file is open in Excel. Once you save your changes, you'll be able to upload the file back to (site name)"
We run Confluence internally so there is no network firewall between me and my Confluence environment (but, again, I do have a reverse proxy).
I have also tested this behavior with .txt filetype and the issue persists.
We just recently upgraded to 6.14.2 from 6.10, so prior to this we were not using the Companion app. In fact the Companion was the main reason for the upgrade, since the old edit in office was unreliable at times and the ability to edit in any program was desirable. The edit-in-office feature (Using WebDAV I believe?) was working when editing files with parentheses in the filename when on 6.10 (when using a browser that supported the feature)
Not entirely related to the above but is there a feature request board for Confluence or the Companion app? One feature disappointingly lacking is the ability to save/upload as you go while editing files. We would like to be able to upload our changes periodically without then having to close and reopen the editor via the Companion app again
I just noticed there are Companion App logs, so I did some further testing. When attempting to load a parentheses laden file, the logs end with a "handling file launch request" message as the last line. Files that work continue on with "download length set at x", then a "companion.openWith.request",and finally a "telling the OS to launch file" message. Checking the .atlassian-companion Cache folder, I can see that a file stub was created but the file is blank.
With a little more research, I could find some other examples of this behaviour. Here are possible culprits:
The affected browser on the cases I saw were Firefox or Internet Explorer. However, your user has used Firefox and Chrome and in both occasions the feature does not work.
We can still try to bypass the reverse proxy and the SSO. We have documentation on how to bypass the proxy:
Also, here is the bug report pointing to this issue with SSO:
Looking forward to your reply!
Support told me to add nocanon to the ProxyPass line and this worked perfectly for me
- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events