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.
Hello there!
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!
Diego,
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)
Server environment:
Client environment:
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just tried it from localhost, same story. Also tried bypassing the reverse proxy but I am not given the option to edit files at all, I assume that is due to the reverse proxy config.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not necessarily parenthesis issue. I am also facing similar error with different version of file. The small file .doc etc is opening fine while .docx never does anything
Confluence version 6.13
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello there!
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:
CONFSERVER-57486 | Edit in App does not work when Confluence is integrated with Custom SSO
Looking forward to your reply!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Was there a resolution to this issue? I'm facing the same problem with Confluence 6.15.9, running on a Windows server behind an Apache reverse proxy.
The links provided by Diego above don't seem to help me that much.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dalecrtric: yes, the resolution is to not use special chars in your filenames :)
I fail to recall exactly what I tested but I believe I ruled out the proxy being at fault. I simply educated my users on the issue and moved on
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the reply :-)
:-( That's not going to wash with my users as there are a significant number of files uploaded there that include parentheses.
If I get any feedback from Atlassian I'll add it to this post.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Support told me to add nocanon to the ProxyPass line and this worked perfectly for me
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is another bug that started as a report about "Edit in Office" but was never closed, the newest comments refer to this problem with Companion: https://jira.atlassian.com/browse/CONFSERVER-22403.
And then there's https://jira.atlassian.com/browse/CONFSERVER-57769, already closed in spite of users calling for reopen...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.