Articles in this section

Cannot add a custom rule to Plesk's Firewall: Command timed out after 14.99 seconds

Plesk for Linux kb: technical

Applicable to:

  • Plesk for Linux

Symptoms

PLESK_ERROR: Failed to apply the Firewall configuration
Command '['/usr/local/psa/var/modules/firewall/firewall-new.sh']' timed out after 14.995222091674805 seconds

  • Or the following error:

PLESK_ERROR: Did not receive a matching activation token before confirmation timeout

Cause

The Firewall extension needs more time to work and apply the rule.

Resolution

  1. Log in to Plesk.
  2. Connect to the Plesk server via SSH.
  3. Edit Plesk's  /usr/local/psa/admin/conf/panel.ini configuration file adding the directives below:

    # vi /usr/local/psa/admin/conf/panel.ini

    [ext-firewall]
    confirmTimeout = 30
    confirmTimeoutCli = 60

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.