Login failed with request has arrived WITHOUT a JSESSIONID cookie

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the server and data center platforms.

Problem

Users are not able to login JIRA application and keeps getting redirected back to the login page without any error. 

The following appears in the atlassian-jira-security.log

2015-12-28 09:57:47,662 http-nio-8704-exec-10 admin 597x173x1 - 127.0.0.1 /rest/gadget/1.0/login The user 'admin' has PASSED authentication.
2015-12-28 09:57:47,670 analyticsEventProcessor:thread-1 anonymous     Setting JIRA Auth Context to be  'anonymous'
2015-12-28 09:57:47,671 analyticsEventProcessor:thread-1 anonymous     Setting JIRA Auth Context to be  'anonymous'
2015-12-28 09:57:47,674 http-nio-8704-exec-10 admin 597x173x1 14nnevm 127.0.0.1 /rest/gadget/1.0/login Gadget login called with lastLoginResult : com.atlassian.jira.bc.security.login.LoginResultImpl@3fcc3085[reason=OK,loginInfo=com.atlassian.jira.bc.security.login.LoginInfoImpl@4f0efad5[lastLoginTime=1451267867635,previousLoginTime=1451267834825,loginCount=121,currentFailedLoginCount=0,totalFailedLoginCount=<null>,lastFailedLoginTime=<null>,elevatedSecurityCheckRequired=false,maxAuthenticationAttemptsAllowed=3],userName=admin,deniedReasons=[]]
2015-12-28 09:57:47,697 http-nio-8704-exec-8 anonymous 597x174x1 - 127.0.0.1 / There is no cookie header.
2015-12-28 09:57:47,698 http-nio-8704-exec-8 anonymous 597x174x1 - 127.0.0.1 / The request has arrived WITHOUT a JSESSIONID cookie
2015-12-28 09:57:47,706 http-nio-8704-exec-16 anonymous 597x175x1 - 127.0.0.1 /secure/MyJiraHome.jspa There is no cookie header.
2015-12-28 09:57:47,707 http-nio-8704-exec-16 anonymous 597x175x1 - 127.0.0.1 /secure/MyJiraHome.jspa The request has arrived WITHOUT a JSESSIONID cookie
2015-12-28 09:57:47,711 http-nio-8704-exec-16 anonymous 597x175x1 - 127.0.0.1 /secure/MyJiraHome.jspa HttpSession created [1wzw0uv]
2015-12-28 09:57:47,726 http-nio-8704-exec-11 anonymous 597x176x1 - 127.0.0.1 /secure/Dashboard.jspa There is no cookie header.
2015-12-28 09:57:47,726 http-nio-8704-exec-11 anonymous 597x176x1 - 127.0.0.1 /secure/Dashboard.jspa The request has arrived WITHOUT a JSESSIONID cookie
2015-12-28 09:57:47,729 http-nio-8704-exec-11 anonymous 597x176x1 - 127.0.0.1 /secure/Dashboard.jspa HttpSession created [6b5w9s]
2015-12-28 09:57:47,730 http-nio-8704-exec-11 anonymous 597x176x1 - 127.0.0.1 /secure/Dashboard.jspa Gadget login called with lastLoginResult : null
2015-12-28 09:57:47,731 analyticsEventProcessor:thread-1 anonymous     Setting JIRA Auth Context to be  'anonymous'

Diagnosis

  • No SSL and/or proxy configured
  • Username and password is entered correctly

Cause

There is an extra secure="true" argument in the <JIRA_INSTALL>\conf\server.xml file despite no SSL is configured.

        <Connector port="8080"
                   maxThreads="150"
                   minSpareThreads="25"
                   connectionTimeout="20000"
                   secure="true"
                   enableLookups="false"
                   maxHttpHeaderSize="8192"
                   protocol="HTTP/1.1"
                   useBodyEncodingForURI="true"
                   redirectPort="8443"
                   acceptCount="100"
                   disableUploadTimeout="true"/>

 

Resolution

Remove the secure="true" argument and restart JIRA.

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.