> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/gateway/help/troubleshooting/error-messages.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# Error messages

Every Devolutions Gateway error message, word for word, from the gateway, its installer, Remote Desktop Manager, Devolutions Server and Devolutions Cloud.

This page lists the messages about ***Devolutions Gateway***, exactly as they appear, with their cause and fix. They are grouped by where you see them: the Devolutions Gateway logs and service, its standalone web application, its Windows installer and PowerShell module, Remote Desktop Manager, the Devolutions Server web interface and Console, Devolutions Cloud, and Devolutions Password Manager. Search the page for the words of your message. In a message, `{0}`, `{1}` or a name in braces stands for a value filled in at run time.

## In the Devolutions Gateway logs and at service startup

Messages about `gateway.json`, listeners and certificates that stop the service are listed with their fix in [Configuration file (gateway.json)](https://docs.devolutions.net/gateway/reference/configuration.md). The most frequent ones:

<table><thead><tr><th width="300">MESSAGE</th><th>CAUSE</th><th>FIX</th></tr></thead><tbody><tr><td>"invalid config file at {path}"</td><td><code>gateway.json</code> isn't valid JSON, or a value has the wrong type.</td><td>Correct the file. In Windows paths, write <code>\\</code>.</td></tr><tr><td>"found significant issues with the certificate: … (you can set `TlsVerifyStrict` to `false` in the gateway.json configuration file if that's intended)"</td><td>The certificate file has no Subject Alternative Name or no <em><strong>Server Authentication</strong></em> EKU, and <code>TlsVerifyStrict</code> is <code>true</code>.</td><td>Use a certificate with both. See <a href="https://docs.devolutions.net/gateway/help/troubleshooting/general.md">Devolutions Gateway troubleshooting</a>.</td></tr><tr><td>"no usable certificate found in the system store; observed issues: …"</td><td>No certificate of the Windows store matches, is valid and has a private key the service account can read.</td><td>See <a href="https://docs.devolutions.net/gateway/guides/certificates/windows-certificate-store.md">Use the Windows certificate store</a>.</td></tr><tr><td>"failed to bind listener: {external URL} -> {internal URL}"</td><td>The listener port is in use, or the address isn't on this computer. Preceded by "Failed to bind {url}; retrying in 10s".</td><td>Free the port or change <code>Listeners</code>.</td></tr><tr><td>"TlsVerifyStrict option is not set, defaulting to false. This may hide latent issues."</td><td>Warning: <code>TlsVerifyStrict</code> is absent, for example removed by a PowerShell module cmdlet.</td><td>Add <code>"TlsVerifyStrict": true</code> to <code>gateway.json</code> once the certificate is compliant.</td></tr><tr><td>"TlsVerifyStrict option is explicitly set to false. This may hide latent issues."</td><td>Warning: strict certificate checks are off.</td><td>Set it to <code>true</code> once the certificate is compliant.</td></tr><tr><td>"Detected TlsPrivateKeyPassword option. This option doesn’t inherently enhance security beyond using a plain, unencrypted private key."</td><td>Warning: the certificate password is stored in clear text in <code>gateway.json</code>.</td><td>None needed. Protect the data folder.</td></tr><tr><td>"Hostname doesn't match the TLS certificate subject name configured; not necessarily a problem if it is instead matched by an alternative subject name"</td><td>Warning: <code>Hostname</code> differs from <code>TlsCertificateSubjectName</code>.</td><td>None if the host name is in the SAN of the certificate; otherwise correct <code>Hostname</code> or the certificate.</td></tr><tr><td>"Requested server name does not match the hostname"</td><td>Warning during a TLS handshake: the client used a name that isn't <code>Hostname</code>.</td><td>Use the name in the certificate, or update <code>Hostname</code>.</td></tr><tr><td>"Failed to load XMF native library, features requiring video processing such as remuxing and shadowing are disabled"</td><td>The video library <code>xmf.dll</code> or <code>libxmf.so</code> is missing or can't load.</td><td>Reinstall Devolutions Gateway. Recordings still work.</td></tr><tr><td>"Video remuxing was skipped because XMF native library is not loaded"</td><td>Same cause, after a recorded session.</td><td>Same fix.</td></tr><tr><td>"JRL file doesn't exist (path: …). Starting with an empty JRL (JWT Revocation List)."</td><td>Information: no revocation list was published yet.</td><td>None, or <em><strong>Publish revocation list</strong></em> in Devolutions Server.</td></tr><tr><td>"**DEBUG OPTIONS ARE ENABLED, PLEASE DO NOT USE IN PRODUCTION**"</td><td><code>gateway.json</code> contains options reserved for Devolutions development.</td><td>Remove the <code>__debug__</code> object.</td></tr><tr><td>"couldn’t create ngrok session"</td><td>ngrok refused the token or can't be reached.</td><td>Check <code>Ngrok.AuthToken</code> and outbound internet access.</td></tr></tbody></table>

### Tokens and sessions

These appear in the Devolutions Gateway logs when a session is refused. The client usually reports a generic connection error.

<table><thead><tr><th width="300">MESSAGE</th><th>CAUSE</th><th>FIX</th></tr></thead><tbody><tr><td>"failed to verify token signature using main provisioner key"</td><td><code>provisioner.pem</code> isn't the public key of the Devolutions Server or Devolutions Cloud that issued the token.</td><td>Download the public key again, save it as <code>provisioner.pem</code>, restart the service.</td></tr><tr><td>"gateway ID scope mismatch"</td><td>The token was issued for another gateway ID than the <code>Id</code> in <code>gateway.json</code>.</td><td>Select <em><strong>Publish Gateway configuration</strong></em> in Devolutions Server or Devolutions Cloud.</td></tr><tr><td>"a revoked value is contained"</td><td>The token was revoked by the published revocation list.</td><td>Open the session again to get a new token.</td></tr><tr><td>"previously used token unexpectedly reused (reconnection window is exceeded)", "… (exceeded maximum number of reconnections during the reconnection window)", "… (session was killed)"</td><td>A session token was used again outside the allowed reconnections: at most 10 within the reconnection window, or after the session was terminated.</td><td>Open the session again from Remote Desktop Manager or the web interface.</td></tr><tr><td>"lifetime defined by `nbf` and `exp` claims is too long"</td><td>The token is valid for longer than Devolutions Gateway allows for its type.</td><td>Open the session again. If it persists, contact Devolutions support with the gateway logs.</td></tr><tr><td>"delegation key is missing"</td><td>The token carries encrypted credentials (credential injection) but <code>DelegationPrivateKeyFile</code> isn't configured.</td><td>See <a href="https://docs.devolutions.net/gateway/guides/connect/credential-injection.md">Proxy-based credential injection</a>.</td></tr><tr><td>"recording policy violated"</td><td>The session requires a recording and none started within 10 seconds, or the recording stopped.</td><td>Check the recording folder and the certificate. See <a href="https://docs.devolutions.net/gateway/help/troubleshooting/recording-tls-certificate.md">Invalid TLS certificate for session recording</a>.</td></tr><tr><td>"can't meet recording policy"</td><td>The session type can't be recorded by Devolutions Gateway itself.</td><td>Change the recording settings of the entry.</td></tr><tr><td>"requested domain is not allowed", "realm is missing from KDC request"</td><td>A KDC proxy request asks for another Kerberos realm than the one of its token.</td><td>Check the <em><strong>Kerberos realm</strong></em> of the KDC proxy settings. See <a href="https://docs.devolutions.net/gateway/guides/connect/kdc-proxy.md">Use the KDC proxy</a>.</td></tr></tbody></table>

### HTTP errors returned by Devolutions Gateway

<table><thead><tr><th width="300">MESSAGE</th><th>CAUSE</th><th>FIX</th></tr></thead><tbody><tr><td>401 "Invalid or missing authorization token"</td><td>The request has no token, or a token Devolutions Gateway doesn't accept.</td><td>See the token messages above.</td></tr><tr><td>403 "Insufficient permissions"</td><td>The token doesn't allow that operation.</td><td>Request it from Devolutions Server or Devolutions Cloud with an account that has the right permission.</td></tr><tr><td>408 Request Timeout</td><td>An HTTP request took more than 15 seconds.</td><td>Check the network and the reverse proxy.</td></tr><tr><td>507 "recording storage is not accessible", "recording storage is not writable", "recording storage below minimum free-space threshold"</td><td>The recording folder doesn't exist, the service account can't write to it, or free space is below <code>MinRecordingStorageFreeSpace</code>.</td><td>Fix the folder permissions or free space. See <a href="https://docs.devolutions.net/gateway/guides/recording/storage.md">Recording storage and path</a>.</td></tr><tr><td>"Recording storage is full; closing push stream"</td><td>The disk filled up during a recording.</td><td>Free space on the recording volume.</td></tr><tr><td>409 "attempted to delete a recording for an ongoing session"</td><td>The recording of a session still in progress can't be deleted.</td><td>Delete it after the session ends.</td></tr><tr><td>"patch request contains a key that is not allowed"</td><td>Only <code>Id</code>, <code>SubProvisionerPublicKey</code> and <code>Subscriber</code> can be changed through the configuration API.</td><td>Edit <code>gateway.json</code> for other settings.</td></tr><tr><td>503 "Agent updater service is unavailable", "failed to open update manifest file"</td><td>An update was requested but Devolutions Agent isn't installed on the computer of the gateway.</td><td>Install Devolutions Agent with its Devolutions Gateway updater feature. See <a href="https://docs.devolutions.net/gateway/for-administrators/install/update.md">Update Devolutions Gateway</a>.</td></tr><tr><td>"Agent updates require a V2-capable agent; upgrade the installed agent first"</td><td>The installed Devolutions Agent is too old to update itself through Devolutions Gateway.</td><td>Update Devolutions Agent manually first.</td></tr></tbody></table>

## In the standalone web application

<table><thead><tr><th width="300">MESSAGE</th><th>CAUSE</th><th>FIX</th></tr></thead><tbody><tr><td>"standalone web application not enabled"</td><td><code>WebApp.Enabled</code> isn't <code>true</code>.</td><td>See <a href="https://docs.devolutions.net/gateway/guides/standalone-web-app.md">Use the standalone web application</a>.</td></tr><tr><td>"Invalid username or password, please verify your credentials"</td><td>The user name isn't in the users file, or the password is wrong.</td><td>Reset it with <code>Set-DGatewayUser</code>.</td></tr><tr><td>"too many login attempts"</td><td>More sign-in attempts than <code>WebApp.LoginLimitRate</code> (default 10) in one minute.</td><td>Wait one minute.</td></tr><tr><td>"Username is required.", "Password is required.", "Hostname is required."</td><td>A required field is empty.</td><td>Fill it in.</td></tr><tr><td>"Invalid URL - Must start with tcp:// or udp:// ."</td><td>The <em><strong>KDC Server URL</strong></em> of an RDP session has another prefix.</td><td>Write it as <code>tcp://host:88</code> or <code>udp://host:88</code>.</td></tr><tr><td>"File size is too large, must be less than 10kb"</td><td>The SSH private key file is larger than 10 KB.</td><td>Use the private key file only.</td></tr><tr><td>"Port must be between 1 and 65535."</td><td>Invalid <em><strong>Port</strong></em> in the Active Directory form.</td><td>Use 389 (LDAP) or 636 (LDAPS), or the real port.</td></tr><tr><td>"Connection timeout.", "Connection error: Please verify your connection settings.", "Connection has been terminated."</td><td>Devolutions Gateway couldn't reach the host, or the session ended.</td><td>Check the host name, port and credentials, and that the computer of the gateway reaches the host.</td></tr><tr><td>"We were unable to locate any servers. You can still enter the information manually."</td><td>The network scan found no host.</td><td>Type the host name.</td></tr><tr><td>"Latest version unavailable"</td><td>Your browser can't reach devolutions.net to check for a newer version.</td><td>None needed.</td></tr></tbody></table>

### Recording player

<table><thead><tr><th width="300">MESSAGE</th><th>CAUSE</th><th>FIX</th></tr></thead><tbody><tr><td>"You are not authorized to play this recording"</td><td>The link or its token isn't valid for this recording, or has expired.</td><td>Open the recording again from Devolutions Server or Devolutions Cloud.</td></tr><tr><td>"The session has finished, playing recording as fallback"</td><td>You opened live shadowing of a session that just ended.</td><td>None: the recording plays instead.</td></tr><tr><td>"Internal error, please try again", "Unknown error, please try again", "An error occurred: {error}"</td><td>The player couldn't read the recording.</td><td>Try again. Check the Devolutions Gateway logs.</td></tr></tbody></table>

## In the Windows installer

<table><thead><tr><th width="300">MESSAGE</th><th>CAUSE</th><th>FIX</th></tr></thead><tbody><tr><td>"This product requires Windows PowerShell 5.1"</td><td>Windows PowerShell is older than 5.1.</td><td>Install Windows Management Framework 5.1.</td></tr><tr><td>"The product requires Microsoft .NET Framework 4.7.1. Microsoft .NET Framework 4.8 is strongly recommended. Would you like to download it now?"</td><td>.NET Framework is older than 4.7.1.</td><td>Click <em><strong>Yes</strong></em> and install .NET Framework 4.8.</td></tr><tr><td>"You need to install the 64-bit version of this product on 64-bit Windows."</td><td>Windows isn't 64-bit.</td><td>Use 64-bit Windows.</td></tr><tr><td>"A newer version of this product is already installed."</td><td>Downgrades aren't allowed (exit code 1603 when silent).</td><td>Uninstall first, or install the same or a newer version.</td></tr><tr><td>"You must enter a valid port", "You must enter a valid URL", "You must provide a valid hostname"</td><td>A listener or external URL field is invalid.</td><td>Correct the field.</td></tr><tr><td>"An insecure external URI is not recommended for production environments"</td><td>The external URL uses <code>http</code>.</td><td>Use <code>https</code> with a certificate.</td></tr><tr><td>"You must select a certificate from the system certificate store", "You must provide a valid certificate file and either a password or private key file"</td><td>The certificate is missing or incomplete.</td><td>Select it, with its password (<code>.pfx</code>) or private key file (PEM).</td></tr><tr><td>"Encrypted private keys are not supported"</td><td>The PEM private key file is encrypted.</td><td>Use an unencrypted key, or a <code>.pfx</code> file with its password.</td></tr><tr><td>"The certificate is not yet valid", "The certificate is expired", "The certificate will expire soon"</td><td>Validity dates of the certificate.</td><td>Use a valid certificate.</td></tr><tr><td>"The certificate is missing the Server Authentication EKU extension", "The certificate is missing the Subject Alternative Name extension"</td><td>The certificate fails the strict checks.</td><td>Get a certificate with both extensions.</td></tr><tr><td>"The certificate file is missing one or more intermediate certificates. Re-export it with the intermediates included so clients can verify the certificate."</td><td>Incomplete chain.</td><td>Re-export the <code>.pfx</code> with all certificates in the path.</td></tr><tr><td>"The certificate is self-signed. Clients will not trust it unless they explicitly trust the certificate."</td><td>Warning.</td><td>Trust it on every client, or use a certificate from a trusted authority.</td></tr><tr><td>"The {0} account may not have permission to read the certificate's private key. The installer will attempt to grant the required access."</td><td>Certificate from the Windows store and a service account other than SYSTEM.</td><td>None, or grant read access to the private key yourself. The installer grants it only for <em><strong>Local Machine</strong></em> certificates.</td></tr><tr><td>"The authentication token is required", "The domain is required and must be a valid hostname", "The remote address must be a valid host and port in the format {host}:{port}"</td><td>An ngrok field is invalid.</td><td>Correct it. See <a href="https://docs.devolutions.net/gateway/guides/reverse-proxies/ngrok.md">Ngrok</a>.</td></tr><tr><td>"Passwords do not match"</td><td>The two passwords of the default web application user differ.</td><td>Type them again.</td></tr></tbody></table>

A silent installation that fails returns exit code 1603; run it with `/l*v <log file>` to see why. A service account with a password needs `P.SERVICEPASSWORD` again on each upgrade.

## In the PowerShell module

<table><thead><tr><th width="300">MESSAGE</th><th>CAUSE</th><th>FIX</th></tr></thead><tbody><tr><td>"{file} or {file} already exists, use -Force to overwrite"</td><td>A key pair already exists.</td><td>Add <code>-Force</code>, or keep the existing keys.</td></tr><tr><td>"{file} doesn't exist", "{file} appears to be empty"</td><td>The key file given to <code>Import-DGatewayProvisionerKey</code> is wrong.</td><td>Check the path and the file.</td></tr><tr><td>"Config file is missing `ProvisionerPrivateKeyFile`. Alternatively, use -PrivateKeyFile argument."</td><td><code>New-DGatewayToken</code> needs the provisioner private key.</td><td>Pass <code>-PrivateKeyFile</code>.</td></tr><tr><td>"unsupported platform"</td><td><code>New-DGatewayCertificate</code> outside Windows, or a package cmdlet on macOS.</td><td>Use certificate files on Linux.</td></tr><tr><td>"Service name is empty", "Not implemented"</td><td><code>Start-DGateway</code>, <code>Stop-DGateway</code> or <code>Restart-DGateway</code> was run on a platform other than Windows or Linux.</td><td>Manage the service with the tools of the platform.</td></tr><tr><td>"Devolutions Gateway installation failed (MSI exit code {code}). Log: {path}"</td><td><code>Install-DGatewayPackage</code> failed.</td><td>Read the log at that path.</td></tr><tr><td>"ServiceAccount must match ServiceCredential.UserName; omit ServiceAccount to use the credential user name"</td><td>The two parameters name different accounts.</td><td>Pass only <code>-ServiceCredential</code>.</td></tr></tbody></table>

All cmdlets: [PowerShell module reference](https://docs.devolutions.net/gateway/reference/powershell-module.md).

## In Remote Desktop Manager

### Opening a session through a gateway

<table><thead><tr><th width="300">MESSAGE</th><th>CAUSE</th><th>FIX</th></tr></thead><tbody><tr><td>"Unable to connect with Devolutions Gateway: {0}"</td><td>Devolutions Server or Devolutions Cloud couldn't give a token. {0} gives the reason, for example "The token’s gateway URL is invalid.", "This entry type is not supported." or "The workspace is offline.".</td><td>Act on the reason shown.</td></tr><tr><td>"This workspace does not support Devolutions Gateway, or Devolutions Gateway is not enabled."</td><td>The workspace isn't Devolutions Server or Devolutions Cloud, or Devolutions Gateway isn't enabled on the Devolutions Server.</td><td>Use a Devolutions Server or Devolutions Cloud workspace with a registered gateway.</td></tr><tr><td>"Devolutions Gateway is not supported in this workspace."</td><td>Warning in the entry properties: the entry uses Devolutions Gateway in a workspace that can't.</td><td>Same fix.</td></tr><tr><td>"No Devolutions Gateway selected in connection’s ({0}) VPN/SSH/Gateway settings."</td><td>The entry's <em><strong>VPN/tunnel/gateway</strong></em> section has no gateway.</td><td>Select a gateway in the entry.</td></tr><tr><td>"Unable to connect to any specified Devolutions Gateway."</td><td>The main gateway and every alternate gateway failed.</td><td>Check the health of the gateways.</td></tr><tr><td>"Devolutions Server could not generate a token for the host '{0}'."</td><td>Devolutions Server refused the token for that host.</td><td>Check the gateway rules and permissions in Devolutions Server.</td></tr><tr><td>"Unable to launch the session via Devolutions Gateway"</td><td>The session couldn't start through the gateway.</td><td>Read the gateway logs.</td></tr><tr><td>"The Devolutions Gateway could not connect to '{0}'. See the gateway logs for details."</td><td>The computer of the gateway can't reach the host.</td><td>Check the host, the port and the network from the gateway.</td></tr><tr><td>"The Devolutions Gateway could not establish a TLS connection to '{0}'. The certificate of that host must be trusted by the machine the gateway runs on. See the gateway logs for details."</td><td>Devolutions Gateway doesn't trust the certificate of the host.</td><td>Trust its root on the computer of the gateway. Skipping validation in the entry doesn't help.</td></tr><tr><td>"Website entries via Devolutions Gateway are currently only supported when using Microsoft Edge or Google Chrome web browsers."</td><td>The website entry uses another browser.</td><td>Use Microsoft Edge or Google Chrome.</td></tr><tr><td>"The cache associated with this website is locked by another session using the same Devolutions gateway."</td><td>Another website session through the same gateway uses the browser cache.</td><td>Close the other session.</td></tr><tr><td>"The connection must use a Devolutions Gateway VPN. Do you want to continue?"</td><td>A Devolutions Gateway tunnel entry doesn't use Devolutions Gateway.</td><td>Select Devolutions Gateway in its <em><strong>VPN/tunnel/gateway</strong></em> section.</td></tr><tr><td>"Dynamic connections are not allowed on this gateway." / "Dynamic connections are not allowed on this gateway: "{0}""</td><td>Quick Connect or another dynamic connection on a gateway without <em><strong>Allow dynamic connections</strong></em>.</td><td>Turn on <em><strong>Allow dynamic connections</strong></em> in the gateway's security settings.</td></tr><tr><td>"The proxy host is not supported with IronVNC. Use a Devolutions Gateway instead."</td><td>A VNC entry uses a proxy host with the IronVNC client.</td><td>Use Devolutions Gateway.</td></tr></tbody></table>

### Access, rulesets and licenses

<table><thead><tr><th width="300">MESSAGE</th><th>CAUSE</th><th>FIX</th></tr></thead><tbody><tr><td>"Access denied for "{0}" on Devolutions Gateway "{1}". Devolutions Gateway ruleset is enforced. Connection: {2}"</td><td>The gateway has <em><strong>Force Gateway rulesets</strong></em>: it can only be used through a gateway ruleset.</td><td>Select a gateway ruleset in the entry.</td></tr><tr><td>"Network access denied for "{0}" ({1}) on Devolutions Gateway ruleset "{2}" …"</td><td>A deny rule of the ruleset matches the host.</td><td>Change the rules, or the entry's gateway. See <a href="https://docs.devolutions.net/gateway/guides/devolutions-server/rulesets.md">Gateway rulesets in Devolutions Server</a>.</td></tr><tr><td>"Host "{0}" ({1}) does not match any allowed rules on Devolutions Gateway ruleset "{2}"."</td><td>The ruleset has allow rules and none matches the host.</td><td>Add an allow rule.</td></tr><tr><td>"The connection was blocked because it did not comply with the network access rules configured on the Devolutions Gateway ruleset."</td><td>Same, short form.</td><td>Same fix.</td></tr><tr><td>"The entry '{0}' does not allow connecting to '{1}' through Devolutions Gateway."</td><td>The host isn't the host of the entry or one of its allowed additional hosts.</td><td>Correct the host, or allow additional hosts in the entry.</td></tr><tr><td>"You do not have permission to use this gateway."</td><td>You aren't in the gateway's <em><strong>Permissions</strong></em>.</td><td>Ask an administrator.</td></tr><tr><td>"Access denied: you don’t have access to the configured Devolutions Gateway. Connection: {0}, Devolutions Gateway: {1}"</td><td>Same.</td><td>Same.</td></tr><tr><td>"Access denied: the configured Devolutions Gateway can’t be used in the current vault. Connection: {0}, Devolutions Gateway: {1}"</td><td>The gateway isn't allowed in the vault of the entry.</td><td>Allow the vault in the gateway's <em><strong>Vaults</strong></em> settings.</td></tr><tr><td>"The selected Gateway isn’t assigned to the vault. Some users might not have access to it."</td><td>Warning when saving an entry.</td><td>Assign the gateway to the vault.</td></tr><tr><td>"This protocol is not supported by Devolutions Gateway: {0}"</td><td>The entry type can't go through Devolutions Gateway.</td><td>Use another entry type.</td></tr></tbody></table>

### Managing gateways (Administration – Devolutions Gateway)

<table><thead><tr><th width="300">MESSAGE</th><th>CAUSE</th><th>FIX</th></tr></thead><tbody><tr><td>"Could not ping your Devolutions Gateway "{0}"."</td><td>The health check failed.</td><td>See <a href="https://docs.devolutions.net/gateway/help/troubleshooting/general.md">Devolutions Gateway troubleshooting</a>.</td></tr><tr><td>"Connection failed from RDM", "Connection failed from PAM service"</td><td>Devolutions Cloud: the gateway isn't reachable from the computer of Remote Desktop Manager, or from the Devolutions Cloud PAM service.</td><td>Check the URL and firewall from the place that failed.</td></tr><tr><td><em><strong>Configuration is not in sync</strong></em>, "Expected ID {0} for this Gateway, but health check returned {1}. …"</td><td>The gateway <code>Id</code> differs.</td><td><em><strong>Publish Gateway configuration</strong></em>.</td></tr><tr><td>"Gateway is configured with HTTP. Secure HTTPS communication should be used."</td><td>The gateway URL starts with <code>http:</code>.</td><td>Configure a certificate and an HTTPS listener.</td></tr><tr><td>"Could not fetch your gateway {0} log file.", "… diagnostics.", "… currently active sessions.", "… configuration.", "… KDC proxy token."</td><td>The gateway didn't answer the request.</td><td>Check its health.</td></tr><tr><td>"Devolutions Gateway must be on version {0} or later to update through DVLS.", "Devolutions Agent must be installed to update through DVLS."</td><td>The gateway can't be updated remotely.</td><td>See <a href="https://docs.devolutions.net/gateway/reference/version-requirements.md">Version requirements</a>.</td></tr><tr><td>"Another Devolutions Gateway with the URL "{0}" already exists."</td><td>Two gateways can't share a URL.</td><td>Use the existing gateway, or another URL.</td></tr><tr><td>"Invalid token duration. The token duration should be between 1 and 120 minutes."</td><td><em><strong>Generated token duration</strong></em> out of range.</td><td>Enter 1 to 120.</td></tr><tr><td>"A gateway ruleset needs a physical gateway to execute on", "This gateway ruleset is not currently linked to an existing gateway: "{0}""</td><td>The ruleset has no physical gateway, or it was deleted.</td><td>Select a <em><strong>Physical Gateway</strong></em> for the ruleset.</td></tr><tr><td>"Could not publish Gateway configuration because "Force token generation to be on the PAM Service" is enabled"</td><td>Devolutions Cloud: tokens are generated by the PAM service.</td><td>Publish from Devolutions Cloud with the PAM service running, or turn off that option.</td></tr><tr><td>"No updatable gateways were found."</td><td>No selected gateway can be updated. Also shown when <em><strong>Always prompt with list</strong></em> is on and the entry has no gateway to list.</td><td>See <a href="https://docs.devolutions.net/gateway/reference/version-requirements.md">Version requirements</a>, or check the entry's alternate gateways.</td></tr></tbody></table>

### Agent Tunnel, recordings, PAM and network scan

<table><thead><tr><th width="300">MESSAGE</th><th>CAUSE</th><th>FIX</th></tr></thead><tbody><tr><td>"Agent Tunnel is not enabled on this Gateway. In gateway.json, set AgentTunnel.Enabled = true and restart the Gateway."</td><td>Agent Tunnel is off on the gateway.</td><td>Do what the message says. See <a href="https://docs.devolutions.net/gateway/guides/connect/agent-tunnel.md">Agent tunnel</a>.</td></tr><tr><td>"This Gateway version does not support Agent Tunnel. Upgrade the Gateway to a version that ships the Agent Tunnel API."</td><td>The gateway is older than 2026.2.0.</td><td>Update Devolutions Gateway to 2026.3.0 or later, the first version where the Agent Tunnel is a released feature.</td></tr><tr><td>"Devolutions Server could not generate an agent enrollment string.", "Devolutions Server could not list the agents for this Gateway."</td><td>Devolutions Server couldn't complete the request.</td><td>Check the health and logs of the gateway.</td></tr><tr><td>"Connection to the recording server lost."</td><td>Remote Desktop Manager lost the connection that sends the recording to the gateway.</td><td>Check the network, the gateway certificate and the recording folder. See <a href="https://docs.devolutions.net/gateway/help/troubleshooting/recording-tls-certificate.md">Invalid TLS certificate for session recording</a>.</td></tr><tr><td>"Warning: If the recording gateway is different from the one used for the connection, the session cannot be aborted if recording fails, even if it is indicated as required."</td><td>The entry records to another gateway than the session's.</td><td>Use <em><strong>Same as session</strong></em> if the session must stop when the recording fails.</td></tr><tr><td>"Session recording cleanup is not supported by this Gateway. Please update to version {0} or later."</td><td>The gateway is older than 2025.1.0.</td><td>Update Devolutions Gateway.</td></tr><tr><td>"{0} is a Gateway Farm. Session recordings cannot be deleted."</td><td>Recordings are deleted per gateway, not per farm.</td><td>Delete them on the member gateway.</td></tr><tr><td>"The domain controller could not be detected through Devolutions Gateway. Specify it explicitly in the provider settings."</td><td>A PAM provider that uses a gateway couldn't find the domain controller.</td><td>Enter the domain controller in the provider settings.</td></tr><tr><td>"The Devolutions Gateway certificate is not trusted. Trust it, then try again."</td><td>The gateway certificate isn't trusted.</td><td>Trust it, or use a trusted certificate.</td></tr><tr><td>"Could not generate a gateway network scan token.", "Could not start the gateway network scan."</td><td>Network scan from a gateway failed, for example because you may not use that gateway.</td><td>Check the gateway permissions and health. See <a href="https://docs.devolutions.net/gateway/guides/network-scan.md">Network scan</a>.</td></tr></tbody></table>

## In the Devolutions Server web interface

<table><thead><tr><th width="300">MESSAGE</th><th>CAUSE</th><th>FIX</th></tr></thead><tbody><tr><td>"DVLS could not authenticate against the Gateway. Verify the provisioner private key in this Gateway entry matches the provisioner.pem configured on the Gateway, and that the Gateway entry’s stored Gateway ID matches the running Gateway’s Id field."</td><td><code>provisioner.pem</code> or <code>Id</code> on the gateway doesn't match Devolutions Server.</td><td>Install the public key of Devolutions Server as <code>provisioner.pem</code>, restart, then <em><strong>Publish Gateway configuration</strong></em>.</td></tr><tr><td>"Devolutions Gateway is unreachable. Please make sure it is up and running."</td><td>Devolutions Server can't reach the gateway URL.</td><td>Check the service, URL and firewall from the server.</td></tr><tr><td>"Devolutions Server could not resolve your Devolutions Gateway hostname: {0}"</td><td>DNS on the server doesn't resolve the gateway name.</td><td>Fix DNS, or use a resolvable name.</td></tr><tr><td>"Devolutions Gateway http request failed. Requested url {0} returned status code {1}"</td><td>The gateway answered with an error.</td><td>Read the gateway logs.</td></tr><tr><td>"Your configured public key seems to be invalid, or the gap between your Devolutions Server and Devolutions Gateway clock is too big.", "Your configured public key appears to be invalid."</td><td>The gateway refused the token of Devolutions Server.</td><td>Install the right <code>provisioner.pem</code>, and synchronize the clocks.</td></tr><tr><td>"We detected a clock desynchronization between your Devolutions Server and Devolutions Gateway. Your Devolutions Gateway might be slow or unresponsive."</td><td>The clocks differ by more than 30 seconds.</td><td>Synchronize them with NTP.</td></tr><tr><td>"Your configured TCP port does not match the one configured on your Devolutions Gateway."</td><td>The <em><strong>TCP Listening Port</strong></em> differs from the gateway's TCP listener.</td><td>Use <em><strong>Auto-Detect</strong></em>.</td></tr><tr><td>"Devolutions Gateway key pair is invalid. It should probably be renewed.", "Devolutions Gateway key pair can’t be generated. If issues persist after server restart, please contact support."</td><td>The token-signing key pair of Devolutions Server is damaged or can't be created.</td><td><em><strong>More</strong></em> – <em><strong>Renew key pair</strong></em>, then install the new public key on every gateway.</td></tr><tr><td>"All Devolutions Gateways will have to be reconfigured. Do you want to continue?"</td><td>Confirmation of <em><strong>Renew key pair</strong></em>.</td><td>After renewing, install the new public key on every gateway.</td></tr><tr><td>"Error downloading the server’s public key.", "Error downloading the server’s private key."</td><td>The key couldn't be downloaded.</td><td>Try again; check the key pair.</td></tr><tr><td>"Failed to publish configuration for Gateway: "{0}"", "Failed to publish revocation list for Gateway: "{0}"", "Failed to publish revocation list to {0} Gateways"</td><td>The gateways didn't accept the change.</td><td>Check their health and authentication.</td></tr><tr><td>"The API listener is required", "Invalid url", "The name is required"</td><td>A required field of the gateway editor is empty or invalid.</td><td>Fill in <em><strong>Devolutions Gateway URL</strong></em> and <em><strong>Name</strong></em>.</td></tr><tr><td>"A KDC server already exists for this Kerberos realm."</td><td>One KDC server per realm per gateway.</td><td>Edit the existing one.</td></tr><tr><td>"Invalid URL prefix. Accepted values: {0}"</td><td>A KDC proxy token URL doesn't start with <code>tcp://</code> or <code>udp://</code>.</td><td>Correct the URL.</td></tr><tr><td>"There is no usable Devolutions Gateway in the farm.", "The Devolutions Gateway associated farm cannot be found."</td><td>No member of the farm is up, or all are drained.</td><td>Check the members' health and <em><strong>Drain</strong></em> settings. See <a href="https://docs.devolutions.net/gateway/guides/devolutions-server/farms.md">Gateway farms in Devolutions Server</a>.</td></tr><tr><td>"Gateway ID {0} could not be found."</td><td>The gateway was deleted.</td><td>Select another gateway.</td></tr><tr><td>"Gateway’s private key is missing."</td><td>The key Devolutions Server needs to sign the request is missing.</td><td>Check the Devolutions Server key pair in <em><strong>More</strong></em> – <em><strong>Update key pair</strong></em>, or contact Devolutions support.</td></tr><tr><td>"Devolutions Gateway preflight error": "Devolutions Gateway "{0}" on connection "{1}" Error message: {2}"</td><td>The gateway refused the session preparation.</td><td>Act on the error message, and read the gateway logs.</td></tr><tr><td>"Unable to launch the session via Devolutions Gateway"</td><td>The browser session couldn't start.</td><td>Check that your browser reaches the gateway URL directly.</td></tr><tr><td>"The entry host name is not defined."</td><td>The entry has no host.</td><td>Fill in the host.</td></tr></tbody></table>

### Updates

<table><thead><tr><th width="300">MESSAGE</th><th>CAUSE</th><th>FIX</th></tr></thead><tbody><tr><td>"Gateway is already at the requested version"</td><td>Nothing to update.</td><td>None.</td></tr><tr><td>"Gateway update is already running"</td><td>An update is in progress.</td><td>Wait, or <em><strong>Cancel update</strong></em>.</td></tr><tr><td>"Gateway installed version doesn’t support remote updates", "Devolutions Agent is not installed"</td><td>Gateway older than 2025.1.0, or no Devolutions Agent 2025.1.0 or later on its computer.</td><td>Update the gateway manually once, and install Devolutions Agent.</td></tr><tr><td>"Gateway update request failed.", "The server is not responding; please try again later."</td><td>The gateway didn't report the new version within 5 minutes.</td><td>Check Devolutions Agent and the gateway logs on its computer.</td></tr><tr><td>"Some instances have active sessions. Do you want to proceed with the update?"</td><td>Sessions would be cut.</td><td>Use <em><strong>Defer until no active sessions</strong></em> instead.</td></tr><tr><td>"Unable to update"</td><td>The gateway can't be updated remotely.</td><td>See <a href="https://docs.devolutions.net/gateway/reference/version-requirements.md">Version requirements</a>.</td></tr></tbody></table>

## In the Devolutions Server Console

<table><thead><tr><th width="300">MESSAGE</th><th>CAUSE</th><th>FIX</th></tr></thead><tbody><tr><td>"Devolutions Gateway external url is mandatory", "Devolutions Gateway external url scheme has to be http or https", "Devolutions Gateway external url scheme has to be https if server listener enables https"</td><td>The <em><strong>Access URI</strong></em> is missing or doesn't match the listener.</td><td>Enter an <code>https://</code> URL when the HTTP listener uses HTTPS.</td></tr><tr><td>"Certificate is mandatory when using HTTPS", "Certificate file path is mandatory when using file-based certificate", "Certificate subject name is mandatory when using Windows Store certificate", "Invalid certificate source"</td><td>Certificate settings missing.</td><td>Complete the <em><strong>Certificate configuration</strong></em> page.</td></tr><tr><td>"Devolutions Gateway certificate password is mandatory with the certificate file.", "Devolutions Gateway certificate private key is mandatory with the certificate file."</td><td>A certificate file without its password or key.</td><td>Provide the password (<code>.pfx</code>) or private key file.</td></tr><tr><td>"Devolutions Gateway provisioner public key is mandatory"</td><td>No public key chosen.</td><td>Select <em><strong>Use the public key from DVLS instance</strong></em> or a file.</td></tr><tr><td>"Devolutions Gateway recording path is invalid"</td><td>The <em><strong>Recording storage path</strong></em> is invalid.</td><td>Correct the path.</td></tr><tr><td>"Configuring Devolutions Gateway service failed.", "Configuring Devolutions Gateway ID failed."</td><td>The console couldn't configure the installed gateway with PowerShell.</td><td>Check Windows PowerShell 5.1. See <a href="https://docs.devolutions.net/gateway/help/troubleshooting/side-by-side-method-not-found.md">Side-by-side installation method not found</a>.</td></tr><tr><td>"Failed to start Devolutions Gateway service", "Failed to set Devolutions Gateway service start mode to automatic"</td><td>The service didn't start.</td><td>See <a href="https://docs.devolutions.net/gateway/help/troubleshooting/general.md">Devolutions Gateway troubleshooting</a>.</td></tr><tr><td>"Devolutions Gateway can't be created. It will be possible to create it manually via the Devolutions Server web interface later."</td><td>Side-by-side installation: the gateway record couldn't be added to Devolutions Server.</td><td>Add the gateway in <em><strong>Administration</strong></em> – <em><strong>Devolutions Gateway</strong></em>.</td></tr><tr><td>"Devolutions Gateway installation folder can't be found."</td><td>Devolutions Gateway isn't installed where expected.</td><td>Reinstall it from the console.</td></tr><tr><td>"Unable to reach Update Server. See logs for more information."</td><td>The console can't download the installer.</td><td>Check internet access, or use <em><strong>Install from msi file</strong></em>.</td></tr><tr><td>"You can’t update to version {0} since it is older than the currently installed version {1}."</td><td>Downgrades aren't allowed.</td><td>Choose a newer version.</td></tr><tr><td>"The digital signature could not be verified. A file for which you don’t know the source should not be trusted and installed. Do you want to continue?"</td><td>The installer file isn't signed by Devolutions.</td><td>Click <em><strong>No</strong></em> and download it from Devolutions.</td></tr><tr><td>"Devolutions Gateway server is not installed, it can't be uninstalled."</td><td>Nothing to uninstall.</td><td>None.</td></tr><tr><td>"Failed to stop the Devolutions Gateway service. Please close any applications using the service and try again."</td><td>The service is held open.</td><td>Close <code>services.msc</code> and other tools, then try again.</td></tr><tr><td>"MSI uninstall failed with exit code {exitCode}.", "MSI uninstall timed out after {TimeoutMs} ms."</td><td>Uninstallation failed.</td><td>Uninstall from <em><strong>Settings</strong></em> – <em><strong>Apps</strong></em> on the server.</td></tr><tr><td>"The service is marked for deletion but not yet fully removed. It will be removed after all open handles are closed (close services.msc, Task Manager, etc.)."</td><td>A program keeps the service open.</td><td>Close those programs.</td></tr></tbody></table>

## In Devolutions Cloud

<table><thead><tr><th width="300">MESSAGE</th><th>CAUSE</th><th>FIX</th></tr></thead><tbody><tr><td>"Devolutions Cloud could not authenticate against the Gateway. Verify that the provisioner.pem on the Gateway is the public key downloaded from Devolutions Cloud, then publish the Gateway configuration."</td><td><code>provisioner.pem</code> isn't the Devolutions Cloud public key.</td><td>Install the key from <em><strong>More</strong></em> – <em><strong>Download public key</strong></em>, restart, publish.</td></tr><tr><td><em><strong>Unreachable Devolutions Gateway</strong></em>, "Connection failed from browser"</td><td>Your browser can't reach the gateway URL.</td><td>Check the URL, certificate and firewall from your computer.</td></tr><tr><td>"Connection failed from PAM service"</td><td>The Devolutions Cloud PAM service can't reach the gateway.</td><td>Check the network from the PAM service computer.</td></tr><tr><td>"Could not reach the PAM Service. Try restarting the service."</td><td>An update or another task needs the PAM service.</td><td>Restart the PAM service.</td></tr><tr><td>"Previous Gateway update failed, view Devolutions Cloud service logs for more information"</td><td>The update failed. The PAM service log gives the reason: "Gateway is not running", "Requested version is not valid", "Gateway is already in the requested version or newer", "Devolutions Agent is not installed or version installed is less than 2025.1.0", "Current gateway version is not old enough to support remote updating (installed: {version} minimum: 2025.1.10", or "Gateway failed to update within 8".</td><td>Act on the reason. See <a href="https://docs.devolutions.net/gateway/reference/version-requirements.md">Version requirements</a>.</td></tr><tr><td>"This agent is offline. Sessions fail until it reconnects."</td><td>The agent pinned on the entry is offline.</td><td>Start Devolutions Agent, or choose <em><strong>Automatic</strong></em>.</td></tr><tr><td>"This agent is no longer enrolled on this gateway. Sessions fail until you choose another agent."</td><td>The pinned agent was removed.</td><td>Choose another agent.</td></tr><tr><td>"Choosing an agent is not supported when the gateway is a farm. Select a gateway that is not part of a farm."</td><td>Agents are per gateway.</td><td>Select a single gateway.</td></tr><tr><td>"Recording file not found.", "This session is still being recorded. Try again once it has ended.", "Unknown error. Please check PAM Service logs."</td><td>Playing or deleting a recording failed.</td><td>Act on the message.</td></tr><tr><td>"Gateway’s private key is missing."</td><td>The Devolutions Cloud gateway key pair isn't available.</td><td>Use <em><strong>Download public key</strong></em> once to create it, then install it on the gateway.</td></tr></tbody></table>

Entry rules, rulesets and access messages are the same as in Remote Desktop Manager.

## In Devolutions Password Manager

These messages explain why ***Open in-app session*** (an RDP or SSH Shell session in Devolutions Password Manager, through Devolutions Gateway) is unavailable.

<table><thead><tr><th width="300">MESSAGE</th><th>CAUSE</th><th>FIX</th></tr></thead><tbody><tr><td>"You must have an RDM or Launcher license before you can open sessions."</td><td>No Remote Desktop Manager or Devolutions Launcher license.</td><td>Ask your administrator for a license.</td></tr><tr><td>"Devolutions Gateway must be configured on the connection"</td><td>The entry doesn't use Devolutions Gateway.</td><td>Set Devolutions Gateway in the entry.</td></tr><tr><td>"Gateway not available to the user"</td><td>You may not use the entry's gateway.</td><td>Ask your administrator.</td></tr><tr><td>"You must have permission to view the password of the connection before you can use the in-app session."</td><td>Devolutions Server: no <em><strong>View password</strong></em> permission.</td><td>Ask your administrator.</td></tr><tr><td>"This session requires session recording; it cannot be opened from this application."</td><td>Devolutions Password Manager doesn't record sessions.</td><td>Open the session in Remote Desktop Manager.</td></tr></tbody></table>

## Next

* [Devolutions Gateway troubleshooting](https://docs.devolutions.net/gateway/help/troubleshooting/general.md)
* [Logs and event IDs](https://docs.devolutions.net/gateway/help/troubleshooting/logs-and-events.md)
* [Frequently asked questions](https://docs.devolutions.net/gateway/help/troubleshooting/faq.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/gateway/help/troubleshooting/error-messages.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
