Endless loop of TimeoutOverflowWarning when exceeding Github Copilot monthly message limit #3991

Closed
opened 2026-02-16 17:42:13 -05:00 by yindo · 2 comments
Owner

Originally created by @bissakov on GitHub (Dec 30, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

The error happens when using GitHub Copilot provider exceeding the monthly messages limits.
Upon sending a message to any agent, I get the endless loop:

TimeoutOverflowWarning: 2560914000 does not fit into a 32-bit signed integer. Timeout duration was set to 1.
    at <anonymous> (src/session/retry.ts:11:23)
    at new Promise (1:11)on/processor.ts:359:34)
    at sleep (src/session/retry.ts:10:12)
    at sleep (src/session/retry.ts:9:43)
    at process (src/session/processor.ts:359:34)
...

2560914000 is ~29.6 days

I can't exit gracefully, only close the tab, terminal or kill an app.

OpenCode version

1.0.209

Steps to reproduce

  1. Exceed GitHub Copilot monthly chat limits
  2. Send any message to opencode
  3. See the errors

Screenshot and/or share link

Image

Operating System

Microsoft Windows 11 Pro N

Terminal

Windows Terminal

Originally created by @bissakov on GitHub (Dec 30, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description The error happens when using GitHub Copilot provider exceeding the monthly messages limits. Upon sending a message to any agent, I get the endless loop: ``` TimeoutOverflowWarning: 2560914000 does not fit into a 32-bit signed integer. Timeout duration was set to 1. at <anonymous> (src/session/retry.ts:11:23) at new Promise (1:11)on/processor.ts:359:34) at sleep (src/session/retry.ts:10:12) at sleep (src/session/retry.ts:9:43) at process (src/session/processor.ts:359:34) ... ``` 2560914000 is ~29.6 days I can't exit gracefully, only close the tab, terminal or kill an app. ### OpenCode version 1.0.209 ### Steps to reproduce 1. Exceed GitHub Copilot monthly chat limits 2. Send any message to opencode 3. See the errors ### Screenshot and/or share link <img width="932" height="214" alt="Image" src="https://github.com/user-attachments/assets/7556c368-0504-483b-ac6d-8745bdc23101" /> ### Operating System Microsoft Windows 11 Pro N ### Terminal Windows Terminal
yindo added the windowsbug labels 2026-02-16 17:42:13 -05:00
yindo closed this issue 2026-02-16 17:42:13 -05:00
Author
Owner

@rekram1-node commented on GitHub (Dec 31, 2025):

fixed in next release:
https://github.com/sst/opencode/commit/9a1dc1ffe410ba4ce745b1bf65a15f21d9f9abfa

@rekram1-node commented on GitHub (Dec 31, 2025): fixed in next release: https://github.com/sst/opencode/commit/9a1dc1ffe410ba4ce745b1bf65a15f21d9f9abfa
Author
Owner

@ujanjan commented on GitHub (Jan 3, 2026):

hello @rekram1-node to reconfirm, will your fix work in macOS as well? I also got into this issue in OpenCode 1.0.220

Image

thanks!

@ujanjan commented on GitHub (Jan 3, 2026): hello @rekram1-node to reconfirm, will your fix work in macOS as well? I also got into this issue in OpenCode 1.0.220 <img width="841" height="578" alt="Image" src="https://github.com/user-attachments/assets/66c106bf-eb00-43d4-9b8d-d162545de722" /> thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3991