Origin setup check
The Setup check panel on an origin or domain page checks whether the domain is set up correctly behind your sentries. Nothing is changed.
On the origin page, pick the domain first. On the domain page, the check is for that domain. Click Check setup, or Check again to run it once more.
What it checks
The check looks at:
- DNS: whether the domain points at your sentries, or at Cloudflare with Behind Cloudflare on.
- HTTPS through each sentry: a test request through every sentry that has a public address.
- PROXY protocol: if HTTPS through a sentry fails while PROXY protocol is on, the result is HTTPS through this sentry failed and PROXY protocol is on, so your origin probably isn't accepting it. Set PROXY protocol on the origin so it matches how this server is configured.
- Origin answering the sentries: whether there were many 502, 503 or 504 errors in the last 24 hours. This only applies when Website protection is on, so the sentries can see the origin's HTTP answers.
- Real visitor IP: whether the origin logged the visitor's address for the test, not the sentry's.
Each item is marked Pass, Fix needed, Info, Waiting or Unknown. The time of the check is shown under the results.
If you run the check too often, the panel asks you to wait a few seconds, or to try again later.
Real visitor IP
When Website protection is on, or PROXY protocol is on for the origin, stillorigin sends a test visit through each sentry. The origin agent on the server then searches the access logs for it. The Windows agent covers IIS logs. The agent only searches the logs after it has confirmed the request is a setup check. While it searches, the panel shows Waiting for your server's agent to find our test in its access logs. It checks in every few minutes.
You can also paste a log line yourself. The panel shows a Run on your server command, with a Copy button, and a box to paste the line that contains so-check-. Choose the web server first so the command matches how that server writes its logs.
cPanel, LiteSpeed and Apache write domain logs in batches, so the line can take up to about 5 minutes to appear. If the command finds nothing, wait a few minutes and run it again.
If the origin agent is an older version, isn't installed, or doesn't find the test, use the paste check. When the test is found but the origin logged the sentry's address, the panel gives steps to trust the sentry for that web server, including IIS.
If the domain is on Network protection without PROXY protocol, the panel explains that the origin can't see visitors' addresses, and that turning on PROXY protocol is how to get them. Set PROXY protocol on the origin, after the web server is ready to accept it.
For the full steps to show visitor addresses, see Trusting the sentry and, on IIS, IIS (real visitor IP).