Skip to content

Who can tell me why the Worker runtime environment of Cloudflare sometimes gets blocked for 15 minutes? #866

Open

Description

@lazyanubis
Image

Activity

  1. lazyanubis commented on Nov 3, 2025

    @lazyanubis
    Author

    It seems that this request has already died, but why is it still blocking? It would be fine if there were some mistakes in the report. But now it just keeps stopping and doesn't move any further.

  2. lazyanubis commented on Nov 3, 2025

    @lazyanubis
    Author
    Image And I set the CPU execution time to 3 minutes, but it had no effect at all.
  3. guybedford commented on Nov 3, 2025

    @guybedford
    Collaborator

    If there is a panic in your worker, then the request will stall.

    We are working on a fix here to turn panics into immediate aborts which I am working on releasing in the coming release this week.

  4. lazyanubis commented on Nov 27, 2025

    @lazyanubis
    Author

    Is there any progress? This is a problem I often encounter.

  5. guybedford commented on Nov 28, 2025

    @guybedford
    Collaborator

    The first fix we landed is that the Wasm is reinitialized automatically if running workers-rs after 0.6.7. This means the stalled requests will just be a few requests when there is a panic. The panic fix is ongoing work in wasm bindgen. In the latest version of wasm bindgen we now support building with unwind support in Rust. Follow-on to enable error recovery is in progress. Watching the wasm bindgen releases upstream for exception handling updates is one way to follow this work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions