Skip to content

stacker logs timeout when agent is busy #220

Description

@vsilent

Description

stacker logs --service app --tail 80 hangs and eventually returns a timeout error when the agent is busy processing other commands.

Affected Projects

Mastodon

Error

Error: Fetching logs for app timed out (last status: queued, id: ...)

Steps to Reproduce

  1. Deploy a project to existing server
  2. Run stacker logs --service app --tail 80
  3. Command hangs and eventually times out

Expected Behavior

Logs should be returned promptly, or the command should retry after a brief delay.

Current Workaround

SSH directly: ssh root@server 'docker logs --tail=80 project-app-1'

Environment

  • Stacker CLI version: latest
  • Deploy target: server

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions