Cloudflare configuration for Hubbee
Cloudflare configuration for Hubbee
Cloudflare sits in front of your WordPress site and routinely challenges automated requests. Hubbee makes regular small requests to /wp-json/bz/v1/* — exactly the pattern Cloudflare’s defaults treat as suspicious. The fix is a single Skip rule that explicitly allows our path through.
How to recognise the problem
Run the diagnostic on the Connect step. A Cloudflare block typically produces:
cloudflare_challenge— body contains “Just a moment…” or “Checking your browser”- HTTP 403 on
/wp-json/with the Cloudflare ray-ID header (cf-ray) - HTTP 503 with a
cf-mitigated: challengeheader
Skip rule (recommended for most sites)
Cloudflare Dashboard → your site → Security → WAF → Custom rules:
- Click + Create rule
- Name:
Hubbee REST allow - Field: URI Path · Operator:
contains· Value:/wp-json/bz/v1 - Action: Skip (then pick the products to skip: WAF Managed Rules, Bot Fight Mode, Rate Limiting Rules, Super Bot Fight Mode if available on your plan)
- Deploy
The rule applies in < 30 seconds. Retry the connection from Hubbee.
Bot Fight Mode specifically
If you are on the Free plan and don’t have access to custom Skip targets, disable Bot Fight Mode on the /wp-json/* path:
- Security → Bots → Configure Super Bot Fight Mode (or Bot Fight Mode on the Free plan)
- Either turn it Off for the whole site (broad), or
- On Pro+ plans: use Custom rules (see above) to scope the rule
Page Rules (legacy)
If your zone still uses Page Rules (deprecated in favour of Cache Rules + WAF Custom Rules), add:
- URL:
*example.com/wp-json/bz/v1/* - Setting: Security Level → Essentially Off
- Setting: Browser Integrity Check → Off
Use the new Custom rules instead whenever possible — Page Rules are scheduled for deprecation.
Rate Limiting
Cloudflare’s Rate Limiting product can also block legitimate Hubbee traffic if you have a low threshold on /wp-json/*:
- Security → WAF → Rate limiting rules
- Check any rule that matches
/wp-json/* - Either exclude
/wp-json/bz/v1/*from the rule, or raise the threshold to 60 requests/minute (Hubbee’s max push burst is ~30 req/min during bulk operations)
Page Cache
Cloudflare’s Auto-Cache should not cache /wp-json/* paths — they return personalised, authenticated content. The default behaviour is correct. If you customised your caching policy:
- Caching → Cache Rules
- Confirm no rule sets cache TTL for
/wp-json/* - If a rule exists, add an Exclude clause:
URI Path contains /wp-json/
API Shield
If you use Cloudflare API Shield:
- Add
/wp-json/bz/v1/*to the allowed paths schema - Or disable API Shield for the host until you have an OpenAPI schema ready
Verifying the fix
After saving any Cloudflare rule:
- Wait 30 seconds for propagation
- In a private browser tab, hit
https://your-site.com/wp-json/bz/v1/ping→ expect HTTP 401 (the endpoint exists, just rejects unsigned requests). 403 means Cloudflare is still blocking. - Hubbee dashboard → Sites → your site → Run diagnostic → expect
problem: null.
If Cloudflare still blocks after the Skip rule is in place, check Security → Events for blocked requests against the Hubbee path — Cloudflare will name the exact ruleset that fired.
Was this article helpful?
Related articles
Still stuck?
Open a support thread and we'll get back to you. Most replies arrive within a few hours on business days.
