Cloee Docs
Paymenter ExtensionsPterodactylSSO

Troubleshooting

Fix the most common PterodactylSSO installation, provisioning, SSO and migration problems.

Server creation fails with HTTP 422

Example:

Failed to create server: HTTP request returned status code 422:
{"errors":[{"code":"ValidationException","status":"422",
"detail":"The txAdmin Port variable must be a string."}]}

The panel validates every environment value against the egg variable's Input Rules. PterodactylSSO sends port values as numbers, so a port variable ruled string rejects them.

Fix the egg variable in Pterodactyl:

integer|min:1|max:65535

Correct integer port input rules

Also check that:

  • every required egg variable has a valid default value;
  • the environment variable names in the Port Array exactly match the egg variable names;
  • the requested ports exist as free allocations on the selected node.

Auto Login returns 419

A 419 on the Auto Login to Panel action was caused by older extension builds returning a redirect object that the newer Livewire action layer rejects. It is fixed in extension 2.6.0+; update the extension and run:

php artisan optimize:clear
php artisan queue:restart

Auto Login returns to the panel login page

The panel redirects failures to /auth/login?sso_error=<reason>:

ReasonLikely causeFix
invalidSecret mismatch, altered parameter or bad signatureCopy the secret again on both sides. Regenerate both if in doubt.
unavailableThe panel extension has no shared secretSet the Shared secret in the panel extension settings.
usedThe link was already usedOpen Auto Login again; links are single-use.
expiredThe link is older than the allowed windowCheck clock synchronization (NTP) on both hosts.
unknown-userThe panel user was deletedRecreate the panel account and update the service linkage.
admin-blockedThe panel owner is a root administratorUse a non-admin panel account for customers. Admins sign in themselves.
two-factor-blockedThe panel owner has 2FAKeep the block, or let the user sign in manually.
insecureThe link did not arrive over HTTPSUse HTTPS and correct proxy headers.

If the panel extension returns 404, it is not installed or not enabled:

php artisan p:extension:install /path/to/paymenter-sso --enable

Auto Login button is missing

The button appears only when the server row has a shared secret and the service has a stored panel user id.

  1. Check the server row's SSO Secret Key.
  2. Check the service properties for user_id.
  3. Services created before SSO was configured can be backfilled by the migration command with --force; see Migrate from 1.x to 2.x.
  4. Clear the Paymenter cache and reload the service page.

Panel API errors

StatusMeaningFix
401 / 403Key invalid, revoked or missing permissionCreate a new key with the required read/write permissions, or use a root administrator key.
404 on /api/application/tagsPanel is not on 2.xSet Panel Version correctly or upgrade the panel.
429Panel rate limitThe extension retries with Retry-After; reduce concurrent operations or add a second key.
Connection errorHost unreachable, DNS or TLS problemVerify the Pterodactyl URL over HTTPS from the Paymenter host.

Remember that Application API keys and Client API keys are different. A root administrator Application key cannot be used for the Client API and vice versa.

My Servers is empty or shows no metrics

  • The page lists only services whose product is attached to a PterodactylSSO server row.
  • Live cards need the Admin Client API Key with access to the servers.
  • Suspended servers are shown as suspended; a panel returning 409 for resources is handled as zero usage.
  • Run php artisan cache:clear after changing keys or linkage.

Reverse proxy tab is missing

The tab appears only when the product's Reverse Proxies value is greater than 0, or the panel reports a positive feature_limits.proxies / reverse_proxies. It also requires:

  • the Blueprint ReverseProxy addon on the panel,
  • the addon's wings patch/rebuild and nginx/certificate setup,
  • a root administrator Client API key or the addon's proxy permissions.

Migration warnings

WarningMeaning
No panel server uses external_id …The service was never provisioned or the external id is different. Fix the linkage before relying on SSO.
Multiple panel servers share external_id …Ambiguous linkage; resolve the duplicate.
Panel owner does not match customeruser_id was not backfilled. Use --adopt-owner only after verifying the ownership.
Panel owner is a root administrator / has 2FAAuto-login will be blocked by policy.
Stored user_id differs from the panel ownerSSO would sign the stored id. Use --refresh-properties if the panel is authoritative.

Use --strict to make any of these fail the run.

Where to look

  • Paymenter: storage/logs/laravel.log (or the dated log file) and the Audits page.
  • Panel: storage/logs/laravel.log; rejected links are logged as paymenter-sso: rejected login link with a reason and IP; successful logins appear in the panel activity log as auth:success.
  • Panel extension state: php artisan p:extension:list and php artisan p:extension:doctor extensions/paymenter-sso.

Still stuck? Join the Cloee Discord for support.

On this page