Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Having issues with session instantiation from cookie by Jetty-9.4.34
  • From: Eze Ikonne <ike.ikonne@xxxxxxxxxx>
  • Date: Tue, 5 Jan 2021 03:28:15 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=aricent.com; dmarc=pass action=none header.from=aricent.com; dkim=pass header.d=aricent.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CeFStELJW9UwcVoi1ixTatIErlqJqqL/i99p7/q5pug=; b=T67w0e/IqnWa2qBL/btqlcsQxesc/nhSt5yj5X+pXR59iHCIhUO2aShQ6NzAw1Evw+JHZ5HA4b3sFPIemxLVQb8n3VGS2HvfdSRzvYh+aNNK2SHGpYIObWlyDyhoY8bUGSrHmfNfIIVSWfYAOsmhVN14vm2f9JDi6fqfmj/m0K7umdcOR03Oino8NYZGUs9JSzs1Ykm9yyTJkiCMBG7tLZFfIv/yhAn0D0bT1Ij5cGYsvDzCtysviF94pzEvj/1bv0PAXsQFkuyR1KgoCbLaOzPjz06scuONfYce69jFzUbkmjfFQy4RrNrY57Dw1CzsUxRLoiYcXnj6OgE641ctWA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Mzj1ueNc36KmJDPKrQb/ufRRC0KeGUKmveeujHwtEZf4AAD1m1gnJbg//eEoj6NFArytp0AXK2k/RM5Vq6wmectcEibdWtJKptAS/TdoqMDdrF+Z+apdH08oKQR2ivQAW07TUiyGgRzo0oIj6z2SjOKcn0rb417xEnABHR1tg1uqbvmObxkzC0RgNV5Z+/6yCz9EFtOip8xQ5/jZUsEYfU3oVgibVqOSmDhFWAkqTWqnM7WFrsEG2ax2glemFF0n599bG7L7mXamzJTohVsHwkDnTfRJvnAv1kH8oiNoFoR2nm2UJXt31wiY9DZdolyP353GqC/6HBnyDPgpvT8Pzw==
  • Delivered-to: jetty-users@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/jetty-users>
  • List-help: <mailto:jetty-users-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/jetty-users>, <mailto:jetty-users-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/jetty-users>, <mailto:jetty-users-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AdbjEj0AMG4aJ39XQQKce1uQ73z1RQ==
  • Thread-topic: Having issues with session instantiation from cookie by Jetty-9.4.34

Hi all,

 

I have the following sequence of request/response between my browser and embedded Jetty-9.4.34. I am not sure why

this happening, but I hope that someone might give me an Insight as to what is happening here. Please see the Jetty Debug

below.  Jetty is not able to instantiate the session from the cookie Any insight will be highly appreciated.

 

Request from Browser to Jetty

 

GET // xxx.xxx.xxx.xxx:18443/SSPDashboard/keepalive HTTP/1.1

Host: xxx.xxx.xxx.xxx:18443

Connection: keep-alive

Upgrade-Insecure-Requests: 1

User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9

Sec-Fetch-Site: same-origin

Sec-Fetch-Mode: navigate

Sec-Fetch-Dest: iframe

Referer: https://xxx.xxx.xxx.xxx:18443/SspJsf/faces/dispatcher.jsp

Accept-Encoding: gzip, deflate, br

Accept-Language: en-US,en;q=0.9

Cookie: JSESSIONID=1jk28dc2s7prt9zqg0yrb2faq1kmn881t05szq1c46w93gr38nq.node0; JSESSIONID=10lfyaco45qk1o5epecgjp53110asgk10ichef1gu1ozdqlaqd4.node0

 

Session Established from Cookie (1jk28dc2s7prt9zqg0yrb2faq1kmn881t05szq1c46w93gr38nq ) by Jetty

 

2020-12-23 17:46:31,034 [qtp-272100020-24] DEBUG session - Got Session ID 1jk28dc2s7prt9zqg0yrb2faq1kmn881t05szq1c46w93gr38nq.node0 from cookie

2020-12-23 17:46:31,034 [qtp-272100020-24] DEBUG session - Testing expiry on session 1jk28dc2s7prt9zqg0yrb2faq1kmn881t05szq1c46w93gr38nq: expires at 1608768989287 now 1608767191034 maxIdle 1800000

2020-12-23 17:46:31,034 [qtp-272100020-24] DEBUG session - Testing expiry on session 1jk28dc2s7prt9zqg0yrb2faq1kmn881t05szq1c46w93gr38nq: expires at 1608768991034 now 1608767191034 maxIdle 1800000

2020-12-23 17:46:31,034 [qtp-272100020-24] DEBUG session - Session 1jk28dc2s7prt9zqg0yrb2faq1kmn881t05szq1c46w93gr38nq accessed, stopping timer, active requests=1

2020-12-23 17:46:31,034 [qtp-272100020-24] DEBUG session - Cancelled timer for session 1jk28dc2s7prt9zqg0yrb2faq1kmn881t05szq1c46w93gr38nq

2020-12-23 17:46:31,035 [qtp-272100020-24] DEBUG session - sessionHandler=org.eclipse.jetty.server.session.SessionHandler-1125304579==dftMaxIdleSec=1800 session=Session@fdeeb010{id=1jk28dc2s7prt9zqg0yrb2faq1kmn881t05szq1c46w93gr38nq,x=1jk28dc2s7prt9zqg0yrb2faq1kmn881t05szq1c46w93gr38nq.node0,req=1,res=true}

 

 

Response back to Browser from Jetty

 

2020-12-23 17:46:31,039 [qtp-272100020-24] DEBUG HttpConnection - org.eclipse.jetty.server.HttpConnection$SendCallback@b6bf946d[PROCESSING][i=HTTP/1.1{s=200,h=12,cl=-1},cb=org.eclipse.jetty.server.HttpChannel$SendCallback@36b30123] generate: NEED_HEADER (null,[p=0,l=368,c=32768,r=368],true)@START

2020-12-23 17:46:31,039 [qtp-272100020-24] DEBUG HttpGenerator - generateHeaders HTTP/1.1{s=200,h=12,cl=-1} last=true content=HeapByteBuffer@1f015958[p=0,l=368,c=32768,r=368]={<<<<?xml version="1..../body>\n</html>\n>>>\x0e\x12\x0c>\xDb\xDc>\x13.\x04\xDd\xDc\x0c\x12\x12\n=...mentId); \r\n    }

2020-12-23 17:46:31,039 [qtp-272100020-24] DEBUG HttpGenerator - cache-control: no-store, no-cache, must-revalidate

pragma: no-cache

X-Frame-Options: SAMEORIGIN

X-Content-Type-Options: nosniff

X-XSS-Protection: 1

Strict-Transport-Security: max-age=31536000; includeSubDomains; preload

Referrer-Policy: same-origin

Content-Security-Policy: unsafe-inline

Set-Cookie: JSESSIONID=1jk28dc2s7prt9zqg0yrb2faq1kmn881t05szq1c46w93gr38nq.node0; Secure; HttpOnly

Expires: Thu, 01 Jan 1970 00:00:00 GMT

Set-Cookie: JSESSIONID=10lfyaco45qk1o5epecgjp53110asgk10ichef1gu1ozdqlaqd4.node0; Secure; HttpOnly

Content-Type: text/html;charset=utf-8

 

Next Request from Browser to Jetty

 

GET // xxx.xxx.xxx.xxx:18443/SSPDashboard/resources/KeepAlive.css HTTP/1.1

Host: xxx.xxx.xxx.xxx:18443

Connection: keep-alive

User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36

Accept: text/css,*/*;q=0.1

Sec-Fetch-Site: same-origin

Sec-Fetch-Mode: no-cors

Sec-Fetch-Dest: style

Referer: https:// xxx.xxx.xxx.xxx:18443/SSPDashboard/keepalive

Accept-Encoding: gzip, deflate, br

Accept-Language: en-US,en;q=0.9

Cookie: JSESSIONID=10lfyaco45qk1o5epecgjp53110asgk10ichef1gu1ozdqlaqd4.node0; JSESSIONID=10lfyaco45qk1o5epecgjp53110asgk10ichef1gu1ozdqlaqd4.node0; JSESSIONID=10lfyaco45qk1o5epecgjp53110asgk10ichef1gu1ozdqlaqd4.node0

 

Session could not be established by Jetty (Why?)

2020-12-23 17:46:31,185 [qtp-272100020-19] DEBUG session - Got Session ID 10lfyaco45qk1o5epecgjp53110asgk10ichef1gu1ozdqlaqd4.node0 from cookie

2020-12-23 17:46:31,185 [qtp-272100020-19] DEBUG session - Session 10lfyaco45qk1o5epecgjp53110asgk10ichef1gu1ozdqlaqd4 not found locally, attempting to load

2020-12-23 17:46:31,185 [qtp-272100020-19] DEBUG session - Got Session ID 10lfyaco45qk1o5epecgjp53110asgk10ichef1gu1ozdqlaqd4.node0 from cookie

2020-12-23 17:46:31,185 [qtp-272100020-19] DEBUG session - Session 10lfyaco45qk1o5epecgjp53110asgk10ichef1gu1ozdqlaqd4 not found locally, attempting to load

2020-12-23 17:46:31,185 [qtp-272100020-19] DEBUG session - Got Session ID 10lfyaco45qk1o5epecgjp53110asgk10ichef1gu1ozdqlaqd4.node0 from cookie

2020-12-23 17:46:31,185 [qtp-272100020-19] DEBUG session - Session 10lfyaco45qk1o5epecgjp53110asgk10ichef1gu1ozdqlaqd4 not found locally, attempting to load

2020-12-23 17:46:31,185 [qtp-272100020-19] DEBUG session - sessionHandler=org.eclipse.jetty.server.session.SessionHandler-1125304579==dftMaxIdleSec=1800 session=null

2020-12-23 17:46:31,185 [qtp-272100020-19] DEBUG session - Got Session ID 10lfyaco45qk1o5epecgjp53110asgk10ichef1gu1ozdqlaqd4.node0 from cookie

2020-12-23 17:46:31,185 [qtp-272100020-19] DEBUG session - Session 10lfyaco45qk1o5epecgjp53110asgk10ichef1gu1ozdqlaqd4 not found locally, attempting to load

2020-12-23 17:46:31,185 [qtp-272100020-19] DEBUG session - Got Session ID 10lfyaco45qk1o5epecgjp53110asgk10ichef1gu1ozdqlaqd4.node0 from cookie

2020-12-23 17:46:31,185 [qtp-272100020-19] DEBUG session - Session 10lfyaco45qk1o5epecgjp53110asgk10ichef1gu1ozdqlaqd4 not found locally, attempting to load

2020-12-23 17:46:31,185 [qtp-272100020-19] DEBUG session - Got Session ID 10lfyaco45qk1o5epecgjp53110asgk10ichef1gu1ozdqlaqd4.node0 from cookie

2020-12-23 17:46:31,185 [qtp-272100020-19] DEBUG session - Session 10lfyaco45qk1o5epecgjp53110asgk10ichef1gu1ozdqlaqd4 not found locally, attempting to load

2020-12-23 17:46:31,185 [qtp-272100020-19] DEBUG session - sessionHandler=org.eclipse.jetty.server.session.SessionHandler-1125304579==dftMaxIdleSec=1800 session=null

 

=====================================================
Please refer to https://northamerica.altran.com/email-disclaimer
for important disclosures regarding this electronic communication.
=====================================================

Back to the top