corestack_ site_ http_ check
Check one URL of a site.
When to use it
Request one path on one of a site's hosts from the Control Panel, at the site's own address (public DNS is never used for a request), and answer its status, timings, redirects and TLS state (the platform hostname's at its public edge), without the page body or logs. Redirects are followed only to the site's own hosts on the standard ports. For several paths and the site's error logs, use corestack_site_smoke_test.
The platform hostname's certificate lives at Corefinity's public edge, so its requests go to the site's own address without checking the certificate there, and its tls comes from one handshake to the hostname's public address instead: tls.via is edge, and tls.message says why when it is not valid (for example "The preview hostname has no DNS record."). The edge's answer never fails a check. Without host, a site that is not live yet is tested on its domain when its platform hostname has no DNS record.
Ask for it
Using the Corefinity MCP server, call corestack_site_http_check with site_id 4211, path /robots.txt. (Check one URL of a site.) Tell me what it returned.Inputs
One of the site's hosts: its platform hostname, an attached domain or a pending-DNS domain. Default: the domain when the site is live or its platform hostname has no DNS, else the platform hostname. Up to 253 characters.
Defaults to GET.
GETHEADA path with an optional query, starting with /: no scheme, host or "..". Up to 2,048 characters.
At least 1.
Example call
{
"name": "corestack_site_http_check",
"arguments": {
"site_id": 4211,
"path": "/robots.txt"
}
}If it is refused
| Reason | What to do |
|---|---|
invalid_arguments | The arguments do not match the tool's input schema, or the Control Panel refused a field. Fix the fields named in the answer and call again. |
tenant_mismatch | The object does not exist or the token may not see it. Check the id. |
scope_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
pin_refused | The grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it. |
rate_limited | Too many calls. Wait for the number of seconds the answer names. |
temporarily_unavailable | The Control Panel could not answer just now. Nothing was started; try again shortly. |
internal_error | Something went wrong on our side. Quote the trace id to support. |