knox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KNOX-1079) Regression: proxy for Atlas fails with j_spring_security_check during login
Date Mon, 16 Oct 2017 17:07:01 GMT

    [ https://issues.apache.org/jira/browse/KNOX-1079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16206208#comment-16206208
] 

ASF subversion and git services commented on KNOX-1079:
-------------------------------------------------------

Commit 0719da376065950d8786576cf92f71367d9aba8d in knox's branch refs/heads/KNOX-998-Package_Restructuring
from [~lmccay]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=0719da3 ]

KNOX-1079 - Regression: proxy for Atlas fails with j_spring_security_check during login (Madhan
Neethiraj via lmccay)

> Regression: proxy for Atlas fails with j_spring_security_check during login
> ---------------------------------------------------------------------------
>
>                 Key: KNOX-1079
>                 URL: https://issues.apache.org/jira/browse/KNOX-1079
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 0.13.0
>            Reporter: Madhan Neethiraj
>            Assignee: Madhan Neethiraj
>            Priority: Critical
>             Fix For: 0.14.0
>
>         Attachments: KNOX-1079.patch
>
>
> Reported by [~ssainath] in ATLAS-2203:
> # Enabled knox proxy for Atlas.
> # On accessing https://knox_gateway:8443/gateway/ui/atlas/login.jsp , 404 is thrown with
the following :
> POST
> 404 Not Found
> https://knox_gateway:8443/gateway/j_spring_security_check
> and
> GET
> 404 Not Found
> https://knox_gateway:8443/favicon.ico
> which should ideally go to
> https://knox_gateway:8443/gateway/ui/atlas/j_spring_security_check
> [~nixonrodrigues] investigated this issue and found that a recent commit in Atlas, which
changed Jetty version (ATLAS-2186), caused this regression. Here are the details from his
investigation:
> This regression is caused because the content type of javascript file is changed from
*application/javascript* to  *application/x-javascript* due to recent jetty version change
in ATLAS-2186.
> {noformat}
> HTTP/1.1 200 OK
> Date: Thu, 12 Oct 2017 13:05:08 GMT
> Content-Type: application/x-javascript
> Last-Modified: Wed, 11 Oct 2017 15:29:36 GMT
> Accept-Ranges: bytes
> Server: Jetty(8.1.19.v20160209)
> Content-Encoding: gzip
> Vary: Accept-Encoding, User-Agent
> Content-Length: 1018
> {noformat}
> [~lmccay] suggested the fix, to update rewrite.xml to recognize content-type */x-javascript
as well.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message