LWS Protect blocking page on cPanel: understanding and unblocking access

Procédure

An “Access denied” or “Request blocked” page signed “Powered by LWS Protect” means that a protection on your cPanel hosting blocked the request before it reached your site. To restore access, note the information displayed at the bottom of this page, find the block in the cPanel LWS Protect log, then unblock the IP address concerned or adjust the rule that is interfering with legitimate use. Stop as soon as access works again.

Note the information on the blocking page

At the bottom of the blocking page, two lines are displayed: Request ID and IP Address. Note them down, along with the displayed error code, the address of the requested page, and the time, specifying your time zone. This is the information that makes it possible to find the block in your logs, or for support to identify it.

LWS Protect “Access denied” page, with the request ID and IP address at the bottom of the page

A browserless tool (script, application, monitoring tool) receives a short plain-text message; a developer then finds the request ID in the Edge-Request-Id response header.

Find the block in the LWS Protect log

  1. Open the log

    In cPanel, under Metrics, click Logs, then LWS Protect. The same list can also be opened from the LWS Protect tool, using the Blocking history button on the domain line.

  2. Filter by time and IP address

    Fill in From and To around the recorded time, enter the IP Address noted at the bottom of the blocking page or part of the page address in Request, then click Apply filters. The log keeps events from the last 30 days; a recent block may take up to a minute to appear.

  3. Read the block line

    Each line gives the Date, the Host / HTTP Request (the requested page), the IP Address, and an Description in English. Note this description exactly as written: it is what is used to choose the correct action below, and by support if you contact them.

    If the page says “Unable to fetch data. Please try again.”, try again a little later.

Unblock your own IP address

If you, or someone using the same connection, are blocked, do these steps from the connection concerned:

  1. Open the Firewall tool

    In cPanel, under Security, click Firewall (the page is titled “Firewall”), then Check if an IP is blocked. The address of your current connection is already entered in the IP Address field; for another connection, enter the address noted at the bottom of the blocking page.

    cPanel Firewall “Check if an IP is blocked” form, with the connection address already entered
  2. Check then unblock

    Click Check. If the address is blocked, click Unblock: the request is processed automatically within a few minutes. If the tool shows no block, wait without repeatedly reloading the page, then try once more.

Adjust a rule that is blocking legitimate use

If the block is interfering with legitimate use (your SEO or monitoring tool, a payment service, a file your site really must serve), start from the line found in the log:

  1. Open the domain rules

    In cPanel, under Security, open LWS Protect, then click Customize on the line for the relevant domain. The rules are organized into four tabs: Generic, WordPress, Bots, and IP Reputation.

    Bots tab of the LWS Protect Customize screen, with an On / Off switch for each rule
  2. Identify the rule indicated by the log

    Compare the log description with the labels of the rules in these tabs. If you cannot clearly see which rule is involved, do not change anything: contact support with the log line (the last part of this help article).

  3. Switch only this rule to Off and save

    Note the rule’s status, click Off for that rule only, then Save changes. If that does not solve the problem, switch it back to On and save again.

Some blocks do not correspond to any rule on the Customize screen: you cannot lift them yourself. In that case, contact support with the recorded information.

Best practices to avoid blocks

  • Use up-to-date credentials and a strong password; update saved passwords in your browsers and applications; if in doubt, use “Forgot password” rather than multiplying attempts.
  • Keep your CMS, its theme, its extensions, and your security extension up to date.
  • If your site receives a lot of bots, filter them with LWS Protect, Bots tab: see cPanel site targeted by a flood of bots or requests: what should I do?.
  • Lighten your site with server cache, Fastest Cache (Performance section), and, for WordPress, the LWS Optimize extension.
  • For your own tools (scripts, synchronizations, monitoring): space out the calls and give them a name (User-Agent) that honestly identifies them.

Check that everything works

Reopen the page or restart the tool: the blocking page should no longer appear, and no new block should appear for this IP address in the LWS Protect log.

Common issues

I cannot find the block in the log

Widen the time period (From, To) and filter only by the recorded IP address. If the error page is not signed “Powered by LWS Protect”, find the request in your other logs with the help of Read your cPanel logs when a visitor is blocked.

The block comes back after unblocking

The cause is still there: a device, application, or tool using the same connection is trying again. Fix it, then unblock again or wait.

I need to contact support

Provide the code shown on the blocking page, the page address, the time with your time zone, the “Request ID” and “IP Address” lines (or the “Edge-Request-Id” header for a tool), the description read in the LWS Protect log if you found it, and the name of the tool or service concerned.

Related articles

help.lws.net/a/8190
Was this article helpful?

Yes

No

Read 1 times

Thank you! Feel free to ask questions about our documentation if you would like more information, and help us improve it.

Similar articles

Need more help?

A question about this article?

Léo, our assistant, answers you straight away based on our articles.

A problem with your account?

Our technical support team handles your request by ticket, from your customer area.

Open a ticket