Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-1086

Error message in gateway.log when Atlas enabled with Knox SSO is accessed via Knox Proxy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • KnoxSSO
    • 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.

      Attachments

        1. rewrite.xml
          3 kB
          Sharmadha S

        Activity

          People

            Unassigned Unassigned
            sharmadhas Sharmadha S
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: