Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,323,843
Community Members
 
Community Events
168
Community Groups

Unable to vote with Confluence Questions

Hi,

 

We just added Questions for Confluence plugin to our "self hosted" instance of Confluence.

Everything seems to be working fine except that we cannot use the vote feature.

Each time we try to vote we received an http 500 error from the REST API : 

https://****/rest/questions/1.0/question/26314816/vote/up

 

We checked that the option to restrict user actions based on reputation is not enabled before posting.

 

The error received is :

{"status-code":500,"stack-trace":"java.lang.NullPointerException\n\tat com.atlassian.plugins.rest.common.security.jersey.XsrfResourceFilter.mediaTypeToString(XsrfResourceFilter.java:91)\n\tat com.atlassian.plugins.rest.common.security.jersey.XsrfResourceFilter.isXsrfable(XsrfResourceFilter.java:76)\n\tat com.atlassian.plugins.rest.common.security.jersey.XsrfResourceFilter.filter(XsrfResourceFilter.java:54)\n\tat com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:277)\n\tat com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)\n\tat com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)\n\tat com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)\n\tat com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)\n\tat com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)\n\tat com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)\n\tat com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178)\n\tat com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:795)

 

Can somebody help us please, we're stuck using the plugin without the voting feeature.

 

Thanks.

Regards.

1 answer

0 votes

Hi @Michaël Merkel

sounds a little bit like our problem at the beginning with questions addon. 

Do you use SSO? We had the problem that our SSL certificate didn't fit together with the app we were running for SSO. Could this be your problem too?

Hi @Fabienne Gerhard,

 

Thank you for the quick reply.

What king of SSO ? Between Confluence and the Questions plugin ?

I did not find any configuration related to Questions plugin neither to define login/password or SSO parameters, nor in the global Confluence config.

 

From where did you set up these connection details/SSO between Confluence and Questions ?

 

Thank you.

 

Regards.

Hi @Michaël Merkel

We used a SSO connector that we got from an Atlassian Partner that supports us with Confluence, JIRA aso.

I thought maybe you are having a similar problem when using SSO + SSL certificates. 

Another problem was that web.xml files for Confluence and Questions used different security constraints which were interpreted differently by different browsers

Hope this can give you a push in the right direction.

Best regards

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

4 Amazing Product and Project Management Apps compete for Best App Demo in July Appy Hours 🥳

Thanks so much to everyone who joined for our July Appy Hours! Product and project management presenter highlights  Checkout - Procurement and asset manager, presented by @Vincent Mutambuki ...

101 views 1 10
Read article

Atlassian Community Events