Repository navigation
Replies: 4 comments 3 replies
|
One non-invasive thing to check in the logs you already have: in Wrangler 4.92.0, Since your supervisor expects a completion report, I'd also check whether it continuously drains both stdout and stderr and whether its report parser can handle Wrangler's ordinary log lines. A full pipe or a framing mismatch is only a possible supervisor-side issue here, not a diagnosis of your timeout. Please inspect existing logs privately; they may contain sensitive data. The 4.92.0 If you decide a local control is safe, a separate minimal config with no service bindings, |
|
You can find the pending await without patching Wrangler: 4.92.0 writes every logger call to a log file before the console level check, so the remote session's
On your direct question, the code has such paths: Startup never calls the target Workers, so their missing routes and workers.dev URLs aren't a factor.
|
|
Thank you so much!
*BrenDena (Bren-DEE-nuh) Bardo*
*Owner/Travel Advisor*
*(570)980-1555*
*You dream it and we'll help you go!!!*
www.bardosdreamandgotravel.com
[image: Facebook]
<https://www.facebook.com/bardosdreamandgotravel/?modal=admin_todo_tour>
[image: Instagram] <https://www.instagram.com/bardosdreamandgotravel/>
…On Tue, Nov 10, 2026 at 4:18 PM Bilal Şengül ***@***.***> wrote:
You can find the pending await without patching Wrangler: 4.92.0 writes
every logger call to a log file before the console level check
<https://github.com/cloudflare/workers-sdk/blob/a3fa623f2abf192e57d876c727bfa107aa297ec9/packages/wrangler/src/logger.ts#L224-L236>,
so the remote session's debug lines are on disk even at the default
level. Unless WRANGLER_WRITE_LOGS=false is set, your hung runs should
already have left a wrangler-<timestamp>.log in ~/.wrangler/logs/ (or
~/.config/.wrangler/logs/ on Linux without a ~/.wrangler dir). To pin it,
set WRANGLER_LOG_PATH=/abs/path/gpp.log in the child (a value ending in
.log is the exact file
<https://github.com/cloudflare/workers-sdk/blob/a3fa623f2abf192e57d876c727bfa107aa297ec9/packages/wrangler/src/utils/log-file.ts#L15-L40>).
Headers and bodies are written as "omitted" unless
WRANGLER_LOG_SANITIZE=false; URLs and hostnames (account ID, worker name,
workers.dev subdomain) are not, so redact before posting.
Last entries Pending step
No ⎔ Starting remote preview...
<https://github.com/cloudflare/workers-sdk/blob/a3fa623f2abf192e57d876c727bfa107aa297ec9/packages/wrangler/src/api/startDevWorker/RemoteRuntimeController.ts#L368> Session
config/auth or bundling, before any preview API call
-- START CF API REQUEST: …edge-preview or …/workers/subdomain with no --
START CF API RESPONSE after it, or Retrying API call after error... A
Cloudflare API call (30 s cap
<https://github.com/cloudflare/workers-sdk/blob/a3fa623f2abf192e57d876c727bfa107aa297ec9/packages/wrangler/src/dev/create-worker-preview.ts#L18-L31>,
3 attempts
<https://github.com/cloudflare/workers-sdk/blob/a3fa623f2abf192e57d876c727bfa107aa297ec9/packages/wrangler/src/utils/retry.ts#L16-L47>:
roughly 90 s per step before it errors)
A 200 for the …/workers/scripts/<name>/edge-preview POST, then Checking
if domain has Access enabled: <name>.<subdomain>.workers.dev Remote side
done (a 1 s Access probe, then reloadComplete
<https://github.com/cloudflare/workers-sdk/blob/a3fa623f2abf192e57d876c727bfa107aa297ec9/packages/wrangler/src/api/startDevWorker/RemoteRuntimeController.ts#L321-L349>).
The wait is local: the proxy worker's workerd (worker.url) or
getPlatformProxy's own Miniflare
An error entry, or Error in <Controller>: ... An error that never reached
your promise
On your direct question, the code has such paths: DevEnv logs
BundlerController errors and config ParseErrors without re-emitting them
<https://github.com/cloudflare/workers-sdk/blob/a3fa623f2abf192e57d876c727bfa107aa297ec9/packages/wrangler/src/api/startDevWorker/DevEnv.ts#L157-L187>,
which leaves localServerReady pending, and await worker.url
<https://github.com/cloudflare/workers-sdk/blob/a3fa623f2abf192e57d876c727bfa107aa297ec9/packages/wrangler/src/api/remoteBindings/start-remote-proxy-session.ts#L68-L89>
runs after the error race, while ProxyController doesn't reject ready
when the proxy worker fails
<https://github.com/cloudflare/workers-sdk/blob/a3fa623f2abf192e57d876c727bfa107aa297ec9/packages/wrangler/src/api/startDevWorker/ProxyController.ts#L186-L239>
.
Startup never calls the target Workers, so their missing routes and
workers.dev URLs aren't a factor.
WRANGLER_LOG=debug streams the same lines to stdout and lifts the remote
session from error to debug
<https://github.com/cloudflare/workers-sdk/blob/a3fa623f2abf192e57d876c727bfa107aa297ec9/packages/wrangler/src/api/remoteBindings/start-remote-proxy-session.ts#L151-L166>;
a maintainer asked for it in #16010
<#16010 (comment)>.
I found no later release that changes this: the latest, 4.160.0, still
races errors against localServerReady, then awaits proxy.ready, with no
overall timeout
<https://github.com/cloudflare/workers-sdk/blob/2674eefba808df5ef027572ede4cea377fb8e138/packages/remote-bindings/src/start-remote-proxy-session.ts#L168-L200>
.
—
Reply to this email directly, view it on GitHub
<#16712?email_source=notifications&email_token=CSFAJQPFFTSZNCURODAVTWD5YOAZLA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJVGI4TANRUUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVRTG633UMVZF6Y3MNFRWW#discussioncomment-19529064>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/CSFAJQK3XENTFREMJEISTPT5YOAZLAVCNFSNUABIKJSXA33TNF2G64TZHM2DENRWGU4TGMRZHNCGS43DOVZXG2LPNY5TCMJSGI3TGMBQUF3AE>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/CSFAJQMSMW4PJN2GS2QBWYL5YOAZLA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJVGI4TANRUUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVJTG633UMVZF62LPOM>
and Android
<https://github.com/notifications/mobile/android/CSFAJQMSGBPH4PBHEJOKZCT5YOAZLA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJVGI4TANRUUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVZTG633UMVZF6YLOMRZG62LE>.
Download it today!
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
|
Thank you so much for this detailed information! It’s extremely helpful.
I have three quick follow-up questions:
1. Can we safely inspect the existing Wrangler logs without running
another remote-preview session?
2. If the logs show that the Cloudflare API request completed but the
local proxy initialization remained pending, is there a known workaround
that doesn’t require patching Wrangler?
3. Is there an existing issue or fix addressing the pending
localServerReady, proxy.ready, or worker.url operations?
We’re trying to work within Cloudflare’s existing capabilities and avoid
unnecessary infrastructure or repeated troubleshooting.
Thank you again for your help!
*BrenDena (Bren-DEE-nuh) Bardo*
*Owner/Travel Advisor*
*(570)980-1555*
*You dream it and we'll help you go!!!*
www.bardosdreamandgotravel.com
[image: Facebook]
<https://www.facebook.com/bardosdreamandgotravel/?modal=admin_todo_tour>
[image: Instagram] <https://www.instagram.com/bardosdreamandgotravel/>
On Tue, Nov 10, 2026 at 6:42 PM BrenDena Bardo <
***@***.***> wrote:
… Thank you so much!
*BrenDena (Bren-DEE-nuh) Bardo*
*Owner/Travel Advisor*
*(570)980-1555*
*You dream it and we'll help you go!!!*
www.bardosdreamandgotravel.com
[image: Facebook]
<https://www.facebook.com/bardosdreamandgotravel/?modal=admin_todo_tour>
[image: Instagram] <https://www.instagram.com/bardosdreamandgotravel/>
On Tue, Nov 10, 2026 at 4:18 PM Bilal Şengül ***@***.***>
wrote:
> You can find the pending await without patching Wrangler: 4.92.0 writes
> every logger call to a log file before the console level check
> <https://github.com/cloudflare/workers-sdk/blob/a3fa623f2abf192e57d876c727bfa107aa297ec9/packages/wrangler/src/logger.ts#L224-L236>,
> so the remote session's debug lines are on disk even at the default
> level. Unless WRANGLER_WRITE_LOGS=false is set, your hung runs should
> already have left a wrangler-<timestamp>.log in ~/.wrangler/logs/ (or
> ~/.config/.wrangler/logs/ on Linux without a ~/.wrangler dir). To pin
> it, set WRANGLER_LOG_PATH=/abs/path/gpp.log in the child (a value ending
> in .log is the exact file
> <https://github.com/cloudflare/workers-sdk/blob/a3fa623f2abf192e57d876c727bfa107aa297ec9/packages/wrangler/src/utils/log-file.ts#L15-L40>).
> Headers and bodies are written as "omitted" unless
> WRANGLER_LOG_SANITIZE=false; URLs and hostnames (account ID, worker
> name, workers.dev subdomain) are not, so redact before posting.
> Last entries Pending step
> No ⎔ Starting remote preview...
> <https://github.com/cloudflare/workers-sdk/blob/a3fa623f2abf192e57d876c727bfa107aa297ec9/packages/wrangler/src/api/startDevWorker/RemoteRuntimeController.ts#L368> Session
> config/auth or bundling, before any preview API call
> -- START CF API REQUEST: …edge-preview or …/workers/subdomain with no --
> START CF API RESPONSE after it, or Retrying API call after error... A
> Cloudflare API call (30 s cap
> <https://github.com/cloudflare/workers-sdk/blob/a3fa623f2abf192e57d876c727bfa107aa297ec9/packages/wrangler/src/dev/create-worker-preview.ts#L18-L31>,
> 3 attempts
> <https://github.com/cloudflare/workers-sdk/blob/a3fa623f2abf192e57d876c727bfa107aa297ec9/packages/wrangler/src/utils/retry.ts#L16-L47>:
> roughly 90 s per step before it errors)
> A 200 for the …/workers/scripts/<name>/edge-preview POST, then Checking
> if domain has Access enabled: <name>.<subdomain>.workers.dev Remote side
> done (a 1 s Access probe, then reloadComplete
> <https://github.com/cloudflare/workers-sdk/blob/a3fa623f2abf192e57d876c727bfa107aa297ec9/packages/wrangler/src/api/startDevWorker/RemoteRuntimeController.ts#L321-L349>).
> The wait is local: the proxy worker's workerd (worker.url) or
> getPlatformProxy's own Miniflare
> An error entry, or Error in <Controller>: ... An error that never
> reached your promise
>
> On your direct question, the code has such paths: DevEnv logs
> BundlerController errors and config ParseErrors without re-emitting them
> <https://github.com/cloudflare/workers-sdk/blob/a3fa623f2abf192e57d876c727bfa107aa297ec9/packages/wrangler/src/api/startDevWorker/DevEnv.ts#L157-L187>,
> which leaves localServerReady pending, and await worker.url
> <https://github.com/cloudflare/workers-sdk/blob/a3fa623f2abf192e57d876c727bfa107aa297ec9/packages/wrangler/src/api/remoteBindings/start-remote-proxy-session.ts#L68-L89>
> runs after the error race, while ProxyController doesn't reject ready
> when the proxy worker fails
> <https://github.com/cloudflare/workers-sdk/blob/a3fa623f2abf192e57d876c727bfa107aa297ec9/packages/wrangler/src/api/startDevWorker/ProxyController.ts#L186-L239>
> .
>
> Startup never calls the target Workers, so their missing routes and
> workers.dev URLs aren't a factor.
>
> WRANGLER_LOG=debug streams the same lines to stdout and lifts the remote
> session from error to debug
> <https://github.com/cloudflare/workers-sdk/blob/a3fa623f2abf192e57d876c727bfa107aa297ec9/packages/wrangler/src/api/remoteBindings/start-remote-proxy-session.ts#L151-L166>;
> a maintainer asked for it in #16010
> <#16010 (comment)>.
> I found no later release that changes this: the latest, 4.160.0, still
> races errors against localServerReady, then awaits proxy.ready, with no
> overall timeout
> <https://github.com/cloudflare/workers-sdk/blob/2674eefba808df5ef027572ede4cea377fb8e138/packages/remote-bindings/src/start-remote-proxy-session.ts#L168-L200>
> .
>
> —
> Reply to this email directly, view it on GitHub
> <#16712?email_source=notifications&email_token=CSFAJQPFFTSZNCURODAVTWD5YOAZLA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJVGI4TANRUUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVRTG633UMVZF6Y3MNFRWW#discussioncomment-19529064>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/CSFAJQK3XENTFREMJEISTPT5YOAZLAVCNFSNUABIKJSXA33TNF2G64TZHM2DENRWGU4TGMRZHNCGS43DOVZXG2LPNY5TCMJSGI3TGMBQUF3AE>
> .
> Triage notifications, keep track of coding agent tasks and review pull
> requests on the go with GitHub Mobile for iOS
> <https://github.com/notifications/mobile/ios/CSFAJQMSMW4PJN2GS2QBWYL5YOAZLA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJVGI4TANRUUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVJTG633UMVZF62LPOM>
> and Android
> <https://github.com/notifications/mobile/android/CSFAJQMSGBPH4PBHEJOKZCT5YOAZLA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJVGI4TANRUUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVZTG633UMVZF6YLOMRZG62LE>.
> Download it today!
> You are receiving this because you authored the thread.Message ID:
> ***@***.***
> com>
>
|
Uh oh!
There was an error while loading. Please reload this page.
We're seeking guidance on a Wrangler 4.92.0 issue involving
getPlatformProxy({remoteBindings:true})and private Workers with named service-binding entrypoints.Environment
remote:trueCLOUDFLARE_API_TOKENandCLOUDFLARE_ACCOUNT_IDare passed to the child processCI=true, with stdin connected to/dev/nullObserved behavior
The child process starts, but the supervisor reaches its 180-second timeout without receiving a completion report or stderr.
Local process cleanup succeeds, but we cannot confirm whether remote preview startup succeeded, whether local proxy initialization stalled, or whether the remote session was disposed.
Our compatibility check only attempts to obtain the configured binding handles. It does not invoke service methods or perform database operations.
We investigated the possibility of an interactive authorization prompt, but inspection of the pinned Wrangler implementation did not support that explanation.
Questions for Wrangler maintainers
getPlatformProxywith named remote service bindings in Wrangler 4.92.0?getPlatformProxyreturns its disposal handle, how can remote-session cleanup be confirmed?We found the potentially related [workers-sdk issue #15842](#15842), but it does not establish the cause of our observed timeout.
We would appreciate a concrete diagnostic recommendation or verified correction that preserves our existing private Worker architecture without adding a public gateway or broadly expanding permissions.
Thank you for any guidance!
All reactions