Kerberos authentication GSSException: No valid credentials provided (Mechanism level: connect timed out)
search cancel

Kerberos authentication GSSException: No valid credentials provided (Mechanism level: connect timed out)

book

Article ID: 279135

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

When running the Kerberos authentication step from Workstation in ITR, getting below error:

Caused by: org.ietf.jgss.GSSException: No valid credentials provided (Mechanism level: connect timed out)
at sun.security.jgss.krb5.Krb5Context.initSecContext(Krb5Context.java:777) ~[?:1.8.0_232]
at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:248) ~[?:1.8.0_232]
at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:179) ~[?:1.8.0_232]
at msjava.kerberos.auth.MSKerberosJGSSAuthSessionBase.doGetAuthToken(MSKerberosJGSSAuthSessionBase.java:239) ~[msjava-kerberos.jar.593aa270:2020.06.18]
... 17 more
Caused by: java.net.SocketTimeoutException: connect timed out

Environment

DevTest 10.7.2.x

Cause

It was found that the Kerberos config was different from the one that was working for VSE service.

lisa.java.security.krb5.conf

Resolution

Updating the Kerberos config file location via below property for workstation in .vmoptions file and in local.properties file for other components helped to resolve the issue.

lisa.java.security.krb5.conf