[ERROR] The operation timed out. #7944

Open
opened 2026-02-16 18:08:44 -05:00 by yindo · 10 comments
Owner

Originally created by @egorzainullin on GitHub (Jan 29, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

After I started opencode and I did no actions, console showed [ERROR] Error: The operation timed out.
I don't understand what this means

Image

Plugins

No response

OpenCode version

1.1.41

Steps to reproduce

Open opencode and wait some time

Screenshot and/or share link

Image

Operating System

Windows 10

Terminal

pwsh

Originally created by @egorzainullin on GitHub (Jan 29, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description After I started opencode and I did no actions, console showed [ERROR] Error: The operation timed out. I don't understand what this means <img width="485" height="402" alt="Image" src="https://github.com/user-attachments/assets/6887863f-f7dc-4336-8f66-7d3b2af511e0" /> ### Plugins _No response_ ### OpenCode version 1.1.41 ### Steps to reproduce Open opencode and wait some time ### Screenshot and/or share link <img width="485" height="402" alt="Image" src="https://github.com/user-attachments/assets/6887863f-f7dc-4336-8f66-7d3b2af511e0" /> ### Operating System Windows 10 ### Terminal pwsh
yindo added the bug label 2026-02-16 18:08:44 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 29, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #9895: "TimeoutError: The operation timed out." - Similar timeout error when opening OpenCode
  • #10221: "Black screen on just installed opencode" - Similar error with timeout during startup
  • #9577: "White screen on launch – OpenCode Desktop" - Related initialization timeout issue
  • #9098: "Opencode doesn't run in the terminal" - Same timeout error preventing startup
  • #9103: Ошибка интерфейса - Similar initialization timeout error
  • #9090: "GUI initialization error" - Related timeout during launch

All of these share the same error message pattern: "TimeoutError: The operation timed out." occurring during startup or shortly after launching OpenCode.

Feel free to ignore if your specific case differs from these issues.

@github-actions[bot] commented on GitHub (Jan 29, 2026): This issue might be a duplicate of existing issues. Please check: - #9895: "TimeoutError: The operation timed out." - Similar timeout error when opening OpenCode - #10221: "Black screen on just installed opencode" - Similar error with timeout during startup - #9577: "White screen on launch – OpenCode Desktop" - Related initialization timeout issue - #9098: "Opencode doesn't run in the terminal" - Same timeout error preventing startup - #9103: Ошибка интерфейса - Similar initialization timeout error - #9090: "GUI initialization error" - Related timeout during launch All of these share the same error message pattern: "TimeoutError: The operation timed out." occurring during startup or shortly after launching OpenCode. Feel free to ignore if your specific case differs from these issues.
Author
Owner

@ponchashik commented on GitHub (Jan 30, 2026):

I'm experiencing the same issue on Windows 10/11 with opencode 1.1.44.
Additional observations from my investigation:

  • The timeout occurs ~6-10 seconds after startup
  • TUI renders correctly and is fully functional after the error
  • The server process completes all initialization successfully (bun install, plugins, MCP connections)
  • The timeout happens AFTER all components are initialized
  • This appears to be a race condition where TUI waits for an event that the server already emitted before TUI started listening
    Workaround: The error can be safely ignored - it doesn't affect functionality.
@ponchashik commented on GitHub (Jan 30, 2026): I'm experiencing the same issue on Windows 10/11 with opencode 1.1.44. Additional observations from my investigation: - The timeout occurs ~6-10 seconds after startup - TUI renders correctly and is fully functional after the error - The server process completes all initialization successfully (bun install, plugins, MCP connections) - The timeout happens AFTER all components are initialized - This appears to be a race condition where TUI waits for an event that the server already emitted before TUI started listening Workaround: The error can be safely ignored - it doesn't affect functionality.
Author
Owner

@egorzainullin commented on GitHub (Jan 30, 2026):

I'm experiencing the same issue on Windows 10/11 with opencode 1.1.44. Additional observations from my investigation:

  • The timeout occurs ~6-10 seconds after startup
  • TUI renders correctly and is fully functional after the error
  • The server process completes all initialization successfully (bun install, plugins, MCP connections)
  • The timeout happens AFTER all components are initialized
  • This appears to be a race condition where TUI waits for an event that the server already emitted before TUI started listening
    Workaround: The error can be safely ignored - it doesn't affect functionality.

Yes, I confirm that, it is the same with my situation. However, it is an error and console should be toggled after this, it is inconvinient.

@egorzainullin commented on GitHub (Jan 30, 2026): > I'm experiencing the same issue on Windows 10/11 with opencode 1.1.44. Additional observations from my investigation: > > * The timeout occurs ~6-10 seconds after startup > * TUI renders correctly and is fully functional after the error > * The server process completes all initialization successfully (bun install, plugins, MCP connections) > * The timeout happens AFTER all components are initialized > * This appears to be a race condition where TUI waits for an event that the server already emitted before TUI started listening > Workaround: The error can be safely ignored - it doesn't affect functionality. Yes, I confirm that, it is the same with my situation. However, it is an error and console should be toggled after this, it is inconvinient.
Author
Owner

@Levron777 commented on GitHub (Jan 30, 2026):

Description

After I started opencode and I did no actions, console showed [ERROR] Error: The operation timed out. I don't understand what this means

Image ### Plugins _No response_

OpenCode version

1.1.41

Steps to reproduce

Open opencode and wait some time

Screenshot and/or share link

Image ### Operating System Windows 10

Terminal

pwsh

I get this error when connecting without a VPN, but it disappears when the VPN is on. I checked it with Wireshark and found that the error occurs when trying to reach an Amazon AWS IP address (us-east-2 region), which are blocked in Russia. I think that's the issue.

@Levron777 commented on GitHub (Jan 30, 2026): > ### Description > After I started opencode and I did no actions, console showed [ERROR] Error: The operation timed out. I don't understand what this means > > <img alt="Image" width="485" height="402" src="https://private-user-images.githubusercontent.com/22919120/542238058-6887863f-f7dc-4336-8f66-7d3b2af511e0.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Njk3OTgzODMsIm5iZiI6MTc2OTc5ODA4MywicGF0aCI6Ii8yMjkxOTEyMC81NDIyMzgwNTgtNjg4Nzg2M2YtZjdkYy00MzM2LThmNjYtN2QzYjJhZjUxMWUwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAxMzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMTMwVDE4MzQ0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTcwYzEzMjFmMDI2OGQ4MWZkZTE1MTVlOTcyMzUwOTJhMGViYmE3N2U5MDk5NDNmNGIyMWJiMjA5MDIwODliODUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.C-YL02l-iW7ywCAa7jtyIUw0o31_F83bkX4LpMmAjTg"> > ### Plugins > _No response_ > > ### OpenCode version > 1.1.41 > > ### Steps to reproduce > Open opencode and wait some time > > ### Screenshot and/or share link > <img alt="Image" width="485" height="402" src="https://private-user-images.githubusercontent.com/22919120/542238058-6887863f-f7dc-4336-8f66-7d3b2af511e0.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Njk3OTgzODMsIm5iZiI6MTc2OTc5ODA4MywicGF0aCI6Ii8yMjkxOTEyMC81NDIyMzgwNTgtNjg4Nzg2M2YtZjdkYy00MzM2LThmNjYtN2QzYjJhZjUxMWUwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAxMzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMTMwVDE4MzQ0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTcwYzEzMjFmMDI2OGQ4MWZkZTE1MTVlOTcyMzUwOTJhMGViYmE3N2U5MDk5NDNmNGIyMWJiMjA5MDIwODliODUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.C-YL02l-iW7ywCAa7jtyIUw0o31_F83bkX4LpMmAjTg"> > ### Operating System > Windows 10 > > ### Terminal > pwsh I get this error when connecting without a VPN, but it disappears when the VPN is on. I checked it with Wireshark and found that the error occurs when trying to reach an Amazon AWS IP address (us-east-2 region), which are blocked in Russia. I think that's the issue.
Author
Owner

@F0x1d commented on GitHub (Jan 31, 2026):

@Levron777 are direct IPs being used or is there a domain? I'd like to setup domain based routing for myself to avoid this

@F0x1d commented on GitHub (Jan 31, 2026): @Levron777 are direct IPs being used or is there a domain? I'd like to setup domain based routing for myself to avoid this
Author
Owner

@Levron777 commented on GitHub (Jan 31, 2026):

@Levron777 are direct IPs being used or is there a domain? I'd like to setup domain based routing for myself to avoid this

I managed to capture 2 IP addresses that opencode tried to connect to at startup. I haven't figured out how to fix it yet. :)

@Levron777 commented on GitHub (Jan 31, 2026): > [@Levron777](https://github.com/Levron777) are direct IPs being used or is there a domain? I'd like to setup domain based routing for myself to avoid this I managed to capture 2 IP addresses that opencode tried to connect to at startup. I haven't figured out how to fix it yet. :)
Author
Owner

@Levron777 commented on GitHub (Feb 1, 2026):

If it's still relevant, I usually get rid of the error window by pressing Ctrl + P and then selecting Toggle Console.

@Levron777 commented on GitHub (Feb 1, 2026): If it's still relevant, I usually get rid of the error window by pressing Ctrl + P and then selecting Toggle Console.
Author
Owner

@LowArtem commented on GitHub (Feb 1, 2026):

@Levron777 can you share those IP addresses? I would like to add them to my bypass list.

@LowArtem commented on GitHub (Feb 1, 2026): @Levron777 can you share those IP addresses? I would like to add them to my bypass list.
Author
Owner

@burbilog commented on GitHub (Feb 5, 2026):

@Levron777, could you share those IP addresses? I would like to add them to my bypass list.

I just ran strace and discovered that it phones home to two networks: 172.64.0.0/13 and 104.16.0.0/12. These are Cloudflare networks. I am now using sshuttle to tunnel them via a US-hosted VM.

If it's still relevant, I usually get rid of the error window by pressing Ctrl + P and then selecting Toggle Console.

Doing this every time I start the app is very annoying! Is there any way to turn it off permanently?

@burbilog commented on GitHub (Feb 5, 2026): > @Levron777, could you share those IP addresses? I would like to add them to my bypass list. I just ran strace and discovered that it phones home to two networks: 172.64.0.0/13 and 104.16.0.0/12. These are Cloudflare networks. I am now using sshuttle to tunnel them via a US-hosted VM. > If it's still relevant, I usually get rid of the error window by pressing Ctrl + P and then selecting Toggle Console. Doing this every time I start the app is very annoying! Is there any way to turn it off permanently?
Author
Owner

@Levron777 commented on GitHub (Feb 5, 2026):

@Levron777, could you share those IP addresses? I would like to add them to my bypass list.

I just ran strace and discovered that it phones home to two networks: 172.64.0.0/13 and 104.16.0.0/12. These are Cloudflare networks. I am now using sshuttle to tunnel them via a US-hosted VM.

If it's still relevant, I usually get rid of the error window by pressing Ctrl + P and then selecting Toggle Console.

Doing this every time I start the app is very annoying! Is there any way to turn it off permanently?

This method worked for me link
Since I'm using Windows PowerShell, the command looks like this:
$env:OPENCODE_DISABLE_MODELS_FETCH=1; opencode

@Levron777 commented on GitHub (Feb 5, 2026): > > [@Levron777](https://github.com/Levron777), could you share those IP addresses? I would like to add them to my bypass list. > > I just ran strace and discovered that it phones home to two networks: 172.64.0.0/13 and 104.16.0.0/12. These are Cloudflare networks. I am now using sshuttle to tunnel them via a US-hosted VM. > > > If it's still relevant, I usually get rid of the error window by pressing Ctrl + P and then selecting Toggle Console. > > Doing this every time I start the app is very annoying! Is there any way to turn it off permanently? This method worked for me [link](https://github.com/anomalyco/opencode/issues/9103#issuecomment-3835153289) Since I'm using Windows PowerShell, the command looks like this: $env:OPENCODE_DISABLE_MODELS_FETCH=1; opencode
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7944