Authentication verification error: 401 Authentication request has expired. Try reloading the page

My cloud add-on was working perfectly for a few months, but it suddenly started to return "Authentication verification error: 401 Authentication request has expired. Try reloading the page" error. I have restarted the node server but it didn't help. How could I debug this error?

Thanks

4 answers

The problem was my server's time was 3 minutes a head of actual time, this was causing JWT tokens to expire immediately. Fixing server's time solved the problem.

Hi Deniz Oguz

i already have the same issue nd i found the solution :

delete the "store.db" file which exist on the same directory of "app.js" and then it will be generated automatically again

 Regards

RADADI Basma

 

Just guessing, is your add-on a paid app and you didn't pay your bill?

Hi Brian,

I am the plugin developer and I am installing it to my cloud instance from private listing, as far as I know it does not require payment. But I could also get this error for my customer's requests. It was perfectly working a few day's ago. I think it is related with JWT authentication but I haven't changed anything for months. Only option I think is cloud JIRA versions are updated in an incompatible way and I may need to change my express dependencies or inside my app.js file. 

"dependencies": {
    "atlassian-connect-express": "~1.0.1",
    "express": "~3.3.4",
    "express-hbs": "*",
    "jugglingdb-sqlite3": "0.0.5",
    "morgan": "^1.5.2",
    "static-expiry": ">=0.0.5"
  },

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,076 views 13 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot