# NousResearch/hermes-agent · Telegram media upload write timeout config wiring

## Open now

- 1 issue, 1 PR open on GitHub.
- #62936: \[Bug\]: Telegram uploads >~15 MB always fail with TimedOut — HERMES_TELEGRAM_HTTP_WRITE_TIMEOUT has no effect on media uploads (PTB media_write_timeout never set)
- PR #69984: fix(telegram): align standalone media upload timeout with gateway

These issues and PRs all concern a missing or unset media_write_timeout parameter in the Telegram/PTB integration, causing large file uploads to hit PTB's 20-second default regardless of any configured environment variable. The work involves exposing and correctly wiring HERMES_TELEGRAM_HTTP_MEDIA_WRITE_TIMEOUT through to PTB's HTTPXRequest configuration.

## TL;DR

- 8 member(s): 1 open issue(s), 1 closed issue(s), 1 open PR(s), 0 merged PR(s), 5 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.23`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Open related issues

- #62936: \[Bug\]: Telegram uploads >~15 MB always fail with TimedOut — HERMES_TELEGRAM_HTTP_WRITE_TIMEOUT has no effect on media uploads (PTB media_write_timeout never set)

## Closed / duplicate issues

- #21757: Gateway Telegram adapter ignores HERMES_TELEGRAM_HTTP_MEDIA_WRITE_TIMEOUT — large media uploads time out at PTB's 20s default

## Prior & competing PRs

- **#21766: fix(telegram): add media_write_timeout to gateway HTTPXRequest config**. closed without merge · fix tier `suggested`
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#21777: fix(gateway): wire HERMES_TELEGRAM_HTTP_MEDIA_WRITE_TIMEOUT to PTB so large media uploads stop hitting the 20s default**. closed without merge · fix tier `suggested`
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `5600105478ffde29d7566b45421b100eaa29c4ef`, `#21757`, `#62941`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#46493: feat(telegram): set media_write_timeout when python-telegram-bot supports it**. closed without merge · fix tier `suggested`
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#21777`, `#21757`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#27473: feat(telegram): add media_write_timeout for large file uploads**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#21777`
- **#62941: fix(telegram): add HERMES_TELEGRAM_HTTP_MEDIA_WRITE_TIMEOUT for large file uploads**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#21777`, `#62941`
- **#69984: fix(telegram): align standalone media upload timeout with gateway**. open
  - maintainer direction: category `merged_via`; implication `superseded`; refs `a34616f37395df522662482eafd2aa6e16df964e`
  - files: `tests/tools/test_send_message_telegram_proxy.py`, `tools/send_message_senders.py`

## Fix status

- No merged fix on record.
- Subsystem: `gateway`
