Forums

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

jira constantly losing user token

omorobot August 13, 2020

I recently upgraded my jira server to 8.5.7

I am running my jira with following system.

OS: Ubuntu 18.04

Java Version 1.8.0_202
Java Vendor AdoptOpenJdk
JVM Version 1.8
JVM Vendor Oracle Corporation
JVM Implementation Version 25.202-b08
Java Runtime OpenJDK Runtime Environment
Java VM OpenJDK 64-Bit Server VM

Operating System Linux 5.4.0-42-generic
OS Architecture amd64
Application Server Container Apache Tomcat/8.5.42
Database type postgres72
Database JNDI address postgres72 jdbc:postgresql://localhost:5432/jiradb2
Database URL jdbc:postgresql://localhost:5432/jiradb2
Database version 9.6.17

Currently, there are only 3~4 users using the system.

Whenever I grant for administrator session to access system information, JIRA kept asking log in again and constantly lose my session info. 

So I changed jira-config.properties file to disable websudo as below.

jira.websudo.is.disabled true
jira.websudo.timeout 10

I checked the system info shows those values are stored.

Since then, I have to log in again for whatever I updated on jira pages. 

I am using chrome browser for this and how to solve this issue?

 

 

1 answer

1 accepted

0 votes
Answer accepted
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 24, 2020

Hi,

Sorry to hear about this problem.  I understand that you're running Jira Sever and finding that visiting pages appears to frequently have your session logged out again and again.  This is actually a common scenario to see when running other Atlassian server products together on the same site domain, such as Confluence, and/or Bitbucket. 

We have a helpful KB for this problem over in User unexpectedly logged out of Jira server.  There are a couple of different ways to work-around this problem, such as using a context-path for each application OR using subdomains for each application.  Both ways can then allow for your browser session cookies to avoid being overwritten just because you then used another Atlassian application running on the same domain.

Check out that guide and let me know if that helps.

Andy

omorobot August 24, 2020

Thanks for the comment.

I actually solved this issue by changing the base url or each service

as before

confluence : http://local_ip:8090

jira: http://local_ip:8080

to

confluence : http://local_ip:8090/confluence

jira: http://local_ip:8080/jira

After switching to different base url, there is no problem so far.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events