Create project in Jira, Mostly get a 401 This resource requires WebSudo

Brian Ballard July 3, 2013

I'm set up as jira administrator, and trying to build out a demo environment to internally sell this as a solution to my team (historically I have administored jira at other companies). However I have successfully created some projects, but 90% of the time I get

" Error creating project, 401This resource requires WebSudo.". Then I try again a minute later and occasionally it works, or I add a different project and it works. ive checked the logs and so far nothing looks obvious.

System details: Windows server 2008, external SQL server 2008 DB, Jira demo install. using AD for authentication only.

14 answers

1 accepted

21 votes
Answer accepted
Benjamin Klatt August 21, 2013

We faced a similar error with the latest Jira 6.0.7. The only thing that worked for us was to trigger a re-index in the Jira System administration.

- Benjamin

Aleksandr Zabotin September 17, 2013

Thanks, it's work!

Muhammad Rizwan October 30, 2014

Worked for us

Philip van Veen February 12, 2015

works as a workaround, but it is really annoying. Re-indexing works for a while but sooner or later the same problem occurs. It seems that jira looses some cookies or whatever which causes jira to revoke your admin rights

Lorenzo March 29, 2015

Works here too

laguiz April 27, 2015

Thank you for this one!

Khayrat Glende July 15, 2015

As @Elvar posted: just relogin is fine.

Jon Frampton February 13, 2018

Worked for me today!

3 votes
Elvar Bjarki Böðvarsson July 8, 2014

This can happen if you have the additional login prompt enabled for config changes (is by default). When you are going to do an action tha requires those rights (websudo) but the login has timed out the interface does not tell you. When trying to take that action without the websudo rights results in this error. Just clicking something to trigger the login and logging in again, and then do what you were originally trying to do will work.

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 10, 2013

I think it's a bit vague. Websudo rights can be lost if you have network problems, or you're doing odd things in the browser, or if the server is experiencing problems, or if the authentication stuff is set up badly.

I suspect more looking at the logs may be needed, along with details about the browser and authentication setup.

Brian Cummings August 9, 2013

I have the same issue. I recently migrated the database to Postgres, and now, 100% of the time when I try to create projects, I get: Error creating project, 401 This resource requires websudo. JIRA and Postgres are both located on the same system. I can see my existing projects and data, but just can't create a new project. Any ideas why?

Brian

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 10, 2013

I'm afraid it's the same answer. You'll need to do some debugging yourself - look in the logs for errors or mention of websudo, check your installation is done correctly and you haven't missed anything in the setup. Try a different browser and a different machine. Check your network logs.

Lorenzo March 29, 2015

Hmm interesting thoughts. My atlassian suite is indeed behind a HTTP reversed proxy with SSL on using a self generetad certificate.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 29, 2015

Sadly, "indexing fixes it" is the wrong answer. I suspect it works because triggering the indexing process goes through something that refreshes or renews your session, and hence keeps the websudo, but as the index has *no* session data in it, the re-index itself is not the answer.

0 votes
swapnakumarv December 18, 2015

 re-indexing works...any specific root cause for this?

0 votes
Hauke Fuhrmann July 13, 2015

I had this issue with Google Chrome as browser. I did not find a way to get rid of the Websudo error message, although initiating creation of a new project always triggered the additional Admin credential confirmation.

When I changed the browser to firefox, it worked out-of-the-box with no further changes (i.e. no reindexing).

0 votes
Lorenzo March 29, 2015

Just had the same shit; I re-indexed and hey, it worked. Thanks Benjamin!

0 votes
Leena Agrawal February 20, 2015

I faced similar issue, this is due to session timeout you can logout and login again.

0 votes
Li Zhang May 1, 2014

Reindexing works.

0 votes
tbuckland April 15, 2014

I reindexed from within Jira admin, and also reindexed the db directly in postgres. After that it worked.

0 votes
Ash Ebrahim January 14, 2014

re-index worked for me too

0 votes
John Price
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.
December 17, 2013

I got this error on 6.1.5 with a fresh test install on Windows. A re-index (of the zero issues and projects!) fixed it. Not the best user experience ... I've been a Jira admin for 8 years and I had no idea what "websudo" meant in the context of Jira, although I know sudo is the Linux command for elevating user privileges.

0 votes
Mark October 10, 2013

I reindexed with a Postgre install on Win64 and it worked fine after that.

Start with reindex first.

0 votes
Brian Ballard August 21, 2013

Actually to feedback on this. I solved it by creating a new local account with admin rights and removing any association with my original acount and then deleted it. As no other user account I had created seemed to have trouble. I did also trigger a re-index at a later date so this might have work if I had done that before the account add/delete. But for me it was just removing the affected user.

0 votes
rafaferreira July 10, 2013

No coments for this yet? I have the same issue here, no news???

Suggest an answer

Log in or Sign up to answer