SAP Knowledge Base Article - Preview

3066139 - SAML SSO giving 500 Internal error after migration/system copy

Symptom

  • Logging into the system with SAML 2.0 fails with an 'Internal Error' and a 500 error code in the browser.
  • There has been a recent system migration or system copy.
  • Upon checking the dev_icf<work process number> trace file, the following error can be observed:

<?xml version="1.0" encoding="UTF-8" ?>

<ErrorLog>

<ErrorInfo URL="http://host.acme.com:8080/sap/bc/webdynpro/sap/saml2">

<ErrorMessage>Unknown Error</ErrorMessage>

<Date>20210610</Date>

<Time>181408</Time>

<Client>000</Client>

<User></User>

<TerminationType>ERROR_MESSAGE_STATE</TerminationType>

<ABAP-CallStack>

<Method>

<Name>PREPARE_OTR_DOCUMENT</Name>

<Program>CL_HTTP_SERVER_NET============CP</Program>

</Method>

<Method>

<Name>AUTHENTICATION</Name>

<Program>CL_HTTP_SERVER_NET============CP</Program>

</Method>

<Function>

<Name>HTTP_DISPATCH_REQUEST</Name>

<Program>SAPLHTTP_RUNTIME</Program>

</Function>

<Module>

<Name>%_HTTP_START</Name>

<Program>SAPMHTTP</Program>

</Module>

</ABAP-CallStack>

</ErrorInfo>

<ErrorInfo URL="http://host.acme.com:8080/sap/bc/webdynpro/sap/saml2">

<ErrorMessage>Unknown Error</ErrorMessage>

<Date>20210610</Date>


Read more...

Environment

  • SAP NetWeaver
  • SAP NetWeaver Application Server for SAP S/4HANA
  • ABAP PLATFORM - Application Server ABAP

Product

ABAP platform all versions ; SAP NetWeaver all versions ; SAP Web Application Server for SAP S/4HANA all versions

Keywords

500 Internal Error, SAML, SSO , KBA , BC-SEC-LGN-SML , SAML 2.0 for ABAP , BC-SEC-STO , Secure Storage , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.