javax.security.auth.login.LoginException: Receive timed out at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(jdk.security.auth@9-ea/Krb5LoginModule.java:795) at com.sun.security.auth.module.Krb5LoginModule.login(jdk.security.auth@9-ea/Krb5LoginModule.java:581)

JDK Bug System | Felix Yang | 4 months ago
  1. 0

    This has been failing since fix of JDK-6977937. Please refer to the test output below: ----------System.out:(10/556)---------- Start KDC on 12541 ----------------------------------------------- >>>>> UDP packet received RABBIT.HOLE> empty@RABBIT.HOLE sends AS-REQ for krbtgt/RABBIT.HOLE@RABBIT.HOLE, KDCOptions: FORWARDABLE, ----------------------------------------------- >>>>> UDP packet received RABBIT.HOLE> empty@RABBIT.HOLE sends AS-REQ for krbtgt/RABBIT.HOLE@RABBIT.HOLE, KDCOptions: FORWARDABLE, ----------------------------------------------- >>>>> UDP packet received RABBIT.HOLE> empty@RABBIT.HOLE sends AS-REQ for krbtgt/RABBIT.HOLE@RABBIT.HOLE, KDCOptions: FORWARDABLE, ----------System.err:(60/3879)---------- java.lang.RuntimeException: java.lang.IllegalArgumentException: EncryptionKey: Key bytes cannot be null! at KDC.keyForUser(KDC.java:634) at KDC.processAsReq(KDC.java:917) at KDC.processMessage(KDC.java:646) at KDC$1.run(KDC.java:1265) Caused by: java.lang.IllegalArgumentException: EncryptionKey: Key bytes cannot be null! at sun.security.krb5.EncryptionKey.<init>(java.security.jgss@9-ea/EncryptionKey.java:208) at KDC.keyForUser(KDC.java:628) ... 3 more java.lang.RuntimeException: java.lang.IllegalArgumentException: EncryptionKey: Key bytes cannot be null! at KDC.keyForUser(KDC.java:634) at KDC.processAsReq(KDC.java:917) at KDC.processMessage(KDC.java:646) at KDC$1.run(KDC.java:1265) Caused by: java.lang.IllegalArgumentException: EncryptionKey: Key bytes cannot be null! at sun.security.krb5.EncryptionKey.<init>(java.security.jgss@9-ea/EncryptionKey.java:208) at KDC.keyForUser(KDC.java:628) ... 3 more java.lang.RuntimeException: java.lang.IllegalArgumentException: EncryptionKey: Key bytes cannot be null! at KDC.keyForUser(KDC.java:634) at KDC.processAsReq(KDC.java:917) at KDC.processMessage(KDC.java:646) at KDC$1.run(KDC.java:1265) Caused by: java.lang.IllegalArgumentException: EncryptionKey: Key bytes cannot be null! at sun.security.krb5.EncryptionKey.<init>(java.security.jgss@9-ea/EncryptionKey.java:208) at KDC.keyForUser(KDC.java:628) ... 3 more javax.security.auth.login.LoginException: Receive timed out at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(jdk.security.auth@9-ea/Krb5LoginModule.java:795) at com.sun.security.auth.module.Krb5LoginModule.login(jdk.security.auth@9-ea/Krb5LoginModule.java:581) at Context.fromUserPass(Context.java:168) at Context.fromUserPass(Context.java:136) at EmptyPassword.main(EmptyPassword.java:40) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:535) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) Caused by: java.net.SocketTimeoutException: Receive timed out at java.net.PlainDatagramSocketImpl.receive0(java.base@9-ea/Native Method) at java.net.AbstractPlainDatagramSocketImpl.receive(java.base@9-ea/AbstractPlainDatagramSocketImpl.java:180) at java.net.DatagramSocket.receive(java.base@9-ea/DatagramSocket.java:814) at sun.security.krb5.internal.UDPClient.receive(java.security.jgss@9-ea/NetClient.java:205) at sun.security.krb5.KdcComm$KdcCommunication.run(java.security.jgss@9-ea/KdcComm.java:411) at sun.security.krb5.KdcComm$KdcCommunication.run(java.security.jgss@9-ea/KdcComm.java:364) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at sun.security.krb5.KdcComm.send(java.security.jgss@9-ea/KdcComm.java:348) at sun.security.krb5.KdcComm.sendIfPossible(java.security.jgss@9-ea/KdcComm.java:253) at sun.security.krb5.KdcComm.send(java.security.jgss@9-ea/KdcComm.java:229) at sun.security.krb5.KdcComm.send(java.security.jgss@9-ea/KdcComm.java:200) at sun.security.krb5.KrbAsReqBuilder.send(java.security.jgss@9-ea/KrbAsReqBuilder.java:326) at sun.security.krb5.KrbAsReqBuilder.action(java.security.jgss@9-ea/KrbAsReqBuilder.java:371) at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(jdk.security.auth@9-ea/Krb5LoginModule.java:753) ... 10 more

    JDK Bug System | 4 months ago | Felix Yang
    javax.security.auth.login.LoginException: Receive timed out at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(jdk.security.auth@9-ea/Krb5LoginModule.java:795) at com.sun.security.auth.module.Krb5LoginModule.login(jdk.security.auth@9-ea/Krb5LoginModule.java:581)
  2. 0

    sun/security/krb5/auto/MaxRetries.java failed with timeout in Mach5. This issue should be same as JDK-8000439 which reported the timeout out on Solaris sparc and test is inside problemlist for Solaris-sparc. Now it happens again on Mac. Need further investigation or add the test into problemlistsfor Mac also. Standard Error javax.security.auth.login.LoginException: Receive timed out at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(jdk.security.auth@9-ea/Krb5LoginModule.java:795) at com.sun.security.auth.module.Krb5LoginModule.login(jdk.security.auth@9-ea/Krb5LoginModule.java:602) at javax.security.auth.login.LoginContext.invoke(java.base@9-ea/LoginContext.java:722) at javax.security.auth.login.LoginContext.access$000(java.base@9-ea/LoginContext.java:193) at javax.security.auth.login.LoginContext$4.run(java.base@9-ea/LoginContext.java:662) at javax.security.auth.login.LoginContext$4.run(java.base@9-ea/LoginContext.java:660) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at javax.security.auth.login.LoginContext.invokePriv(java.base@9-ea/LoginContext.java:660) at javax.security.auth.login.LoginContext.login(java.base@9-ea/LoginContext.java:571) at Context.fromJAAS(Context.java:126) at MaxRetries.test1(MaxRetries.java:106) at MaxRetries.main(MaxRetries.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-ea/Thread.java:804)

    JDK Bug System | 8 months ago | Jibing Chen
    javax.security.auth.login.LoginException: Receive timed out at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(jdk.security.auth@9-ea/Krb5LoginModule.java:795) at com.sun.security.auth.module.Krb5LoginModule.login(jdk.security.auth@9-ea/Krb5LoginModule.java:602) at javax.security.auth.login.LoginContext.invoke(java.base@9-ea/LoginContext.java:722) at javax.security.auth.login.LoginContext.access$000(java.base@9-ea/LoginContext.java:193) at javax.security.auth.login.LoginContext$4.run(java.base@9-ea/LoginContext.java:662) at javax.security.auth.login.LoginContext$4.run(java.base@9-ea/LoginContext.java:660) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at javax.security.auth.login.LoginContext.invokePriv(java.base@9-ea/LoginContext.java:660) at javax.security.auth.login.LoginContext.login(java.base@9-ea/LoginContext.java:571)
  3. 0

    Chapter 18 Using the Windows Desktop Single Sign-On Authentication Module (Sun OpenSSO Enterprise 8.0 Deployment Planning Guide)

    oracle.com | 1 year ago
    javax.security.auth.login.LoginException: kdc.red.iplanet.com: kdc.red.iplanet.com at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication (Krb5LoginModule.java:700)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Chapter 18 Using the Windows Desktop Single Sign-On Authentication Module (Sun OpenSSO Enterprise 8.0 Deployment Planning Guide)

    oracle.com | 4 months ago
    javax.security.auth.login.LoginException: kdc.red.iplanet.com: kdc.red.iplanet.com at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication (Krb5LoginModule.java:700)
  6. 0

    Part II Determining Which Features to Deploy (Sun OpenSSO Enterprise 8.0 Deployment Planning Guide)

    oracle.com | 6 months ago
    javax.security.auth.login.LoginException: kdc.red.iplanet.com: kdc.red.iplanet.com at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication (Krb5LoginModule.java:700)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.security.auth.login.LoginException

      Receive timed out at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(jdk.security.auth@9-ea/Krb5LoginModule.java:795) at com.sun.security.auth.module.Krb5LoginModule.login(jdk.security.auth@9-ea/Krb5LoginModule.java:581)

      at Context.fromUserPass()
    2. Unknown
      EmptyPassword.main
      1. Context.fromUserPass(Context.java:168)
      2. Context.fromUserPass(Context.java:136)
      3. EmptyPassword.main(EmptyPassword.java:40)
      3 frames