Skip to content

Cannot Inject Commands: 'claude-session' PTY Not Found Despite Active tmux Session #24

@thientranhung

Description

@thientranhung

Notification about error during Claude-Code-Remote system setup

During the installation and operation process, I continuously encounter errors related to the 'claude-session' session as follows:

[2025-08-03T18:58:15.068Z] [ControllerInjector] [ERROR] Failed to inject command via PTY: PTY session 'claude-session' not found
[2025-08-03T18:58:15.068Z] [TelegramWebhook] [ERROR] Command injection failed: PTY session 'claude-session' not found
[2025-08-03T18:59:14.384Z] [TelegramWebhook] [ERROR] Failed to send message: connect ETIMEDOUT 149.154.167.220:443
[2025-08-03T18:59:47.059Z] [ControllerInjector] [ERROR] Failed to inject command via PTY: PTY session 'claude-session' not found
[2025-08-03T18:59:47.059Z] [TelegramWebhook] [ERROR] Command injection failed: PTY session 'claude-session' not found

This error keeps appearing even though I have already started tmux with the correct session name 'claude-session'. Currently, I only receive notifications from Telegram, but I am unable to use the "/cmd" command to instruct Claude to work.

I would appreciate any support to help resolve this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions