Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
None
-
None
-
None
Description
1.Enabled Knox SSO for Atlas.
2.Added a topology ui.xml for Atlas Knox Proxy.
3.When
https://knox_gateway:8443/gateway/ui/atlas
is accessed , it redirects to
https://knox_gateway:8443/gateway/knoxsso/knoxauth/login.html?originalUrl=https://knox_gateway:8443/gateway/ui/atlas/
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 :
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
Attached the rewrite.xml for Atlas.