Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

In Jira Data Center, users in certain node cannot access some custom rest endpoints.

Necla Mutlu July 28, 2021

We have a plugin which consists of several servlets and those servlets use custom rest endpoints to retrieve some data. In our Jira Data Center with 2 nodes, users in the first node are able to see the data when they open servlets whereas users in the second node cannot. When I check the dev tools, I saw that 404 were raised by rest enpoints used by the servlets. What might be the reason behind this?

Thanks for the help.

1 answer

1 accepted

0 votes
Answer accepted
Radek Dostál
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 28, 2021

You might find more luck with plugin related questions over at https://community.developer.atlassian.com

 

In nutshell though, any servlets you defined with atlassian-plugin.xml should be available on each node, without any special "requirements" per se. Without seeing the atlassian-plugin.xml and the servlet class itself it's just a guessing game.

 

Have you tried to restart both nodes to see if that helps? Maybe it didn't properly instantiate on both nodes at the installation time.

Necla Mutlu July 28, 2021

When we checked the node for restarting as you said, we realized that there was not enough space in jira's folder. After clearing unnecessary logs, the problem was fixed.

Suggest an answer

Log in or Sign up to answer