> Source: [sk184159](https://support.checkpoint.com/results/sk/sk184159)

# sk184159 - Remote Access VPN SAML Authentication fails with the error "An unexpected error has occurred. You may still be able to continue working normally. Please retry accessing the web page in a short while"

| Property | Value |
|----------|-------|
| Solution ID | sk184159 |
| Date Created | 2025-10-16 |
| Last Modified | 2025-10-19 |
| Technical Level | Advanced |
| Products | Security Gateway |
| Versions | R81.20 |
| OS | Gaia |

## Symptoms

- * Remote access VPN SMAL authentication fails with this error:

  `An unexpected error has occurred. You may still be able to continue working normally. Please retry accessing the web page in a short while.`
* The Security Gateway debug logs for the applicable VS do not contain the `idpPolicy.xml` configuration file in the allowed path.

## Cause

The `open_basedir `restriction on VS0 does not contain the directory `/opt/CPSamlPortal/CTX/CTX00005/phpincs`.

As a result, the SAML portal process cannot access the `idpPolicy.xml `configuration file, causing the authentication failure.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
