Overview
When you import a connection profile from the OpenVPN Connect v3 app, you may encounter this error:
Failed to import profile
Cannot read properties of undefined (reading 'includes')This error occurs when the XML-RPC API for OpenVPN Access Server is turned off. OpenVPN Connect relies on this API to process profile imports.
By default, the XML-RPC API is turned on with limited operations to support bundle installer downloads, server-locked connection profiles, and profile imports from OpenVPN Connect. If you change this setting and turn off the API, profile imports can fail with this error.
Option 1: Enable the XML-RPC API from the Admin Web UI
- Sign in to the Admin Web UI.
- Go to Advanced > Web Service Settings > Configure XML-RPC/REST API.
- Select Limited.
- Click Save, and then click Restart.
Option 2: Enable the XML-RPC API from the Admin Web UI using the Config Editor
- Sign in to the Admin Web UI.
- Go to Advanced > Config Editor.
- Search for
xmlrpc.relay_level. - Click the pencil icon to edit the value.
- Use the arrow keys to set the integer value at 1.
- Click Save and Restart.
Option 3: Enable the XML-RPC API from the CLI
- Connect to the console and get root privileges.
Run the following command to enable the XML-RPC API:
sacli -k "xmlrpc.relay_level" -v "1" ConfigPutRun the following command to restart the Access Server configuration:
sacli start
Need help?
If you have questions, submit a support ticket.
Comments
0 comments
Please sign in to leave a comment.