Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Getting HTTP 403 instead of logon page

Ike,

You're going to have to check your security constraints in web.xml (or web-fragment.xml, or wherever you've configured them) for the url /SSPDashboard/.

cheers
Jan

On 30 May 2018 at 17:54, Ike Ikonne <iikonne@xxxxxxxxxx> wrote:
Hi all,

I have not been able to get my application to display the logon.jsp ever since I upgraded
to Jetty-9.4.9. I have tried both secure and non-secured connection, but I keep getting

"HTTP 403 !Secue" back from Jetty. I have attached a dump from the Jetty server here in
this mail. Please any help will be appreciated as I am behind the upgrade project to jetty-9.4.9

Thanks,

Ike



2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - parseNext s=START HeapByteBuffer@dd4bae89[p=0,l=337,c=8192,r=337]={<<<GET /SSPDashboard...Requests: 1\r\n\r\n>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - START --> SPACE1
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - SPACE1 --> URI
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - URI --> SPACE2
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - SPACE2 --> REQUEST_VERSION
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - REQUEST_VERSION --> HEADER
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - HEADER:Host: 127.0.0.1:7777 --> IN_VALUE
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - HEADER:Host: 127.0.0.1:7777 --> FIELD
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - HEADER:User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 --> IN_VALUE
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - HEADER:User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 --> FIELD
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - HEADER:Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 --> IN_VALUE
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - HEADER:Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 --> FIELD
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - HEADER:Accept-Language: en-US,en;q=0.5 --> IN_VALUE
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - HEADER:Accept-Language: en-US,en;q=0.5 --> FIELD
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - HEADER:Accept-Encoding: gzip, deflate --> IN_VALUE
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - HEADER:Accept-Encoding: gzip, deflate --> FIELD
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - HEADER:Connection: keep-alive --> IN_VALUE
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - HEADER:Connection: keep-alive --> FIELD
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - HEADER:null --> IN_NAME
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - HEADER:null --> VALUE
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - HEADER:null --> IN_VALUE
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - HEADER:null --> FIELD
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - HEADER --> END
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpChannel - REQUEST for //127.0.0.1:7777/SSPDashboard/ on HttpChannelOverHttp@858adad3{r=2,c=false,a=IDLE,uri=//127.0.0.1:7777/SSPDashboard/,age=0}
GET //127.0.0.1:7777/SSPDashboard/ HTTP/1.1
Host: 127.0.0.1:7777
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
Upgrade-Insecure-Requests: 1


2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpChannel - HttpChannelOverHttp@858adad3{r=2,c=false,a=IDLE,uri=//127.0.0.1:7777/SSPDashboard/,age=0} onContentComplete
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpChannel - HttpChannelOverHttp@858adad3{r=2,c=false,a=IDLE,uri=//127.0.0.1:7777/SSPDashboard/,age=0} onRequestComplete
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpInput - HttpInputOverHTTP@aae3f27f[c=0,q=0,[0]=null,s=STREAM] addContent EOF
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpConnection - HttpConnection@21f56b77[p=HttpParser{s=END,0 of -1},g=HttpGenerator@aac2a5be{s=START}]=>HttpChannelOverHttp@858adad3{r=2,c=false,a=IDLE,uri=//127.0.0.1:7777/SSPDashboard/,age=0}<-SocketChannelEndPoint@b3d57a7a{/127.0.0.1:58357<->/127.0.0.1:7777,OPEN,fill=-,flush=-,to=0/30000}{io=0/0,kio=0,kro=1}->HttpConnection@21f56b77[p=HttpParser{s=END,0 of -1},g=HttpGenerator@aac2a5be{s=START}]=>HttpChannelOverHttp@858adad3{r=2,c=false,a=IDLE,uri=//127.0.0.1:7777/SSPDashboard/,age=0} parsed true HttpParser{s=END,0 of -1}
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpConnection - releaseRequestBuffer HttpConnection@21f56b77[p=HttpParser{s=END,0 of -1},g=HttpGenerator@aac2a5be{s=START}]=>HttpChannelOverHttp@858adad3{r=2,c=false,a=IDLE,uri=//127.0.0.1:7777/SSPDashboard/,age=0}<-SocketChannelEndPoint@b3d57a7a{/127.0.0.1:58357<->/127.0.0.1:7777,OPEN,fill=-,flush=-,to=0/30000}{io=0/0,kio=0,kro=1}->HttpConnection@21f56b77[p=HttpParser{s=END,0 of -1},g=HttpGenerator@aac2a5be{s=START}]=>HttpChannelOverHttp@858adad3{r=2,c=false,a=IDLE,uri=//127.0.0.1:7777/SSPDashboard/,age=0}
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpChannel - HttpChannelOverHttp@858adad3{r=2,c=false,a=IDLE,uri=//127.0.0.1:7777/SSPDashboard/,age=0} handle //127.0.0.1:7777/SSPDashboard/ 
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpChannelState - handling HttpChannelState@a2f8a9e5{s=IDLE a=NOT_ASYNC i=true r=IDLE w=false}
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpChannel - HttpChannelOverHttp@858adad3{r=2,c=false,a=DISPATCHED,uri=//127.0.0.1:7777/SSPDashboard/,age=0} action DISPATCH
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG Server - REQUEST GET /SSPDashboard/ on HttpChannelOverHttp@858adad3{r=2,c=false,a=DISPATCHED,uri=//127.0.0.1:7777/SSPDashboard/,age=0}
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG ContextHandler - scope null||/SSPDashboard/ @ o.e.j.w.WebAppContext@58ebdde3{/SSPDashboard,file:///C:/SSPConfig3432-20180529-NEW-HEAD-BUILD400/apps/jetty/webservices/webapps/SSPDashboard/,AVAILABLE}{C:\SSPConfig3432-20180529-NEW-HEAD-BUILD400\apps\jetty\webservices\webapps\SSPDashboard.war}
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG ContextHandler - context=/SSPDashboard||/ @ o.e.j.w.WebAppContext@58ebdde3{/SSPDashboard,file:///C:/SSPConfig3432-20180529-NEW-HEAD-BUILD400/apps/jetty/webservices/webapps/SSPDashboard/,AVAILABLE}{C:\SSPConfig3432-20180529-NEW-HEAD-BUILD400\apps\jetty\webservices\webapps\SSPDashboard.war}
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG session - sessionHandler=org.eclipse.jetty.server.session.SessionHandler1326568913==dftMaxIdleSec=1800
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG session - session=null
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG ServletHandler - servlet /SSPDashboard|/|null -> default@5c13d641==org.eclipse.jetty.servlet.DefaultServlet,jsp=null,order=0,inst=true
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG ErrorPageErrorHandler - getErrorPage(GET /SSPDashboard/) => error_page=null (from global default)
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG ErrorHandler - No Error Page mapping for request(GET /SSPDashboard/) (using default)
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpChannel - sendResponse info=null content=DirectByteBuffer@ac7dd111[p=0,l=241,c=32768,r=241]={<<<<html>\n<head>\n<me.../body>\n</html>\n>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00} complete=true committing=true callback=Blocker@100d7965{null}
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpChannel - COMMIT for /SSPDashboard/ on HttpChannelOverHttp@858adad3{r=2,c=true,a=DISPATCHED,uri=//127.0.0.1:7777/SSPDashboard/,age=0}
403 !Secure HTTP/1.1
Cache-Control: must-revalidate,no-cache,no-store
Content-Type: text/html;charset=iso-8859-1


2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpConnection - org.eclipse.jetty.server.HttpConnection$SendCallback@dea59eba[PROCESSING][i=HTTP/1.1{s=403,h=2,cl=-1},cb=org.eclipse.jetty.server.HttpChannel$CommitCallback@c67cc030] generate: NEED_HEADER (null,[p=0,l=241,c=32768,r=241],true)@START
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpGenerator - generateHeaders HTTP/1.1{s=403,h=2,cl=-1} last=true content=DirectByteBuffer@ac7dd111[p=0,l=241,c=32768,r=241]={<<<<html>\n<head>\n<me.../body>\n</html>\n>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpGenerator - Cache-Control: must-revalidate,no-cache,no-store
Content-Type: text/html;charset=iso-8859-1


2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpGenerator - CONTENT_LENGTH
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpConnection - org.eclipse.jetty.server.HttpConnection$SendCallback@dea59eba[PROCESSING][i=HTTP/1.1{s=403,h=2,cl=-1},cb=org.eclipse.jetty.server.HttpChannel$CommitCallback@c67cc030] generate: FLUSH ([p=0,l=139,c=8192,r=139],[p=0,l=241,c=32768,r=241],true)@COMPLETING
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG WriteFlusher - write: WriteFlusher@40d1d5ae{IDLE}->null [HeapByteBuffer@dd4bae89[p=0,l=139,c=8192,r=139]={<<<HTTP/1.1 403 !Sec...Length: 241\r\n\r\n>>>.0\r\nAccept: text/...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00},DirectByteBuffer@ac7dd111[p=0,l=241,c=32768,r=241]={<<<<html>\n<head>\n<me.../body>\n</html>\n>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}]
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG WriteFlusher - update WriteFlusher@40d1d5ae{WRITING}->null:IDLE-->WRITING
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG ChannelEndPoint - flushed 380 SocketChannelEndPoint@b3d57a7a{/127.0.0.1:58357<->/127.0.0.1:7777,OPEN,fill=-,flush=W,to=0/30000}{io=0/0,kio=0,kro=1}->HttpConnection@21f56b77[p=HttpParser{s=END,0 of -1},g=HttpGenerator@aac2a5be{s=COMPLETING}]=>HttpChannelOverHttp@858adad3{r=2,c=true,a=DISPATCHED,uri=//127.0.0.1:7777/SSPDashboard/,age=0}
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG WriteFlusher - Flushed=true written=380 remaining=0 WriteFlusher@40d1d5ae{WRITING}->null
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG WriteFlusher - update WriteFlusher@40d1d5ae{IDLE}->null:WRITING-->IDLE
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpConnection - org.eclipse.jetty.server.HttpConnection$SendCallback@dea59eba[PROCESSING][i=HTTP/1.1{s=403,h=2,cl=-1},cb=org.eclipse.jetty.server.HttpChannel$CommitCallback@c67cc030] generate: DONE ([p=139,l=139,c=8192,r=0],[p=241,l=241,c=32768,r=0],true)@END
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG session - FinalSession=null old_session_manager=null this=org.eclipse.jetty.server.session.SessionHandler1326568913==dftMaxIdleSec=1800
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG Server - handled=true async=false committed=true on HttpChannelOverHttp@858adad3{r=2,c=true,a=DISPATCHED,uri=//127.0.0.1:7777/SSPDashboard/,age=0}
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpChannelState - unhandle HttpChannelState@a2f8a9e5{s=DISPATCHED a=NOT_ASYNC i=true r=IDLE w=false}
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpChannel - HttpChannelOverHttp@858adad3{r=2,c=true,a=COMPLETING,uri=//127.0.0.1:7777/SSPDashboard/,age=0} action COMPLETE
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpChannelState - onComplete HttpChannelState@a2f8a9e5{s=COMPLETING a=NOT_ASYNC i=false r=IDLE w=false}
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpChannel - COMPLETE for /SSPDashboard/ written=241
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpChannelState - recycle HttpChannelState@a2f8a9e5{s=COMPLETED a=NOT_ASYNC i=false r=IDLE w=false}
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - reset HttpParser{s=END,0 of -1}
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - END --> START
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpChannel - HttpChannelOverHttp@858adad3{r=2,c=false,a=IDLE,uri=null,age=0} handle exit, result COMPLETE
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG ChannelEndPoint - filled 0 SocketChannelEndPoint@b3d57a7a{/127.0.0.1:58357<->/127.0.0.1:7777,OPEN,fill=-,flush=-,to=0/30000}{io=0/0,kio=0,kro=1}->HttpConnection@21f56b77[p=HttpParser{s=START,0 of -1},g=HttpGenerator@aac2a5be{s=START}]=>HttpChannelOverHttp@858adad3{r=2,c=false,a=IDLE,uri=null,age=0}
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG ChannelEndPoint - filled 0 SocketChannelEndPoint@b3d57a7a{/127.0.0.1:58357<->/127.0.0.1:7777,OPEN,fill=-,flush=-,to=0/30000}{io=0/0,kio=0,kro=1}->HttpConnection@21f56b77[p=HttpParser{s=START,0 of -1},g=HttpGenerator@aac2a5be{s=START}]=>HttpChannelOverHttp@858adad3{r=2,c=false,a=IDLE,uri=null,age=0}
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpConnection - HttpConnection@21f56b77[p=HttpParser{s=START,0 of -1},g=HttpGenerator@aac2a5be{s=START}]=>HttpChannelOverHttp@858adad3{r=2,c=false,a=IDLE,uri=null,age=0}<-SocketChannelEndPoint@b3d57a7a{/127.0.0.1:58357<->/127.0.0.1:7777,OPEN,fill=-,flush=-,to=0/30000}{io=0/0,kio=0,kro=1}->HttpConnection@21f56b77[p=HttpParser{s=START,0 of -1},g=HttpGenerator@aac2a5be{s=START}]=>HttpChannelOverHttp@858adad3{r=2,c=false,a=IDLE,uri=null,age=0} filled 0 HeapByteBuffer@dd4bae89[p=0,l=0,c=8192,r=0]={<<<>>>HTTP/1.1 403 !Sec...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpConnection - HttpConnection@21f56b77[p=HttpParser{s=START,0 of -1},g=HttpGenerator@aac2a5be{s=START}]=>HttpChannelOverHttp@858adad3{r=2,c=false,a=IDLE,uri=null,age=0}<-SocketChannelEndPoint@b3d57a7a{/127.0.0.1:58357<->/127.0.0.1:7777,OPEN,fill=-,flush=-,to=0/30000}{io=0/0,kio=0,kro=1}->HttpConnection@21f56b77[p=HttpParser{s=START,0 of -1},g=HttpGenerator@aac2a5be{s=START}]=>HttpChannelOverHttp@858adad3{r=2,c=false,a=IDLE,uri=null,age=0} parse HeapByteBuffer@dd4bae89[p=0,l=0,c=8192,r=0]={<<<>>>HTTP/1.1 403 !Sec...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00} {}
2018-05-30 09:57:46,904 [qtp1305791298-29] DEBUG HttpParser - parseNext s=START HeapByteBuffer@dd4bae89[p=0,l=0,c=8192,r=0]={<<<>>>HTTP/1.1 403 !Sec...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
2018-05-30 09:57:46,920 [qtp1305791298-29] DEBUG HttpConnection - HttpConnection@21f56b77[p=HttpParser{s=START,0 of -1},g=HttpGenerator@aac2a5be{s=START}]=>HttpChannelOverHttp@858adad3{r=2,c=false,a=IDLE,uri=null,age=0}<-SocketChannelEndPoint@b3d57a7a{/127.0.0.1:58357<->/127.0.0.1:7777,OPEN,fill=-,flush=-,to=16/30000}{io=0/0,kio=0,kro=1}->HttpConnection@21f56b77[p=HttpParser{s=START,0 of -1},g=HttpGenerator@aac2a5be{s=START}]=>HttpChannelOverHttp@858adad3{r=2,c=false,a=IDLE,uri=null,age=0} parsed false HttpParser{s=START,0 of -1}


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users



--
Jan Bartel <janb@xxxxxxxxxxx>
www.webtide.com
Expert assistance from the creators of Jetty and CometD


Back to the top