My Oracle Support Banner

CSDT Import Failed With Exception: Failed to acquire TGT. HTTP response code 400 (Doc ID 2280940.1)

Last updated on MARCH 29, 2023

Applies to:

Oracle WebCenter Sites - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

CSDT Import is failing with "com.fatwire.wem.sso.SSOException: Failed to acquire TGT. HTTP response code 400"

The following error is seen when executing the CSDT command in console:

com.fatwire.wem.sso.SSOException: Failed to acquire TGT. HTTP response code 400
  at com.fatwire.wem.sso.cas.CASProvider.getTGT(CASProvider.java:267)
  at com.fatwire.wem.sso.cas.CASProvider.getTicket(CASProvider.java:159)
  at com.fatwire.wem.sso.SSOSession.getTicket(SSOSession.java:137)
  at com.fatwire.csdt.client.util.CSDTClientUtility.callCS(CSDTClientUtility.java:102)
  at com.fatwire.csdt.client.main.CSDT.main(CSDT.java:31)

CAS log then shows a failed login through the CSDT command-line, but there are no Sites log entries in sites.log for this:
2017-06-20 22:54:18,197 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - AuthenticationHandler: com.fatwire.wem.sso.cas.plugin.CSAuthenticationHandler failed to authenticate the user which provided the following credentials: [username: fwadmin]
2017-06-20 22:54:18,197 ERROR [com.fatwire.wem.sso.cas.integration.rest.TicketResource] - org.jasig.cas.ticket.TicketCreationException: error.authentication.credentials.bad
org.jasig.cas.ticket.TicketCreationException: error.authentication.credentials.bad
at org.jasig.cas.CentralAuthenticationServiceImpl.createTicketGrantingTicket(CentralAuthenticationServiceImpl.java:428)

 

Logging increased for com.fatwire.security.common.SecurityRemotePost and we see a Bad Credentials (HTTP 400) attempt on the failing to acquire the TGT
xx.xxx.xx.xxx - - [20/Jun/2017:22:52:04 +0400] "GET /servlet/ContentServer?pagename=fatwire%2Fsystemtools%2FLog4J%2FLog4J&log=com.fatwire.security.common.SecurityRemotePost&level=TRACE HTTP/1.1" 200 144922

xx.xxx.xx.x - - [20/Jun/2017:22:54:17 +0400] "GET /servlet/Satellite?pagename=fatwire/wem/sso/casInfo HTTP/1.1" 200 493
xx.xxx.xx.x - - [20/Jun/2017:22:54:18 +0400] "POST /servlet/ContentServer?pagename=fatwire/wem/sso/ssoLogin HTTP/1.1" 200 60
xx.xxx.xx.x - - [20/Jun/2017:22:54:18 +0400] "POST /cas/v1/tickets HTTP/1.1" 400 44

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
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.