Problem with attachment in Customer Portal when using mod_openam.so

Hi guys ,
I have a problem with the Customer Portal and mod_openam.so.
Jira is currently running behind an Apache that load, via virtualhost, the mod_openam.so module.
When this module is active, I cannot attach a file with size larger than 18kb and I get the error:

Java.lang.IllegalArgumentException: size should be a non-negative number. Got: -1
At com.atlassian.jira.util.dbc.Assertions.nonNegative (Assertions.java:230)
At com.atlassian.jira.issue.attachment.DefaultTemporaryWebAttachmentManager.createTemporaryWebAttachment (DefaultTemporaryWebAttachmentManager.java:90)

If I turn off the module, it's okay.

I have this error only if I attach the file via Customer Portal.

Any ideas?

Thank you!

1 answer

This widget could not be displayed.
Ann Worley Atlassian Team May 01, 2017

While researching support cases to look for precedents I found a ticket on which you are the reporter. One of your team mates commented on the ticket that the issue is resolved when you add:

SetEnv proxy-sendcl 0

to the configuration.

I understand the openam.so module is needed for integration with Forgerock OpenAM, so I am hoping someone with more familiarity with that will pipe up.

 

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

139 views 2 0
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