Error: “Cannot Complete Your Request” When Using Custom Portal Theme on AAA or Gateway VServer

Error: “Cannot Complete Your Request” When Using Custom Portal Theme on AAA or Gateway VServer

book

Article ID: CTX244520

calendar_today

Updated On:

Description

Custom portal theme on AAA or Gateway VServer shows  ‘Cannot complete your request’ error instead of the login page. When you click OK, you see the logon page and after your enter credential you can access your published resources.

In-built theme works fine. When we create a new custom portal theme and bind it to AAA or Gateway VServer, first time access works fine.But second time on-wards, we see “Cannot Complete Your Request” before getting the login page.

If we use Fiddler or Web-Developer tool, we see HTTP/1.1 412 Precondition Failed for url: https://<vserverfqdn>/logon/LogonPoint/Home/Configuration

Resolution

To resolve this issue upgrade to 12.0 61.8. If you are using 11.1 or 12.1 then follow the workaround below. The fix for these versions will be available in an upcoming release.

Workaround

 AAA VServer
 Run the following command
:

add cache policy nocache_pol -rule "HTTP.REQ.URL.CONTAINS(\"plugins.xml\")" -action NOCACHE
bind cache global nocache_pol -priority 1 -type REQ_OVERRIDE
flush cache contentgroup loginstaticobjects
  
Gateway VServer
Run the following command:


add cache policy nocache_pol -rule "HTTP.REQ.URL.CONTAINS(\"plugins.xml\")" -action NOCACHE
bind vpn vserver <vpnvsname> -policy nocache_pol -priority 1 -type REQUEST
flush cache contentgroup loginstaticobjects


Problem Cause

This is a known issue (NSHELP-18564).

Issue/Introduction

Custom portal theme on AAA or Gateway VServer shows ‘Cannot complete your request’ error instead of the login page. When you click OK, you see the logon page and after your enter credential you can access your published resources.