Minimal off-white title card reading WHM stuck on the logo, curl says 200, cPanel says no, same box, two clients, with a thin teal rule.

WHM Stuck on the Logo After First Login — When Cloudflare Blocks cPanel’s Own Verify Call

A field story about a brand-new cPanel server that would not get past its own logo — the outbound call almost nobody checks — and the two-client test I now run before I blame DNS or the firewall.

The VM was fresh. A new cloud instance for a customer’s mail platform, cPanel installed from the official script, the install log clean to the last line.

“It’s done? Great. Send us the WHM link and we’ll start moving mailboxes this afternoon.”

I opened WHM on port 2087. The login page came up. I typed the root credentials. The login was accepted.

And then the cPanel logo sat in the middle of a white page. No spinner that finished. No error. No setup wizard. Just the logo.

I refreshed. Same logo. I opened a private window and logged in again. Same logo.

“Is it working yet?”

I asked myself one question.

“What does WHM try to reach on the internet the first time an admin logs in?”

Nobody in the room had an answer. Neither did I, yet.

That’s the trap. A first-login hang does not look like a network problem. The login worked, the page loaded, the server is clearly up. The failing piece is an outbound call the server makes on your behalf, and it fails quietly behind a logo.

What Happens on the First WHM Login

On a new cPanel server, the first admin login does not go straight to the WHM home page. It starts the initial setup wizard: accept the licence agreement, set contact details, choose nameservers, and — on a server with no licence — check whether this IP can start a trial.

That trial check is a call to cPanel’s licence system. The flow looks like this:

Browser → WHM (port 2087) → setup wizard → is_eligible_for_trial → verify.cpanel.net

If that last hop fails, the wizard has nothing to show. On the server I was looking at, the wizard’s call came back with one line:

Failure to reach Verify service

verify.cpanel.net is the public service that tells a cPanel server — and you — which licence, if any, belongs to an IP address. On a fresh server with no licence file, WHM needs it before it will let you in properly.

Where this shows up most:

  • Brand-new servers where no licence was ever activated and the trial has not started yet.
  • Servers behind NAT or on a cloud floating IP, where the public IP is not on the VM’s own interface.
  • Cloud ranges whose IP addresses were used by many other machines before yours.

The Wrong First Guesses

The obvious suspects for “the server cannot reach something” are DNS and the outbound firewall. Both were the first things I checked, and both were clean.

DNS. The name resolved from the VM:

dig +short verify.cpanel.net

It returned addresses. Not the problem.

The cloud security group and the host firewall. If outbound HTTPS were blocked, every HTTPS call from the box would fail. So I made one from the same VM:

curl -sS -o /dev/null -w '%{http_code}\n' https://verify.cpanel.net/

It returned 200.

That was the moment the obvious story fell apart. DNS works. Outbound 443 works. The service answers. And WHM still says it cannot reach it.

Here’s the part that trips people up: “curl works” proves that curl works. It does not prove that every program on the box gets the same answer. Two clients on the same server, to the same URL, can be treated very differently by whatever sits in front of that URL.

What Actually Sits in Front of verify.cpanel.net

verify.cpanel.net is served through Cloudflare. That is public — the response headers say so (server: cloudflare, a cf-ray header on every reply).

Cloudflare does not just pass traffic. It decides, per request, whether the client looks like a person, a well-behaved tool, or a bot it should challenge or block. It does not decide on the user agent string alone. It looks at things like:

  • The TLS fingerprint — how the client opens the TLS connection: which ciphers, extensions and order it offers. curl, a browser and a Perl library each have their own shape.
  • The IP address’s reputation — what other traffic from that address, or that range, has looked like recently.
  • The request itself — headers, rate, path.

cPanel’s own code does not call the Verify service with curl. It uses cPanel’s Perl HTTP client, which identifies itself as Cpanel-HTTP-Client and has its own TLS fingerprint.

So the real question was never “can the server reach verify.cpanel.net?” It was “does Cloudflare let cPanel’s client through from this IP?”

The Two-Client Test

This is the check that turned a guess into a proof. Run the same request from the same server with two different clients and compare.

Client one: curl. Show only the status line and the Cloudflare ray header:

curl -sS -D - -o /dev/null https://verify.cpanel.net/ | grep -Ei '^HTTP|^cf-ray|^server'

On my server: HTTP/2 200, server: cloudflare, a ray ID.

Client one again, pretending to be cPanel. Same request, cPanel’s user agent:

curl -sS -o /dev/null -w '%{http_code}\n' -A 'Cpanel-HTTP-Client' https://verify.cpanel.net/

Still 200. That rules out the simplest theory — a rule that blocks the user agent string.

Client two: cPanel’s own Perl client. cPanel ships its own Perl and its own HTTP module. Call the same URL through it:

/usr/local/cpanel/3rdparty/bin/perl -MCpanel::HTTP::Client -e 'my $r = Cpanel::HTTP::Client->new->get("https://verify.cpanel.net/"); print $r->{status}, "\n"; print $r->{content} =~ /you have been blocked/i ? "BLOCK PAGE\n" : "no block page\n";'

On my server this returned 403 and the body was Cloudflare’s block page: “Sorry, you have been blocked”, with a Ray ID at the bottom.

This error is not a bug. It is the verification. Same box, same IP, same URL, same user agent — curl gets 200 and cPanel’s client gets 403. The only differences left are the way each client opens TLS and how Cloudflare scores that combination from this IP. The block was on the client fingerprint plus the IP’s reputation, not on DNS and not on the security group.

One thing I check before trusting the result: run the Perl test two or three times a few minutes apart. A one-off 403 can be a rate limit. A steady 403 with the block page is a decision.

What to Do About It

You do not control Cloudflare’s rules for cPanel’s service. So the fix is not a setting on your server. It is evidence, then the right people.

Step 1: Collect the evidence. Write down three things from the failing request: the public IP the server sends from, the time in UTC, and the Ray ID from the block page. The public IP matters on cloud and NAT setups — check what the world sees, not what ip addr shows:

curl -s https://api.ipify.org

Step 2: Check what the licence system knows about the IP. From your laptop, not the server:

curl -s "https://verify.cpanel.net/api/ipaddrs?ip=203.0.113.10"

This tells you if a licence is already attached to the IP, and when it was added. On a fresh server you expect nothing. If you see a licence you did not buy, you have a different problem — an old licence from a previous user of that IP — and that goes to cPanel billing, not support.

Step 3: Confirm the wizard’s own call. This is the call the logo is waiting for:

whmapi1 is_eligible_for_trial

While the block is in place it fails with the Verify error. Once the block is gone it answers normally, and on a fresh IP it reports that a trial is allowed.

Step 4: Open a ticket with cPanel, or go through your licence partner. Give them the IP, the time and the Ray ID. They own the relationship with the service in front of Verify. If you buy licences through a partner, a partner licence for the IP is the other route, because it does not depend on the trial flow.

Step 5: Verify, then log in again. Re-run the Perl test from the two-client section. When it returns 200 and no block page, log out of WHM and log in. The wizard should load past the logo.

In my case, here is the honest part: the block was gone after the VM was restarted later the same day. The Perl client got 200, the wizard loaded, and the cPanel trial activated. I cannot prove the restart was the fix. Reputation-based blocks often expire on their own, and the timing may have been luck. What I can prove is the cause, and the test that shows when it is gone.

One Thing Not to Do While You Wait

When a cPanel licence looks wrong, the reflex is to force a refresh:

/usr/local/cpanel/cpkeyclt

Be careful with that reflex. On a later day, on the same kind of setup, I ran it while the licence system was refusing that IP. The refresh failed with “activated too many times on different machines” — and the failed refresh deleted the existing licence file on the spot. Webmail closed straight away, and logins that depend on cPanel’s auth service started failing.

So: while a Verify or licence problem is open, do not hammer cpkeyclt. Read-only checks first (whmapi1 is_eligible_for_trial, the public ipaddrs API). Change state only when you know the licence side is fixed.

The Bigger Lesson

Most “my server cannot reach X” checklists end at DNS, routes and the firewall. On today’s internet there is a fourth layer: the service you call may sit behind a bot filter that judges your client, not your network.

The checklist I run now when one program on a server fails to reach a service that curl reaches fine:

  1. Does the name resolve? dig +short <host>
  2. Does outbound 443 work at all? curl -sS -o /dev/null -w '%{http_code}\n' https://<host>/
  3. Who answers? curl -sS -D - -o /dev/null https://<host>/ | grep -Ei '^server|^cf-ray' — a cf-ray header means Cloudflare decides.
  4. Is it the user agent? Repeat step 2 with -A '<the program's UA>'.
  5. Is it the client itself? Repeat with the program’s own HTTP library, as in the Perl test above.
  6. What does the world see as your IP? curl -s https://api.ipify.org
  7. Keep the Ray ID. It is the one thing the service owner can look up.

Plain takeaway: if curl gets 200 and the application gets 403 from the same box, stop looking at your network.

What I Tell Every Customer Now

When a new server goes to a customer, I ask one question in the handover:

“Has this server already made its first licence call, and did we see it succeed from cPanel’s own client?”

If the answer is yes, they’re in good shape. If the answer is “the login page works”, we’re not done yet.

I write about the questions I ask in real customer rooms — the ones that change architectures and surface the problems no one else noticed. If you found this useful, drop your email below and I’ll send the next one when it’s ready.

FAQs

Why is WHM stuck on the cPanel logo after the first login?

On a fresh server the first login starts the setup wizard, which checks the licence and trial status with verify.cpanel.net. If that call fails, the page can sit on the logo with no clear error. Run whmapi1 is_eligible_for_trial on the server; “Failure to reach Verify service” confirms it.

curl to verify.cpanel.net works, so why does cPanel say it cannot reach it?

Because the service is behind Cloudflare, which judges each client, not only the network. curl and cPanel’s Perl HTTP client open TLS differently, and the IP’s reputation also counts. Test with cPanel’s own client from the same server; a 403 with a “you have been blocked” page proves it.

Will changing the user agent fix a Cloudflare block on cPanel’s client?

Usually not. In this case curl with the Cpanel-HTTP-Client user agent still got 200, while cPanel’s real client got 403. The block was on the client’s TLS fingerprint and the IP’s reputation, which a header change does not touch.

Who can remove the block on verify.cpanel.net?

Not you. Send cPanel support (or your licence partner) the public IP, the UTC time and the Ray ID from the block page. They can look it up. A partner licence for the IP is another route because it does not depend on the trial flow.

Should I run cpkeyclt to force the licence to refresh?

Not while the licence system is refusing the IP. A failed refresh can delete the existing licence file at once and close webmail and other cPanel services. Use the read-only checks first and refresh only when the licence side is confirmed fixed.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *