Cant login to Jira

omar kalaldeh March 25, 2019

Hi,

We are unable to login to Jira, it gives us: "Sorry, an error occurred trying to log you in - please try again."

Our Jira is configured with active directory.

On the log we can see only below worrning:

25-Mar-2019 08:36:31.202 WARNING [http-nio-8080-exec-24] com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters A servlet request, to the URI https://jira.sps.sts.com.jo/rest/gadget/1.0/login, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.

 

Regards,

Omar

2 answers

1 accepted

0 votes
Answer accepted
Petr Vaníček
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.
March 25, 2019

Hi,

when you are using AD then try to access AD with same credentials like you configured manually. (with some LDAP browser or something like that)

Let me know and if needed I have some other ideas.

omar kalaldeh March 25, 2019

Hi,

It seems the issue is related to our policy on AD, were passwrods expires every month. And I think the user we are using in AD configrations has expired.

Is there is a way to change configration for the AD from file system?

 

Thanks, 

Petr Vaníček
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.
March 25, 2019

Just follow this to disable AD from SQL, but first stop app.

https://confluence.atlassian.com/jirakb/administrator-cannot-login-after-reordering-user-directories-235669137.html

If you have admin user in local user directory then you can log in and reconfigure it in GUI.

If you don't have admin locally or you don't know password then follow this.

https://confluence.atlassian.com/jira/retrieving-the-jira-administrator-192836.html

omar kalaldeh March 25, 2019

Perfect, thats worked with me

0 votes
anshu02
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.
March 25, 2019

Hi @omar kalaldeh 

 

I would suggest to remove the cookies from browser. 

Do you have any other Atlassian product running on your server being accessed by this same IP address (or via localhost)? 

This case may be related to this JIRA KB. In advance, would you try to login in JIRA through an incognito sesstion?

 

Thanks, 

Anshuman 

omar kalaldeh March 25, 2019

Hi,

We already tried to access Jira from an incognito session, different browsers and different accounts all the same, still can't login.

Suggest an answer

Log in or Sign up to answer