You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 898b93a
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/guide/self-hosted-platform.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -357,10 +357,19 @@ You can correct the database URL if the initial connection failed. Once Void has
357
357
358
358
If installation reports **Default-Deny (error 1050)**, Cloudflare blocked the HTTP health check before it reached Void. This is separate from the API token used to deploy the Workers.
359
359
360
-
Ask your account administrator to permit access to this installation's service hostnames. For a testing platform intended to be publicly reachable, use a narrowly scoped Access exception for those hostnames, not an account-wide change. The installer checks the API, proxy, and dispatch endpoints; its runtime probe credential does not authenticate to Cloudflare Access. A browser login does not authenticate the CLI's requests either. Deployed app hostnames will also need appropriate access rules.
360
+
For a test platform intended to be publicly reachable:
361
+
362
+
1. Select the account named in the error and open **Zero Trust → Access controls → Applications → Create new application**.
363
+
2. Choose **Self-hosted**. When adding destinations, choose **Worker** and select the API, proxy, and dispatch Workers listed in the error.
364
+
3. Add a policy with **Action → Bypass** and **Include → Everyone**.
365
+
4. Save the policy and application, then run the resume command shown by Void.
366
+
367
+
This removes Cloudflare Access protection for those Workers, not just their health-check URLs. Void's own authentication remains enabled. Keep account-wide Default-Deny on. Deployed apps will also need appropriate access rules.
361
368
362
369
Once access is configured, rerun `void platform install --resume --name <id>`. You do not need to delete the installation or recreate its resources.
363
370
371
+
If your platform must remain Access-protected, **do not add a Bypass policy**. The installer does not yet support Access authentication for self-hosted platform health checks; a browser login or Cloudflare API token does not authenticate those requests. Keep the protection in place until that integration is supported.
`${message} Cloudflare Access's account Default-Deny policy blocked the request before it reached Void (error 1050). Ask your account administrator to allow CLI access to this installation's service hostnames, then resume the installation. Signing in to Cloudflare in your browser does not authenticate these CLI health checks. See https://void.cloud/guide/self-hosted-platform#cloudflare-access.`,
4795
-
);
4830
+
returnnewPlatformAccessBlockedError(url,context);
4796
4831
}
4797
4832
}
4798
4833
returnnewError(message);
@@ -4808,6 +4843,7 @@ export async function verifyPlatformHealth(
4808
4843
healthProbeToken: string,
4809
4844
fetcher: typeoffetch=fetch,
4810
4845
dispatchOrigin?: string,
4846
+
context?: PlatformHealthCheckContext,
4811
4847
): Promise<void>{
4812
4848
constrequest=(url: string)=>
4813
4849
fetcher(url,{
@@ -4827,10 +4863,10 @@ export async function verifyPlatformHealth(
0 commit comments