Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8248477

GSSException: Defective token detected (Mechanism level: GSSHeader did not find

XMLWordPrintable

    • x86
    • linux_redhat_6.0

      ADDITIONAL SYSTEM INFORMATION :
      Redhat Enterprise Linux 7.8, openjdk version "1.8.0_252"

      A DESCRIPTION OF THE PROBLEM :
      On Windows 10 with Firefox, Chrome and IE accessing a kerberos protected webhdfs site running on openjdk version "1.8.0_252" results in GSSException: Defective token detected (Mechanism level: GSSHeader did not find the right tag), while with curl on Linux it works fine.
      On openjdk version "1.8.0_242" it works fine on both Windows and Linux.
      It seems similar to bug 8078439

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Run kerberos protected webhdfs service on openjdk version "1.8.0_252", connect from browser on Windows 10

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Authentication succedes
      ACTUAL -
      Permission denied when trying to open /webhdfs/v1/?op=LISTSTATUS: org.apache.hadoop.security.authentication.client.AuthenticationException: GSSException: Defective token detected (Mechanism level: GSSHeader did not find the right tag)

      FREQUENCY : always


            tongwan Andrew Wang
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: