Skip to content
AI GatewayAI Gateway Manual

License management and recovery

The License page, installing a renewed license, what happens around expiry, license problem screens, licenses issued for another installation, and installation error messages.

This guide explains how organization administrators check the AI Gateway license, install a renewed license, and recover when a license problem stops the gateway.

Issuing, renewing, and reissuing a license require the Installation ID from the License page below. For details, contact QueryPie support (ab@querypie.com).

Open Organization → License in the admin console. Only organization administrators can see this page and install licenses. An organization administrator can use it even without a seat.

AreaContents
Installed licenseA status sentence, then License ID, Licensee, Type (Commercial, Proof of concept, Community), Plan, Add-ons (only when there are any), Purchased seats, Included features, Term, Validity period and Issued
Installation IDThe value that identifies this installation. When you request or re-request a license, copy it with the copy button to its right and send it to QueryPie support. It is not a secret, so it is safe to share
Installation historyEvery license installed so far, newest first. The license in force is marked In effect and the others Replaced
Install a licenseVerify and install a license that renews or replaces the current one
  1. Click Load file at the upper right of the Install a license box and choose the .pem file you received. You can also paste the certificate instead: paste the whole PEM, including the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- lines.
  2. Click Verify. Nothing is installed at this step.
  3. Check the contents of the license to install, and what changes from the installed license, in the verification result. A warning appears when the licensee differs; make sure it is the right file.
  4. Click Install this license, or Cancel to stop.

The license takes effect immediately. There is no need to sign out or reload. With several servers, other servers can take up to 30 seconds to pick it up.

Within the same term you cannot install a license that reduces seats or features or moves the expiry date earlier. The comparison is made against every license installed for that term so far. For such a change, ask for a license issued under a new term.

WhenOn screenGateway
From 90 days before expiryAdministrators who can open the License page see the expiry date and days left. The notice appears at 90, 60 and 30 days, and Dismiss hides it until the next stage. At 30 days or fewer it becomes a warningWorks normally
Grace period after expiryEvery user sees the expiry date and the date use will stopWorks normally
After the grace periodA full page titled The license has expired replaces every page and the menusModel Gateway and MCP Gateway calls and most management functions are refused

The grace period depends on the license type:

  • Commercial and Community licenses: 30 days from the expiry date
  • Proof of concept licenses: no grace period. Use stops as soon as the license expires.

Organization administrators can still sign in after the grace period ends. On that page they can install a renewed license and review or release each member’s seat. New seats can be granted after the license is renewed. Auth provider settings also stay available, so sign-in problems can still be fixed. Other users only see a message asking them to request a renewal from an organization administrator.

After you install a license, you return to the usual page right away. Other users get the usual page back when they return to that browser tab or reload the page.

Setting the server clock back does not postpone expiry. If the server clock was set in the future by mistake and the license seems to have expired early after the clock was fixed, contact support.

A full page replaces every console page and hides the menus, whichever page was opened. The address stays the same, and the account menu at the top still offers the manual and sign-out. Every user can click Check again or Sign out on the page. When the problem is solved, the page that was opened returns without a reload.

Title on screenMeaningWhat to do
License restoration required (notice)The installed license could not be found or verified. The gateway keeps running with the features, seats and original expiry date of the last license that was in forceInstall a valid license again. Putting off recovery does not extend the expiry date
License restoration required (full page)A license was registered for this installation before, but no trusted license is left. Everything except sign-in and license installation is refusedAn organization administrator installs a valid license. Administrators see the License page below this message
License registration required (full page)No license was ever registered for this installationAn organization administrator installs a valid license. Administrators see the License page below this message
The license validity period has not started (full page)The validity period of the installed license has not started, and no earlier license is in forceWait for the start date, or install a license whose validity period has started
This license is for another installation (full page)The installed license was issued for another installationFollow License issued for another installation
The installation identity cannot be confirmed (full page)The server could not read the installation ID of this installationContact support
The license has expired (full page)The license expired and its grace period endedAn organization administrator installs a renewed license
License status is temporarily unavailableThe server could not read the license status for a moment. The menus stay and only the page content is replacedClick Check again after a while. If it keeps happening, contact support
Not included in the licenseThe current license does not include the feature. Its menus are hiddenAsk for a license that includes the feature

When the installed license was issued for another installation, Model Gateway and MCP Gateway calls are refused and new seats cannot be granted, even while the license is within its validity period. The console shows This license is for another installation. Organization administrators also see the License page below it with “This license belongs to another installation. Request a new license using this installation ID.” Other users only see a message to contact an administrator, without the installation ID.

Copy the Installation ID from the License page, send it to QueryPie support, and install the license they reissue for that installation ID. Installing a license issued for another installation is refused with the same message.

A fresh installation of the gateway without a database backup gets a new installation ID, and you need a license issued for the new ID. Restarting servers, upgrading, replacing servers that use the same database, and replacing the license do not change the installation ID. If The installation identity cannot be confirmed appears after restoring the database from a backup and the License page shows no installation ID, contact support.

Error messageWhat to do
This is not a license certificateLoad the .pem file you received again with Load file, or make sure you pasted the whole PEM, including the BEGIN and END lines
Could not read the license fileThe text in the box is kept. Choose the file again, or open it in a text editor and paste its contents
This license is already installedThe same license is already in the installation history. Check that you have the newly issued file
This license was not signed by a key this version trusts / The signature of this license does not verifyThe license is not for AI Gateway, or the file was altered. Ask QueryPie support again. If it keeps happening, contact support
This license uses a format this version does not supportThe gateway needs an upgrade. Contact support
The contents of this license are not validAsk QueryPie support to reissue it
The validity period of this license has not started, so it cannot be installed yetInstall it on or after the start date
This license has already expiredAsk for a renewed license
A license already installed for the same term has more seats or features, or a later expiryAsk for a license issued under a new term
This license belongs to another installationFollow License issued for another installation above
The installed license changed while you were reviewingAnother administrator installed a license first. Check the current license shown on the page and verify again

When you contact support, do not paste the full license certificate into an email or ticket. The license ID, the installation ID and the message on screen are enough.