Sap Redirect Url Is Null

  1. Sap Redirect Url Is Null Authentication
  2. Google Redirect Url
  3. Types Of Url Redirects
  4. Url Redirect Iis
Sap redirect url is null error

The default value of this redirections is null. SAP has a list with all the default pages that our customers can use, in case you don't have any particular page to set for this. You can check all these URLs for each DC in this KBA: Default Redirect URLs for Single Sign On. To change these redirect URL. Create Project in SAP Web IDE. Logon to SAP Web IDE for SAP HANA XSA. Create a new project in SAP Web IDE for HANA XSA and select SAP Cloud Platform Business Application. Click Next to continue. Give the project name, for example zjenkinauto. Click Next to continue. On this page, just click Next to continue.

Introduction

Portal Runtime errors can on occasion be more commonly encountered than we would like as Portal end-users. Often upon being presented with a Portal Runtime error we are baffled by its occurrence and actively seek its root cause and subsequently its resolution. If you have had experience with the Enterprise Portal for some time the likelihood of you being involved in such a scenario is high. This blog posting aims to look at a specific Portal Runtime error and will touch base on the steps to follow in the quest for a quick and straightforward resolution.

Portal Runtime Error – Popup Principles

Sap

When a Portal Runtime error occurs the primary troubleshooting hints are normally provided to you as an end-user within the error exception details. From a high level perspective Portal Runtime errors can occur for a wide array of reasons e.g. invalid system configurations or application discrepancies. However troubleshooting Runtime error exceptions should always begin with labeling the “Exception ID” as the core point of interest.

If you match the Exception ID to the trace file and application log you are already on you’re way to finding a resolution. Often breaking the issue down into small steps is the best means of troubleshooting analysis.

Types of url redirects

Example – Portal Runtime Error

We are going to take the principles above and apply it to a sample problematic scenario and follow a troubleshooting resolution approach. Let us firstly imagine that you have recently performed a system change of some sort. This can be related to upgrades, system migrations, data transfers, SP implementation etc.

Reproducing the Popup:

  1. Login to the portal from desktop.
  2. /' target='_blank'>http://<host>:<port>/irj
  3. Perform some navigation across the Portal Role menus which will prompt the issue to occur.
    • For analysis purposes capture the latest Default Trace Error Log File as per SAP KBA: 1596214 – How to find the latest default trace file of the NW AS Java right after reproducing an issue

You find an Error in Trace – The “Old URL is Null”, what does this mean?

If you proceed to analyze the default trace file based upon the Portal Runtime error Exception ID you will have seen the following reference

  • “NavigationService.redirect.recieved exception when calling to redirectors with URL”.

The NavigationRedirector provides a method to retrieve redirected node names. A re-director must be registered in a means that recognizes the prefix of the navigation target. In this case the exception is occurring due to caching of the NavigationService.redirect recieve request when calling redirectors with the defined URL.

Resolution

The Navigation Cache is responsible for caching the navigation of the Portal, starting from the “Entry Point” level. As it caches navigation data like title, merge ID, sort priority:

  • If you make a change to the navigation of the user, the change might not be immediately visible causing subsequent errors.

To resolve this issue you need to clear both the Navigation Cache along with the FPN Cache.

  • Navigation Cache:
    • To clear this firstly login to the portal from desktop (/' target='_blank'>http://<host>:<port>/irj).
    • Go to System Administration > Navigation > Navigation Cache before clicking on the Clear Cache button.
    • Clear the cache for the ROLES connector.
  • FPN Cache (if applicable)
    • Login to the Consumer Portal wherein the federated portal cache needs to be synchronized.
    • Navigate to System Administration > Federated Portal > Myself as Content Consumer > Cache Management.
    • Under Clear Cache followed by the Synchronize Content, click on ‘clear the federated Portal cache’.
    • Select “Synchronize all content (if you have consumed large amounts of content, this may take a long time to complete).”
    • Select the “Synchronize with a selected producer” option.
    • Select the federated Portal (Producer) from the dropdown list that needs to be synchronized.
    • Click on the “Synchronize” button.
    • Please restart the Portal session by closing all the browser windows before logging into the Portal again.

Symptom

How to change the redirect URLs for Single Sign On?

Environment

Sap Redirect Url Is Null Authentication

Resolution

Google Redirect Url

When you enable Single Sign On on your instance, you have 5 scenarios where you can set a redirect URL:

  • When users do logout
  • When there is a session timeout
  • When there is an invalid login
  • When missing credentials
  • When there is an invalid manager

These settings are done in Provisioning, in the Single Sign On page. The default value of this redirections is null. SAP has a list with all the default pages that our customers can use, in case you don't have any particular page to set for this. You can check all these URLs for each DC in this KBA: Default Redirect URLs for Single Sign On.

To change these redirect URL:

  • If you have IAS implemented and access to the Manage SAML SSO Settings:

You can access the Manage SAML SSO Settings in 'Admin Center' > 'Tools' > 'SAML 2.0 Single Sign On' and change the URL as described on KBA 2569087

OR

  • If you do not have access to the Manage SAML SSO Settings:

You need to have access to Provisioning. Considering that only Support and Implementation Partners have access to Provisioning, to change these URLs you need to contact your partner or create an incident to Support (under component LOD-SF-PLT)

See Also

2278269 - [SSO] Default Redirect URLs for Single Sign On

Url

Types Of Url Redirects

Keywords

Url Redirect Iis

Redirect URL, SSO, Single Sign On, URL, Logout, Session Timeout, Invalid Login, Missing Credentials, Invalid Manager , KBA , LOD-SF-PLT-SAM , SAML SSO First Time Setup , How To

Product