Skip to content

CLI daemon aborts commands after 35s despite longer requested waits #3369

Open

Description

@vishalanton16

Summary

The browse daemon client uses a 35s socket deadline for every command except open. Longer page waits (browse wait timeout 40000, --timeout 45000 on reload/back/forward) are still cut off by the transport.

Repro

browse open https://example.com --remote
browse wait timeout 40000

Expected

Command succeeds after ~40 seconds.

Actual

Live remote session on https://example.com/: exited 1 at ~39s with

Timed out waiting for driver daemon session "<name>".

The 40s page wait never completed.

Notes

daemonRequestTimeoutMs() only extends the deadline when request.type === "open". Wait/reload/back/forward are type: "command". README documents --timeout 45000 on wait.

Possible direction: size the daemon socket wait from the command's own timeout, the way open already does.

Activity

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