Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,559,481
Community Members
 
Community Events
184
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
Fabienne Gerhard
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 07, 2018

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.

Fabienne Gerhard
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 08, 2018

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
AUG Leaders

Atlassian Community Events