Office attachments/ files do not open
Asked by Nadja Agreiter:

Hello everyone!

Since uploading from Confluence Server 6.8.0 to 6.13.0 we are not able to open certain office files. We installed the Atlassian Companion App and can click "Edit". Then the Screen stands still with the message: "Opens file in Excel (Desktop)" but does not open the file. We updated our test instance to 6.14.0 and tried again - no difference. This is not the case with every attached files. I tried to find out some similarities, but it happens with xlsx, pptx, docx. Also the size doesn't seem to be an issue, because it's not working with sizes like 32kB, what is not very much. Upload-limit is 50 MB. With the Office Connector I could configure certain things, is this also possible with the Atlassian Companion App? This is a very serious issue for us! Please help!

Greedings

Nadja


Answers:
author: Nadja Agreiter
body: It appeared because of brackets in the file name.

comments: author: Sylvain Leduc
body: Hi,

I have same issues with attachments filenames containing special characters plus "+" or double dots ":"

Double dots are not allowed with filenames in Windows but "+" should be allowed ?

So yes for the moment, we are removing "+" and ":" and "( )"  
Is there others special characters ?


author: Yassin
body: I faced the same problem and removing the symbol "," from the file name fixed the problem.


author: Sloan
body: Hi Nadja

Is your Confluence hosted behind a proxy, WAF or similar? If so make sure websockets come through.

And are are you working on normal Mac or Windows PCs or is it possibly a virtual desktop environment (i.E. Citrix or VMware)? Latter won't work.

See [Administering the Atlassian Companion App](https://confluence.atlassian.com/doc/administering-the-atlassian-companion-app-958456281.html).

Cheers  
Niklas

comments: author: Nadja Agreiter
body: Hi Niklas,

Confluence is hosted behind a proxy, but I don't see why then certain office files work perfectly fine and others doesn't. I'm working on a normal Windows PC, no citrix or anything.

Anyways, thank you very much for paying attention. Atlassian Support has contacted me in the meantime. I'll keep you posted!

Greetings,

Nadja


author: szonek
body: Have you managed to solve the issue? I have exactly the same problem.


author: Nadja Agreiter
body: Hi!

Sorry for not keeping you posted! Atlassian Support could fix the problem. It appeared because of brackets in the file name.

Best regards and thank you both for your interest!

Nadja


author: szonek
body: Thanks for answering Nadja! Did they state that this is the final solution? Removing brackets from filename seems like workaround for me. Are they working on a fix?

Thanks again :)


author: Ritesh Kumar Sanjay
body: Hey, I am indeed facing same issues, \& even files with no brackets are not opening for me.

Nadja can you please help here.


author: Nadja Agreiter
body: Hi everyone,

I just read the mails I wrote with atlassian support. They wrote:

* It appears the issue is caused by the file name and in particular the "()" characters.
* I've tested this and the issue is not reproducible on MacOS, so it looks to be a Windows only issue.
* I have found an almost similar bug report here: [CONFSERVER-57769](https://urldefense.proofpoint.com/v2/url?u=https-3A__jira.atlassian.com_browse_CONFSERVER-2D57769&d=DwMFaQ&c=j07uGCJZjRdieW9EcIh_uyrysEcxHEzogndLDd1xIlQ&r=O0D-Lbr5Y-Yv5Ye8lJpadJyDM4V3SyJxT6GYXMEHvVw&m=Aha0PoFaMP8d7hQt3v-qPwVbPFbfW3bciLTZSm1PLLo&s=CJuOvX5bawi-Bx-m7Yga_zsjDp40-B2yGh1rjdK3Ltk&e=) however we do not receive the same error message.

To solve the problem without changing our filenames, support gave us an kb-article about re-encoding by proxy. Unfortunately I cannot open the link to the article anymore. Perhaps you could contact the support and open a new issue. They helped very quickly and solved the problem in the end.


author: Dalectric
body: Support told me to add nocanon to the ProxyPass line and this worked perfectly for me

<https://confluence.atlassian.com/jirakb/no-confluence-page-found-with-the-given-url-when-linking-a-confluence-page-in-jira-426118083.html>


Tags: attachment

companion-app

file

macro