Skip to content

[Bug]: Telegram Auth Creds lost every few minutes #2783

@CHesketh76

Description

@CHesketh76

Bug Description

Get this error message every few minutes when using telegram. Only fix was to force a hermes update after every message. Installed Herems-Agent on two different machines and same issue occurs.

⚠️ Error code: 401 - {'error': {'message': 'No cookie auth credentials found', 'code': 401}}

Steps to Reproduce

Fun Hermes, chat with bot on telegram for a few minutes.

Expected Behavior

It should message back without errors.

Actual Behavior

It stops after a few minutes or when /approve@bot_name is accidentally used.

Affected Component

Gateway (Telegram/Discord/Slack/WhatsApp)

Messaging Platform (if gateway-related)

Telegram

Operating System

Arch

Python Version

3.11.15

Hermes Version

Current

Relevant Logs / Traceback

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomething isn't working

    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