Skip to content

[Bug]: Discord connect timed out after 30s on Windows #41539

Closed as not planned
Closed as not planned

Description

Bug Description

Discord gateway connect times out after 30s on Windows Native. Bot never comes online.

Steps to Reproduce

  1. Install Hermes on Windows Native
  2. Configure Discord bot with valid token and all Privileged Intents enabled
  3. Run: hermes gateway run
  4. Wait 30 seconds

Expected Behavior

Discord bot connects and comes online

Actual Behavior

ERROR gateway.run: discord connect timed out after 30s

Affected Component

Gateway (Telegram/Discord/Slack/WhatsApp)

Messaging Platform (if gateway-related)

Discord

Debug Report

https://paste.rs/ruSNT
https://paste.rs/QRBw2
https://paste.rs/bU9bE

Operating System

Windows 11

Python Version

No response

Hermes Version

0.16.0

Additional Logs / Traceback (optional)


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

Activity

  1. added
    type/bugSomething isn't working
    P2Medium — degraded but workaround exists
    comp/gatewayGateway runner, session dispatch, delivery
    duplicateThis issue or pull request already exists
    on Jun 7, 2026
  2. alt-glitch commented on Jun 7, 2026

    @alt-glitch

    Looks like a duplicate of #19776 — the Discord connect watchdog's 30s budget is too tight (often blown by slash-command sync). Fix in progress via PR #40070 (honor configurable connect timeout). Worth confirming with the debug logs whether sync is the stall here.

  3. teknium1 commented on Jul 14, 2026

    @teknium1
    Collaborator

    This is an automated hermes-sweeper review: the duplicate Discord connect-timeout issue is implemented on current main.

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

    P2Medium — degraded but workaround existscomp/gatewayGateway runner, session dispatch, deliveryduplicateThis issue or pull request already existsplatform/discordDiscord bot adaptersweeper:implemented-on-mainSweeper: behavior already present on current maintype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions