Skip to main content
Version: 2.x

HOST111: Your host's browser access settings are broken

Symptom: in the web app, red text under Connect reads "This store's hosting setup is blocking the app — the details page names the exact cause and fix.", with a Learn more link to this page.

Do this now: sell from the WCPOS desktop or mobile app for now, and tell whoever looks after your website.

Fix it at the till​

  1. Send whoever looks after your website a link to this page.
  2. Meanwhile, use the desktop or mobile app. They don't need these browser settings.
  3. Once it's fixed, reload the web app, enter Your store's address and press Connect.
  4. If it connects: carry on selling in the browser.
  5. If the red text shows again: the settings are still wrong. Tell them again.

Is anything lost?​

No. No order or product data is affected, and nothing on this device or on your store changed.

If it keeps happening​

Your store's browser access settings are wrong, so the browser hides its answers from the web app. Only whoever looks after your website can fix them.

For whoever looks after your website

The store answers, but its CORS response headers are wrong: duplicated, set to the wrong origin, or missing on error responses. The browser hides the real answer, which also masks every other error behind a generic network failure.

  1. Look for a second CORS layer (a plugin and the web host's config both adding headers) and remove one. A duplicated Access-Control-Allow-Origin is fatal in the browser.
  2. On nginx, end add_header lines with always, so CORS headers reach 4xx and 5xx responses too.
  3. If a CDN or proxy adds CORS headers, make sure they don't conflict with WordPress's own.
  4. Aim for exactly one Access-Control-Allow-Origin, on every status code.

Still stuck?​

If your host says the headers are right, tell support the code and when it happened.

Code details for support
Code
HOST111 (CORS_MISCONFIGURED)
Severity
error
Introduced in
WCPOS 1.10.0

The CORS-mode ping failed while a no-cors ping got through, on the web only. Logged as "Store host blocked authorization probes".