Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] migration woes from version 9 to 10 - possible character encoding issue
  • From: Bryan Coleman <bryan.coleman@xxxxxxxx>
  • Date: Wed, 24 Aug 2022 17:03:10 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=dart.biz; dmarc=pass action=none header.from=dart.biz; dkim=pass header.d=dart.biz; 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=r1ffr/JIS3DqaBCyp4DpSBdIh2N5+zE8MpMGedE2Rko=; b=ELNASHB3QY46H4uz4+/lEtLfzAYIEcaP3pNWfYjli5eha7YtznB+x8PnXbX6yZuDxzDpi2ajeW7O++Ev6fMuzMI0+jgxdBVmQJhuzf/IldDtrCuaAo0RLTdr37tlRJn3IxKc1wr11p8BP5yJM1ZadXYtcNr+aqaAGa0K3ef3yawFs9ix36ZYvZ+cwP0W6Ki7c2CFtcpLfN6Cco5pZ1E0bECd4Vkgsy02r9ig4H0IS6CYUIOc1G1UnWIUmVW745aUFXfZfUGCQeNJ7sYMdxDA0Tm7T8PFTXc83c4WJA9y0cA7iAu0PiSky0GYw08ZXuzR4aLfb08iDlBwlakG6vhdEA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CJ/ZYdkh/XoV4z1OjQY2KXeRKQca7Xu5al3Z+cP1HINKyQNfE5+IrTC9sbbmYN1JrhIWmo8ZlXKAvzAoqXKSVDNQiRMS5NYFf2MxN5pI/KMKZiN+SZWHabsBZMSvJ/23ZEjLjSPyfyXfXVe0cn/IZPRkrIflRXNTcEFsUOoKTw8Q3yw7c6jnjaZllaousrbECUm77j471HQvwqbVCyv8eKVPxqnVbwgShthmDP9gf1Niv9JzT38qMkUzO6nwPvzPPhkPmrNSf7FPfz0HfQT9P2jOjH7SQvrFVEwAwTRa/cTQYyMMUuT6C2BkC46dn3+9A2uKkFh2jPIQLUaobzkOXw==
  • 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: AQHYsjLBBXbI7TDmsEykBqBgXPJjta20JhwAgABlL/CACZFhAA==
  • Thread-topic: [jetty-users] migration woes from version 9 to 10 - possible character encoding issue

Including logs to show what I am seeing in hopes that someone will have an idea of additional things to check.

----------------------------------------FAILURE-------------------------------------------
2022-08-24 09:27:33,444 [qtp1219102739-47] DEBUG org.eclipse.jetty.http.HttpParser - HEADER --> CONTENT
2022-08-24 09:27:33,445 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpInput - reopen HttpInput@696818364 cs=HttpChannelState@79c120f1{s=IDLE rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true al=0} cp=org.eclipse.jetty.server.BlockingContentProducer@70ea4015 eof=false
2022-08-24 09:27:33,449 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.BlockingContentProducer - reopening org.eclipse.jetty.server.BlockingContentProducer@70ea4015
2022-08-24 09:27:33,449 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.AsyncContentProducer - reopening AsyncContentProducer@36a0e6a1[r=null,t=null,i=null,error=false,c=HttpChannelOverHttp@3bd97e52{s=HttpChannelState@79c120f1{s=IDLE rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true al=0},r=1,c=false/false,a=IDLE,uri=null,age=4}]
2022-08-24 09:27:33,449 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpChannel - REQUEST for /static/ on HttpChannelOverHttp@3bd97e52{s=HttpChannelState@79c120f1{s=IDLE rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true al=0},r=1,c=false/false,a=IDLE,uri=http://system1:8180/static/,age=4}
GET /static/ HTTP/1.1
Host: system1:8180
Connection: keep-alive
Cache-Control: max-age=0
sec-ch-ua: "Chromium";v="104", " Not A;Brand";v="99", "Google Chrome";v="104"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Linux"
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 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: none
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: document
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Cookie: username=myuser; JSESSIONID=node0hxh8nx4nboor1lkdrlsc3q8is0.node0

2022-08-24 09:27:33,450 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpConnection - releaseRequestBuffer HttpConnection@565b3be0::DecryptedEndPoint@531eca71[{l=/192.168.1.1:8180,r=/192.168.1.1:45378,OPEN,fill=-,flush=-,to=177/500000}]
2022-08-24 09:27:33,450 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpChannel - handle http://system1:8180/static/ HttpChannelOverHttp@3bd97e52{s=HttpChannelState@79c120f1{s=IDLE rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true al=0},r=1,c=false/false,a=IDLE,uri=http://system1:8180/static/,age=5}
2022-08-24 09:27:33,450 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpChannelState - handling HttpChannelState@79c120f1{s=IDLE rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true al=0}
2022-08-24 09:27:33,450 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpChannel - action DISPATCH HttpChannelOverHttp@3bd97e52{s=HttpChannelState@79c120f1{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true al=0},r=1,c=false/false,a=HANDLING,uri=http://system1:8180/static/,age=5}
2022-08-24 09:27:33,451 [qtp1219102739-47] DEBUG org.eclipse.jetty.util.ssl.X509 - Certificate alias=null SAN dns=system1 in X509@43d9277d(null,h=[],a=[],w=[])
2022-08-24 09:27:33,451 [qtp1219102739-47] DEBUG org.eclipse.jetty.util.ssl.X509 - Certificate alias=null SAN dns=system1.website.com in X509@43d9277d(null,h=[system1],a=[],w=[])
2022-08-24 09:27:33,451 [qtp1219102739-47] DEBUG org.eclipse.jetty.util.ssl.X509 - Certificate alias=null SAN ip=192.168.1.1 in X509@43d9277d(null,h=[system1, system1.website.com],a=[],w=[])
2022-08-24 09:27:33,451 [qtp1219102739-47] DEBUG org.eclipse.jetty.util.ssl.X509 - Certificate CN alias=null CN=system1.website.com in X509@43d9277d(null,h=[system1, system1.website.com],a=[/192.168.1.1],w=[])
2022-08-24 09:27:33,451 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.SecureRequestCustomizer - Host=system1, SNI=system1, SNI Certificate=X509@43d9277d(null,h=[system1, system1.website.com],a=[/192.168.1.1],w=[])
2022-08-24 09:27:33,452 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.Server - REQUEST GET /static/ ?null on HttpChannelOverHttp@3bd97e52{s=HttpChannelState@79c120f1{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true al=0},r=1,c=false/false,a=HANDLING,uri=https://system1:8180/static/,age=7}
2022-08-24 09:27:33,452 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.handler.ContextHandler - scope null||/static/ @ o.e.j.s.ServletContextHandler@21698e5a{/,file:///home/00/myuser/projects/projectY/,AVAILABLE}
2022-08-24 09:27:33,452 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.handler.ContextHandler - context=||/static/ @ o.e.j.s.ServletContextHandler@21698e5a{/,file:///home/00/myuser/projects/projectY/,AVAILABLE}
2022-08-24 09:27:33,453 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.session.SessionHandler - Entering scope org.eclipse.jetty.server.session.SessionHandler1212351214==dftMaxIdleSec=7200, dispatch=REQUEST asyncstarted=false
2022-08-24 09:27:33,454 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.session.SessionHandler - Got Session ID node0hxh8nx4nboor1lkdrlsc3q8is0.node0 from cookie JSESSIONID
2022-08-24 09:27:33,455 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.session.AbstractSessionCache - Session node0hxh8nx4nboor1lkdrlsc3q8is0 not found locally in org.eclipse.jetty.server.session.DefaultSessionCache@6297cb4b[evict=-1,removeUnloadable=false,saveOnCreate=false,saveOnInactiveEvict=false], attempting to load
2022-08-24 09:27:33,455 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.session.AbstractSessionCache - Session node0hxh8nx4nboor1lkdrlsc3q8is0 not loaded by store
2022-08-24 09:27:33,455 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.session.SessionHandler - No session found for session cookie id node0hxh8nx4nboor1lkdrlsc3q8is0.node0
2022-08-24 09:27:33,455 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.session.SessionHandler - sessionHandler=org.eclipse.jetty.server.session.SessionHandler1212351214==dftMaxIdleSec=7200 session=null
2022-08-24 09:27:33,456 [qtp1219102739-47] DEBUG org.eclipse.jetty.servlet.ServletHandler - servlet |/static/|null|ServletPathMapping{matchValue=, pattern=/, servletName=com.website.department.projectY.reporter.MyDefaultServlet-56402642, mappingMatch=DEFAULT, servletPath=/static/, pathInfo=null} -> com.website.department.projectY.reporter.MyDefaultServlet-56402642==com.website.department.projectY.reporter.MyDefaultServlet@3b37a6ba{jsp=null,order=-1,inst=false,async=true,src=EMBEDDED:null,STARTED}
2022-08-24 09:27:33,465 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpChannelState - sendError HttpChannelState@79c120f1{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true al=0}
2022-08-24 09:27:33,466 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.session.SessionHandler - Leaving scope org.eclipse.jetty.server.session.SessionHandler1212351214==dftMaxIdleSec=7200 dispatch=REQUEST, async=false, session=null, oldsession=null, oldsessionhandler=null
2022-08-24 09:27:33,466 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.Server - handled=true async=false committed=true on HttpChannelOverHttp@3bd97e52{s=HttpChannelState@79c120f1{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=true i=true al=0},r=1,c=false/false,a=HANDLING,uri=https://system1:8180/static/,age=21}
2022-08-24 09:27:33,466 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpChannelState - unhandle HttpChannelState@79c120f1{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=true i=true al=0}
2022-08-24 09:27:33,466 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpChannelState - nextAction(false) SEND_ERROR HttpChannelState@79c120f1{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=false al=0}
2022-08-24 09:27:33,466 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpChannel - action SEND_ERROR HttpChannelOverHttp@3bd97e52{s=HttpChannelState@79c120f1{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=false al=0},r=1,c=false/false,a=HANDLING,uri=https://system1:8180/static/,age=21}
2022-08-24 09:27:33,466 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpInput - consumeAll HttpInput@696818364 cs=HttpChannelState@79c120f1{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=false al=0} cp=org.eclipse.jetty.server.BlockingContentProducer@70ea4015 eof=false
2022-08-24 09:27:33,466 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpChannelOverHttp - failing all content with org.eclipse.jetty.util.StaticException: Unconsumed content HttpChannelOverHttp@3bd97e52{s=HttpChannelState@79c120f1{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=false al=0},r=1,c=false/false,a=HANDLING,uri=https://system1:8180/static/,age=21}
2022-08-24 09:27:33,466 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpChannelOverHttp - produceContent has no content, parsing and filling
2022-08-24 09:27:33,466 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpConnection - HttpConnection@565b3be0::DecryptedEndPoint@531eca71[{l=/192.168.1.1:8180,r=/192.168.1.1:45378,OPEN,fill=-,flush=-,to=194/500000}] parse null
2022-08-24 09:27:33,466 [qtp1219102739-47] DEBUG org.eclipse.jetty.http.HttpParser - parseNext s=CONTENT HeapByteBuffer@5759ef46[p=0,l=0,c=0,r=0]={<<<>>>}
2022-08-24 09:27:33,467 [qtp1219102739-47] DEBUG org.eclipse.jetty.http.HttpParser - CONTENT --> CONTENT_END
2022-08-24 09:27:33,467 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpChannel - onContentComplete HttpChannelOverHttp@3bd97e52{s=HttpChannelState@79c120f1{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=false al=0},r=1,c=false/false,a=HANDLING,uri=https://system1:8180/static/,age=22}
2022-08-24 09:27:33,467 [qtp1219102739-47] DEBUG org.eclipse.jetty.http.HttpParser - CONTENT_END --> END
2022-08-24 09:27:33,467 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpChannel - onRequestComplete HttpChannelOverHttp@3bd97e52{s=HttpChannelState@79c120f1{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=false al=0},r=1,c=false/false,a=HANDLING,uri=https://system1:8180/static/,age=22}
2022-08-24 09:27:33,467 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpChannelOverHttp - received EOF, content = null
2022-08-24 09:27:33,467 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpConnection - HttpConnection@565b3be0::DecryptedEndPoint@531eca71[{l=/192.168.1.1:8180,r=/192.168.1.1:45378,OPEN,fill=-,flush=-,to=194/500000}] parsed false HttpParser{s=END,0 of -1}
2022-08-24 09:27:33,467 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpChannelOverHttp - produceContent produced EofContent
2022-08-24 09:27:33,467 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpChannelOverHttp - failed all content, EOF = true
2022-08-24 09:27:33,467 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.AsyncContentProducer - failed all content of http channel EOF=true AsyncContentProducer@36a0e6a1[r=ErrorContent [org.eclipse.jetty.util.StaticException: Unconsumed content],t=ErrorContent [org.eclipse.jetty.util.StaticException: Unconsumed content],i=null,error=false,c=HttpChannelOverHttp@3bd97e52{s=HttpChannelState@79c120f1{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=false al=0},r=1,c=false/false,a=HANDLING,uri=https://system1:8180/static/,age=22}]
2022-08-24 09:27:33,467 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpInput - isFinished=true HttpInput@696818364 cs=HttpChannelState@79c120f1{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=false al=0} cp=org.eclipse.jetty.server.BlockingContentProducer@70ea4015 eof=true
2022-08-24 09:27:33,467 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.AsyncContentProducer - isError = false AsyncContentProducer@36a0e6a1[r=ErrorContent [org.eclipse.jetty.util.StaticException: Unconsumed content],t=ErrorContent [org.eclipse.jetty.util.StaticException: Unconsumed content],i=null,error=false,c=HttpChannelOverHttp@3bd97e52{s=HttpChannelState@79c120f1{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=false al=0},r=1,c=false/false,a=HANDLING,uri=https://system1:8180/static/,age=22}]
2022-08-24 09:27:33,467 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpInput - isError=false HttpInput@696818364 cs=HttpChannelState@79c120f1{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=false al=0} cp=org.eclipse.jetty.server.BlockingContentProducer@70ea4015 eof=true
2022-08-24 09:27:33,470 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpChannelState - completing HttpChannelState@79c120f1{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=false al=0}
2022-08-24 09:27:33,471 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpChannel - sendResponse info=null content=DirectByteBuffer@13e5d427[p=0,l=517,c=32768,r=517]={<<<<html>\n<head>\n<meta http-...<hr/>\n\n</body>\n</html>\n>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00} complete=true committing=true callback=org.eclipse.jetty.util.Callback$3@c99132f
2022-08-24 09:27:33,471 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpChannel - COMMIT for /static/ on HttpChannelOverHttp@3bd97e52{s=HttpChannelState@79c120f1{s=HANDLING rs=COMPLETING os=COMMITTED is=IDLE awp=false se=false i=false al=0},r=1,c=false/false,a=HANDLING,uri=https://system1:8180/static/,age=26}
401 null HTTP/1.1
WWW-Authenticate: NEGOTIATE
Cache-Control: must-revalidate,no-cache,no-store
Content-Type: text/html;charset=iso-8859-1


2022-08-24 09:27:33,472 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpConnection - generate: NEED_HEADER for SendCallback@3c8f41fa[PROCESSING][i=HTTP/1.1{s=401,h=3,cl=-1},cb=org.eclipse.jetty.server.HttpChannel$SendCallback@71209fc3] (null,[p=0,l=517,c=32768,r=517],true)@START
2022-08-24 09:27:33,472 [qtp1219102739-47] DEBUG org.eclipse.jetty.http.HttpGenerator - generateHeaders HTTP/1.1{s=401,h=3,cl=-1} last=true content=DirectByteBuffer@13e5d427[p=0,l=517,c=32768,r=517]={<<<<html>\n<head>\n<meta http-...<hr/>\n\n</body>\n</html>\n>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00}
2022-08-24 09:27:33,472 [qtp1219102739-47] DEBUG org.eclipse.jetty.http.HttpGenerator - WWW-Authenticate: NEGOTIATE
Cache-Control: must-revalidate,no-cache,no-store
Content-Type: text/html;charset=iso-8859-1


2022-08-24 09:27:33,473 [qtp1219102739-47] DEBUG org.eclipse.jetty.http.HttpGenerator - CONTENT_LENGTH
2022-08-24 09:27:33,473 [qtp1219102739-47] DEBUG org.eclipse.jetty.server.HttpConnection - generate: FLUSH for SendCallback@3c8f41fa[PROCESSING][i=HTTP/1.1{s=401,h=3,cl=-1},cb=org.eclipse.jetty.server.HttpChannel$SendCallback@71209fc3] ([p=0,l=197,c=16384,r=197],[p=0,l=517,c=32768,r=517],true)@COMPLETING

---------------------------------END OF FAILURE-------------------------------------

---------------------------------GOOD---------------------------------------------------
2022-08-24 09:27:15,387 [qtp1919782816-48] DEBUG org.eclipse.jetty.http.HttpParser - HEADER --> CONTENT
2022-08-24 09:27:15,387 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.HttpInput - reopen HttpInput@1323917208 cs=HttpChannelState@b67e666{s=IDLE rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true al=0} cp=org.eclipse.jetty.server.BlockingContentProducer@10db7847 eof=true
2022-08-24 09:27:15,387 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.BlockingContentProducer - reopening org.eclipse.jetty.server.BlockingContentProducer@10db7847
2022-08-24 09:27:15,387 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.AsyncContentProducer - reopening AsyncContentProducer@110dc497[r=ErrorContent [org.eclipse.jetty.util.StaticException: Unconsumed content],t=ErrorContent [org.eclipse.jetty.util.StaticException: Unconsumed content],i=null,error=false,c=HttpChannelOverHttp@410e8128{s=HttpChannelState@b67e666{s=IDLE rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true al=0},r=4,c=false/false,a=IDLE,uri=null,age=0}]
2022-08-24 09:27:15,387 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.HttpChannel - REQUEST for /static/ on HttpChannelOverHttp@410e8128{s=HttpChannelState@b67e666{s=IDLE rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true al=0},r=4,c=false/false,a=IDLE,uri=http://system1:8180/static/,age=0}
GET /static/ HTTP/1.1
Host: system1:8180
Connection: keep-alive
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 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: none
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: document
sec-ch-ua: "Chromium";v="104", " Not A;Brand";v="99", "Google Chrome";v="104"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Linux"
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Cookie: username=myuser; JSESSIONID=node0hxh8nx4nboor1lkdrlsc3q8is0.node0


2022-08-24 09:27:15,387 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.HttpConnection - HttpConnection@4ec91c72::DecryptedEndPoint@719ac3e1[{l=/192.168.1.1:8180,r=/192.168.1.1:58400,OPEN,fill=-,flush=-,to=13246/500000}] parsed true HttpParser{s=CONTENT,0 of -1}
2022-08-24 09:27:15,387 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.HttpConnection - releaseRequestBuffer HttpConnection@4ec91c72::DecryptedEndPoint@719ac3e1[{l=/192.168.1.1:8180,r=/192.168.1.1:58400,OPEN,fill=-,flush=-,to=13246/500000}]
2022-08-24 09:27:15,387 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.HttpChannel - handle http://system1:8180/static/ HttpChannelOverHttp@410e8128{s=HttpChannelState@b67e666{s=IDLE rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true al=0},r=4,c=false/false,a=IDLE,uri=http://system1:8180/static/,age=0}
2022-08-24 09:27:15,387 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.HttpChannelState - handling HttpChannelState@b67e666{s=IDLE rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true al=0}
2022-08-24 09:27:15,387 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.HttpChannel - action DISPATCH HttpChannelOverHttp@410e8128{s=HttpChannelState@b67e666{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true al=0},r=4,c=false/false,a=HANDLING,uri=http://system1:8180/static/,age=0}
2022-08-24 09:27:15,388 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.SecureRequestCustomizer - Host=system1, SNI=system1, SNI Certificate=X509@3e41a5c9(null,h=[system1, system1.website.com],a=[/192.168.1.1],w=[])
2022-08-24 09:27:15,388 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.Server - REQUEST GET /static/ ?null on HttpChannelOverHttp@410e8128{s=HttpChannelState@b67e666{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true al=0},r=4,c=false/false,a=HANDLING,uri=https://system1:8180/static/,age=1}
2022-08-24 09:27:15,388 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.handler.ContextHandler - scope null||/static/ @ o.e.j.s.ServletContextHandler@5513a46b{/,file:///home/00/myuser/projects/projectY/,AVAILABLE}
2022-08-24 09:27:15,388 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.handler.ContextHandler - context=||/static/ @ o.e.j.s.ServletContextHandler@5513a46b{/,file:///home/00/myuser/projects/projectY/,AVAILABLE}
2022-08-24 09:27:15,388 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.session.SessionHandler - Entering scope org.eclipse.jetty.server.session.SessionHandler1717080658==dftMaxIdleSec=7200, dispatch=REQUEST asyncstarted=false
2022-08-24 09:27:15,388 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.session.SessionHandler - Got Session ID node0hxh8nx4nboor1lkdrlsc3q8is0.node0 from cookie JSESSIONID
2022-08-24 09:27:15,388 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.session.AbstractSessionCache - Session node0hxh8nx4nboor1lkdrlsc3q8is0 not found locally in org.eclipse.jetty.server.session.DefaultSessionCache@57806346[evict=-1,removeUnloadable=false,saveOnCreate=false,saveOnInactiveEvict=false], attempting to load
2022-08-24 09:27:15,388 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.session.AbstractSessionCache - Session node0hxh8nx4nboor1lkdrlsc3q8is0 not loaded by store
2022-08-24 09:27:15,388 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.session.SessionHandler - No session found for session cookie id node0hxh8nx4nboor1lkdrlsc3q8is0.node0
2022-08-24 09:27:15,388 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.session.SessionHandler - sessionHandler=org.eclipse.jetty.server.session.SessionHandler1717080658==dftMaxIdleSec=7200 session=null
2022-08-24 09:27:15,388 [qtp1919782816-48] DEBUG org.eclipse.jetty.servlet.ServletHandler - servlet |/static/|null|ServletPathMapping{matchValue=, pattern=/, servletName=com.website.department.projectY.reporter.MyDefaultServlet-460aa24e, mappingMatch=DEFAULT, servletPath=/static/, pathInfo=null} -> com.website.department.projectY.reporter.MyDefaultServlet-460aa24e==com.website.department.projectY.reporter.MyDefaultServlet@cf4ae5b0{jsp=null,order=-1,inst=true,async=true,src=EMBEDDED:null,STARTED}
2022-08-24 09:27:15,388 [qtp1919782816-48] DEBUG org.eclipse.jetty.servlet.ServletHandler - ServletHandler@21ed4a51{STARTED} cached filter chain for REQUEST: ChainEnd@39ae32ca(com.website.department.projectY.reporter.MyDefaultServlet-460aa24e==com.website.department.projectY.reporter.MyDefaultServlet@cf4ae5b0{jsp=null,order=-1,inst=true,async=true,src=EMBEDDED:null,STARTED})
2022-08-24 09:27:15,388 [qtp1919782816-48] DEBUG org.eclipse.jetty.servlet.ServletHandler - chain=ChainEnd@39ae32ca(com.website.department.projectY.reporter.MyDefaultServlet-460aa24e==com.website.department.projectY.reporter.MyDefaultServlet@cf4ae5b0{jsp=null,order=-1,inst=true,async=true,src=EMBEDDED:null,STARTED})
2022-08-24 09:27:15,389 [qtp1919782816-48] DEBUG org.eclipse.jetty.servlet.DefaultServlet - Resource /static/=file:///home/00/myuser/projects/projectY/static/
2022-08-24 09:27:15,389 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.ResourceService - content=ResourceHttpContent@5c16c46a{r=file:///home/00/myuser/projects/projectY/static/,ct=null,c=false}
2022-08-24 09:27:15,391 [qtp1919782816-48] DEBUG org.eclipse.jetty.servlet.DefaultServlet - Resource /static/index.html=file:///home/00/myuser/projects/projectY/static/index.html
2022-08-24 09:27:15,392 [qtp1919782816-48] DEBUG org.eclipse.jetty.servlet.DefaultServlet - Resource /static/index.jsp=file:///home/00/myuser/projects/projectY/static/index.jsp
2022-08-24 09:27:15,448 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.HttpOutput - write(array HeapByteBuffer@1a80094a[p=0,l=5679,c=5679,r=5679]={<<<<!DOCTYPE html>\n<html lan.../table>\n</body></html>\n>>>})
2022-08-24 09:27:15,448 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.HttpOutput - write(array) s=CLOSING,api=BLOCKED,sc=false,e=null last=true agg=false flush=true async=false, len=5679 null
2022-08-24 09:27:15,448 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.HttpChannel - sendResponse info=null content=HeapByteBuffer@60990cb1[p=0,l=5679,c=5679,r=5679]={<<<<!DOCTYPE html>\n<html lan.../table>\n</body></html>\n>>>} complete=true committing=true callback=Blocker@2b2ded07{null}
2022-08-24 09:27:15,448 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.HttpChannel - COMMIT for /static/ on HttpChannelOverHttp@410e8128{s=HttpChannelState@b67e666{s=HANDLING rs=BLOCKING os=COMMITTED is=IDLE awp=false se=false i=true al=0},r=4,c=false/false,a=HANDLING,uri=https://system1:8180/static/,age=61}
200 null HTTP/1.1
Date: Wed, 24 Aug 2022 13:27:15 GMT
Content-Type: text/html;charset=utf-8
Content-Length: 5679


2022-08-24 09:27:15,448 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.HttpConnection - generate: NEED_HEADER for SendCallback@1eb16081[PROCESSING][i=HTTP/1.1{s=200,h=3,cl=5679},cb=org.eclipse.jetty.server.HttpChannel$SendCallback@79e17471] (null,[p=0,l=5679,c=5679,r=5679],true)@START
2022-08-24 09:27:15,448 [qtp1919782816-48] DEBUG org.eclipse.jetty.http.HttpGenerator - generateHeaders HTTP/1.1{s=200,h=3,cl=5679} last=true content=HeapByteBuffer@60990cb1[p=0,l=5679,c=5679,r=5679]={<<<<!DOCTYPE html>\n<html lan.../table>\n</body></html>\n>>>}
2022-08-24 09:27:15,448 [qtp1919782816-48] DEBUG org.eclipse.jetty.http.HttpGenerator - Date: Wed, 24 Aug 2022 13:27:15 GMT
Content-Type: text/html;charset=utf-8
Content-Length: 5679


2022-08-24 09:27:15,448 [qtp1919782816-48] DEBUG org.eclipse.jetty.http.HttpGenerator - CONTENT_LENGTH
2022-08-24 09:27:15,448 [qtp1919782816-48] DEBUG org.eclipse.jetty.server.HttpConnection - generate: FLUSH for SendCallback@1eb16081[PROCESSING][i=HTTP/1.1{s=200,h=3,cl=5679},cb=org.eclipse.jetty.server.HttpChannel$SendCallback@79e17471] ([p=0,l=141,c=16384,r=141],[p=0,l=5679,c=5679,r=5679],true)@COMPLETING


--------------------------------END OF GOOD-----------------------------------------------------------------



-----Original Message-----
From: jetty-users <jetty-users-bounces@xxxxxxxxxxx> On Behalf Of Bryan Coleman via jetty-users
Sent: Thursday, August 18, 2022 7:50 AM
To: JETTY user mailing list <jetty-users@xxxxxxxxxxx>
Cc: Bryan Coleman <bryan.coleman@xxxxxxxx>
Subject: Re: [jetty-users] migration woes from version 9 to 10 - possible character encoding issue

Thanks for the suggestion.  

I tried adding it with no apparent change.  At this point, I am not 100% sure that the encoding is the problem; however, it is the thing that jumped out a me when digging into the issue.  The hunt continues....

Have a great day!
Bryan

-----Original Message-----
From: jetty-users <jetty-users-bounces@xxxxxxxxxxx> On Behalf Of Matthias Pfau via jetty-users
Sent: Thursday, August 18, 2022 1:42 AM
To: Bryan Coleman via jetty-users <jetty-users@xxxxxxxxxxx>
Cc: Matthias Pfau <matthias.pfau@xxxxxxxx>
Subject: Re: [jetty-users] migration woes from version 9 to 10 - possible character encoding issue

I think JVM picks up the systems default encoding if you don't override it. Did you try setting default encoding to UTF-8 by passing JVM arg at startup (-Dfile.encoding=UTF-8)?

Best,
Matthias

Aug 17, 2022, 14:13 by jetty-users@xxxxxxxxxxx:

>
> I am working to migrate a project codebase from jetty version 9.4.46 to version 10.0.11.  The set up is an embedded servlet with Kerberos authentication and works just fine when running from an IDE; however, when running it from an uber jar things go south.  When running on the working system with the jar (instead of IDE), a "HTTP Error 401 Unauthorized" response is returned; however, when running on a different system (with jar) a GSSException Invalid argument 400 - cannot find key of appropriate-type to decrypt is returned.  After comparing debug messages, the difference that jumps out is the Content-Type.  For the instance that works, the type is listed as "text/html;charset=utf-8".  For the two that do not work, it is "text/html;charset=iso-8859-1".  My suspicion is that the jar has something missing or misplaced.  That said, I did verify that the encoding.properties file existed and the contents matched those of the working one.
>
>
>  
>
>
> Any clues to where to look next?>  
>
>
>  
>
>
> Is there a global way to force jetty to use UTF-8?  If not global, some other way?  (Thought is that taking that approach could possibly quickly verify my hunch)
>
>
>  
>
>
> Thank you ahead of time for your time and suggestions!
>
>

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To unsubscribe from this list, visit https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fjetty-users&amp;data=05%7C01%7Cbryan.coleman%40dart.biz%7C667eeaa81a9142d9d91408da810fd83f%7Cd90804aba2264b3da37a256f7aba7ff1%7C0%7C0%7C637964202342888640%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=u2ztUmc8y0uBBtM3%2FEZaCI9S7K8jjgAAHIRr1Er4efY%3D&amp;reserved=0
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To unsubscribe from this list, visit https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fjetty-users&amp;data=05%7C01%7Cbryan.coleman%40dart.biz%7C667eeaa81a9142d9d91408da810fd83f%7Cd90804aba2264b3da37a256f7aba7ff1%7C0%7C0%7C637964202342888640%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=u2ztUmc8y0uBBtM3%2FEZaCI9S7K8jjgAAHIRr1Er4efY%3D&amp;reserved=0



Back to the top