Skip to content

[Bug]: Slack channel crashes on startup with 'Cannot read properties of undefined (reading listeners)' in v2026.2.17 #19788

@myra-tapcart

Description

@myra-tapcart

Description

After upgrading from 2026.2.15 to 2026.2.17, the Slack channel crashes immediately on startup.

Error: [default] channel exited: Cannot read properties of undefined (reading 'listeners')

Channel enters crash loop (1/10 → 2/10...). Worked fine on 2026.2.15.

Environment

  • OpenClaw: 2026.2.17
  • Node: v22.22.0
  • OS: macOS Darwin 25.2.0 (arm64)
  • Slack mode: Socket Mode
  • @slack/bolt: 4.6.0 (same version as 2026.2.15 — not a bolt upgrade issue)

Steps to Reproduce

  1. Upgrade 2026.2.15 → 2026.2.17
  2. Start gateway with Slack Socket Mode configured
  3. Channel crashes ~350-400ms after start (before any network I/O completes)

Workaround Attempted

  • Added streaming: false to Slack channel config — crash persists

Suspect

Likely the new Slack streaming code (#9972 / #18555). Something in the new initialization path accesses .listeners on an undefined object. No stack trace in logs — source maps would help pinpoint.

Log

[default] starting provider
[default] channel exited: Cannot read properties of undefined (reading 'listeners')
[default] auto-restart attempt 1/10 in 5s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions