Sharmadha Sainath created KNOX-1086:
---------------------------------------
Summary: Error message in gateway.log when Atlas enabled with Knox
SSO , is accessed via Knox Proxy.
Key: KNOX-1086
URL: https://issues.apache.org/jira/browse/KNOX-1086
Project: Apache Knox
Issue Type: Bug
Components: KnoxSSO
Reporter: Sharmadha Sainath
Attachments: rewrite.xml
1.Enabled Knox SSO for Atlas.
2.Added a topology ui.xml for Atlas Knox Proxy.
3.When
{code}
https://knox_gateway:8443/gateway/ui/atlas
{code}
is accessed , it redirects to
{code}
https://knox_gateway:8443/gateway/knoxsso/knoxauth/login.html?originalUrl=https://knox_gateway:8443/gateway/ui/atlas/
{code}
correctly.
No error in functionality. When username , password is provided , it redirects
to https://knox_gateway:8443/gateway/ui/atlas/ and Atlas functions as expected.
No error messages in Atlas .
But following error message is found in knox gateway.log when
https://knox_gateway:8443/gateway/ui/atlas/ is hit :
{code}
2017-10-23 09:34:55,340 ERROR hadoop.gateway
(UrlRewriteProcessor.java:rewrite(169)) - Failed to rewrite
URL:https://knox_gateway:8443/gateway/knoxsso/api/v1/websso?originalUrl=https://knox_gateway:8443/gateway/ui/atlas/
, direction: OUT via rule: ATLAS/atlas/outbound/login/headers/location,
status: FAILURE
{code}
Attached the rewrite.xml for Atlas.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)