Unable do download *.vm attachments from confluence.

We have Velocity templates that we attach in Confluence. If it has a name *.vw (wildcard), it uploads as type 'application/octet-stream' or 'application/x-upload-data' and when I click on it to download, I get a page with only '403 Forbidden nginx'. If I change the name to *.txt, it's fine

4 answers

1 accepted

A ticket for this issue has been raised at: https://jira.atlassian.com/browse/AOD-6292


Hello James,

That is an interesting behavior you are noticing. My best guess would be that as Confluence uses veloicty templates the application server is trying to render these templates you've attached rather than just letting you download them. I would be happy to file an improvement request on your behalf. It would present an interesting technical challenge for our developers to distinquish from a templete you are trying to render versus one you are downloading.

Please let us know what we can do to help.

Please, I would appreciate an improvement request filed.

Hello James,

I have dig a bit deeper into things and found that this may be an artifact of your ngix application server. Confluence as it ships does not appear to display this behaior. What happens if you right click the attachment as select "Save As" instead of just clicking the file.

This then seems like an application server issues and not a Confluence issue. Filing a feature request would be a moot point.

Please keep us up to date on your findings with save as.

The situation suggests to me that you have an NGINX web server serving as a reverse proxy to confluence, and it has rules about what types of traffic it will pass through to Confluence as a security measure.

If you can bypass the proxy, I'd verify that the proxy is isn't at fault.

Sorry, this question applies to OnDemand. I'm closing this question and re-posting there.

This question pertains to OnDemand, and is not applicable here. I'll repost as OnDemand issue.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Agile

What is Scrum? A good, bad, and ugly answer.

In a world of dark-scrum, faux-scrum, and scrum-butt, the question still remains: What is scrum and how do you do it “right?” That’s the question we set out to answer. I'm Max, I've been teaching c...

73 views 0 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you