My Oracle Support Banner

OAM11gR2PS1- WNA Authentication Failing with java.net.SocketTimeoutException (Doc ID 1615670.1)

Last updated on MAY 24, 2022

Applies to:

Oracle Access Manager - Version 11.1.1.5.0 to 11.1.2.1.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

WNA Authentication failing even after Kinit authenticates ok.

$ kdestroy
kdestroy: No credentials cache found while destroying cache

$ kinit -V -k -t <PATH>/<KEYTAB_FILE>  HTTP/<HOSTNAME>@<AD_DOMAIN_NAME>

Authenticated to Kerberos v5

Kerberos debug shows-

>>> KdcAccessibility: reset
default etypes for default_tkt_enctypes: 23.
>>> KrbAsReq calling createMessage
>>> KrbAsReq in createMessage
>>> KrbKdcReq send: kdc=<AD_HOSTNAME> UDP:<PORT>, timeout=30000, number of retries =3, #bytes=159
>>> KDCCommunication: kdc=<AD_HOSTNAME> UDP:<PORT, timeout=30000,Attempt =1, #bytes=159
SocketTimeOutException with attempt: 1
>>> KDCCommunication: kdc=<AD_HOSTNAME> UDP:<PORT>, timeout=30000,Attempt =2, #bytes=159
<Jan 15, 2014 8:36:21 PM CST> <Error> <NAPLogger> <BEA-000000> <Mismatch should_be: <VALUE1> Mismatch response: <VALUE2>>
<Jan 15, 2014 8:36:32 PM CST> <Error> <NAPLogger> <BEA-000000> <Mismatch should_be: <VALUE3> Mismatch response: <VALUE4>>
SocketTimeOutException with attempt: 2
>>> KDCCommunication: kdc=<AD_HOSTNAME> UDP:<PORT>, timeout=30000,Attempt =3, #bytes=159
SocketTimeOutException with attempt: 3
>>> KrbKdcReq send: error trying<AD_HOSTNAME>:<PORT>
java.net.SocketTimeoutException: Receive timed out
       at java.net.PlainDatagramSocketImpl.receive0(Native Method)
       at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:145)
       at java.net.DatagramSocket.receive(DatagramSocket.java:725)
       at sun.security.krb5.internal.UDPClient.receive(NetClient.java:197)
       at sun.security.krb5.KrbKdcReq$KdcCommunication.run(KrbKdcReq.java:361)



Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.