Just says working..., no response #218

Closed
opened 2026-02-16 17:25:49 -05:00 by yindo · 8 comments
Owner

Originally created by @cmac4603 on GitHub (Jun 22, 2025).

Originally assigned to: @thdxr on GitHub.

I think I have an issue with having used the "other" repo and this one, because I am seeing the same issues on two separate machines (macos and linux) and with different providers on both (amazon bedrock and google).

Image
This just hangs like this forever.

I've tried removing all previous directories, if there are logs somewhere I'd like to share them here if someone can point me to them. Strange that I'm seeing the same behavior on two completely separate and different setups.

My auth seems fine (and works with other apps);

Originally created by @cmac4603 on GitHub (Jun 22, 2025). Originally assigned to: @thdxr on GitHub. I think I have an issue with having used the "other" repo and this one, because I am seeing the same issues on two separate machines (macos and linux) and with different providers on both (amazon bedrock and google). ![Image](https://github.com/user-attachments/assets/e9109761-bbbc-492c-8901-4e8eac87357f) This just hangs like this forever. I've tried removing all previous directories, if there are logs somewhere I'd like to share them here if someone can point me to them. Strange that I'm seeing the same behavior on two completely separate and different setups. My auth seems fine (and works with other apps);
yindo closed this issue 2026-02-16 17:25:49 -05:00
Author
Owner

@cmac4603 commented on GitHub (Jun 22, 2025):

I'm on the latest version, but this has been on previous versions as well

opencode --version                                                                                                                                                                                                                  
0.1.118
@cmac4603 commented on GitHub (Jun 22, 2025): I'm on the latest version, but this has been on previous versions as well ```console opencode --version 0.1.118 ```
Author
Owner

@adamdotdevin commented on GitHub (Jun 22, 2025):

can you run it with --show-logs?

@adamdotdevin commented on GitHub (Jun 22, 2025): can you run it with --show-logs?
Author
Owner

@cmac4603 commented on GitHub (Jun 22, 2025):

After opening, running /init, then closing:

opencode --print-logs                                                                                                                                                                ─╯
INFO  2025-06-22T13:54:01 +33ms service=default version=0.1.118 args=--print-logs opencode
INFO  2025-06-22T13:54:01 +2ms service=app cwd=/home/cmac/dev/dotfiles.git/main creating
INFO  2025-06-22T13:54:01 +3ms service=app git=/home/cmac/dev/dotfiles.git/main git
INFO  2025-06-22T13:54:01 +2ms service=app name=provider registering service
INFO  2025-06-22T13:54:01 +1ms service=app name=config registering service
INFO  2025-06-22T13:54:01 +3ms service=config $schema=http://opencode.ai/config.json theme=tokyonight autoshare=false mcp=[object Object] loaded
INFO  2025-06-22T13:54:01 +2ms service=models.dev refreshing
INFO  2025-06-22T13:54:01 +1ms service=provider init
INFO  2025-06-22T13:54:01 +2ms service=provider providerID=google found
INFO  2025-06-22T13:54:01 +0ms service=provider providerID=openai found
INFO  2025-06-22T13:54:01 +0ms service=app name=share registering service
INFO  2025-06-22T13:54:01 +0ms service=bus type=storage.write subscribing
INFO  2025-06-22T13:54:01 +0ms service=app name=bus registering service
INFO  2025-06-22T13:54:01 +54ms service=server method=POST path=/config_get request
INFO  2025-06-22T13:54:01 +1ms service=server duration=1 response
INFO  2025-06-22T13:54:01 +5ms service=server method=GET path=/event request
INFO  2025-06-22T13:54:01 +0ms service=server event connected
INFO  2025-06-22T13:54:01 +3ms service=bus type=* subscribing
INFO  2025-06-22T13:54:01 +2ms service=server duration=5 response
INFO  2025-06-22T13:54:01 +21ms service=server method=POST path=/provider_list request
                                                                                      INFO  2025-06-22T13:54:01 +3ms service=server duration=3 response
                                                                                                                                                       INFO  2025-06-22T13:55:58 +96094ms service=bus type=* unsubscribing
INFO  2025-06-22T13:55:58 +0ms service=server event disconnected
INFO  2025-06-22T13:55:58 +2ms service=app name=session shutdown
INFO  2025-06-22T13:55:58 +0ms service=app name=mcp shutdown
^C⏎
@cmac4603 commented on GitHub (Jun 22, 2025): After opening, running `/init`, then closing: ```console opencode --print-logs ─╯ INFO 2025-06-22T13:54:01 +33ms service=default version=0.1.118 args=--print-logs opencode INFO 2025-06-22T13:54:01 +2ms service=app cwd=/home/cmac/dev/dotfiles.git/main creating INFO 2025-06-22T13:54:01 +3ms service=app git=/home/cmac/dev/dotfiles.git/main git INFO 2025-06-22T13:54:01 +2ms service=app name=provider registering service INFO 2025-06-22T13:54:01 +1ms service=app name=config registering service INFO 2025-06-22T13:54:01 +3ms service=config $schema=http://opencode.ai/config.json theme=tokyonight autoshare=false mcp=[object Object] loaded INFO 2025-06-22T13:54:01 +2ms service=models.dev refreshing INFO 2025-06-22T13:54:01 +1ms service=provider init INFO 2025-06-22T13:54:01 +2ms service=provider providerID=google found INFO 2025-06-22T13:54:01 +0ms service=provider providerID=openai found INFO 2025-06-22T13:54:01 +0ms service=app name=share registering service INFO 2025-06-22T13:54:01 +0ms service=bus type=storage.write subscribing INFO 2025-06-22T13:54:01 +0ms service=app name=bus registering service INFO 2025-06-22T13:54:01 +54ms service=server method=POST path=/config_get request INFO 2025-06-22T13:54:01 +1ms service=server duration=1 response INFO 2025-06-22T13:54:01 +5ms service=server method=GET path=/event request INFO 2025-06-22T13:54:01 +0ms service=server event connected INFO 2025-06-22T13:54:01 +3ms service=bus type=* subscribing INFO 2025-06-22T13:54:01 +2ms service=server duration=5 response INFO 2025-06-22T13:54:01 +21ms service=server method=POST path=/provider_list request INFO 2025-06-22T13:54:01 +3ms service=server duration=3 response INFO 2025-06-22T13:55:58 +96094ms service=bus type=* unsubscribing INFO 2025-06-22T13:55:58 +0ms service=server event disconnected INFO 2025-06-22T13:55:58 +2ms service=app name=session shutdown INFO 2025-06-22T13:55:58 +0ms service=app name=mcp shutdown ^C⏎ ```
Author
Owner

@thdxr commented on GitHub (Jun 22, 2025):

can we do a test with opencode run hey --print-logs

@thdxr commented on GitHub (Jun 22, 2025): can we do a test with `opencode run hey --print-logs`
Author
Owner

@cmac4603 commented on GitHub (Jun 22, 2025):

Of course! Appreciate you looking at this

opencode run hey --print-logs
INFO  2025-06-22T19:50:45 +38ms service=default version=0.1.118 args=run,hey,--print-logs opencode
INFO  2025-06-22T19:50:45 +0ms service=app cwd=/home/cmac/dev/dotfiles.git/main creating
INFO  2025-06-22T19:50:45 +3ms service=app git=/home/cmac/dev/dotfiles.git/main git
INFO  2025-06-22T19:50:45 +4ms service=app name=share registering service
INFO  2025-06-22T19:50:45 +0ms service=bus type=storage.write subscribing
INFO  2025-06-22T19:50:45 +0ms service=app name=bus registering service
INFO  2025-06-22T19:50:45 +1ms service=session id=ses_866ce890effevf7PKil7wIRb09 version=0.1.118 title=New Session - 2025-06-22T19:50:45.234Z time=[object Object] created
INFO  2025-06-22T19:50:45 +0ms service=app name=session registering service
INFO  2025-06-22T19:50:45 +0ms service=app name=storage registering service
INFO  2025-06-22T19:50:45 +0ms service=storage path=/home/cmac/.local/share/opencode/project/-home-cmac-dev-dotfiles.git-main/storage init
INFO  2025-06-22T19:50:45 +1ms service=bus type=storage.write publishing
INFO  2025-06-22T19:50:45 +1ms service=app name=config registering service
INFO  2025-06-22T19:50:45 +3ms service=config $schema=http://opencode.ai/config.json theme=tokyonight autoshare=false mcp=[object Object] loaded
INFO  2025-06-22T19:50:45 +0ms service=bus type=session.updated publishing

█▀▀█ █▀▀█ █▀▀ █▀▀▄ █▀▀ █▀▀█ █▀▀▄ █▀▀
█░░█ █░░█ █▀▀ █░░█ █░░ █░░█ █░░█ █▀▀
▀▀▀▀ █▀▀▀ ▀▀▀ ▀  ▀ ▀▀▀ ▀▀▀▀ ▀▀▀  ▀▀▀

>  hey

INFO  2025-06-22T19:50:45 +1ms service=app name=provider registering service
INFO  2025-06-22T19:50:45 +3ms service=models.dev refreshing
INFO  2025-06-22T19:50:45 +0ms service=provider init
INFO  2025-06-22T19:50:45 +1ms service=provider providerID=google found
INFO  2025-06-22T19:50:45 +0ms service=provider providerID=openai found
@  google/gemini-2.5-pro-preview-06-05

INFO  2025-06-22T19:50:45 +1ms service=bus type=message.part.updated subscribing
INFO  2025-06-22T19:50:45 +2ms service=session session=ses_866ce890effevf7PKil7wIRb09 chatting
INFO  2025-06-22T19:50:45 +0ms service=provider providerID=google modelID=gemini-2.5-pro-preview-06-05 getModel
INFO  2025-06-22T19:50:45 +1ms service=provider status=started providerID=google getSDK
INFO  2025-06-22T19:50:45 +22ms service=provider status=completed duration=21 providerID=google getSDK
INFO  2025-06-22T19:50:45 +0ms service=provider providerID=google modelID=gemini-2.5-pro-preview-06-05 found
INFO  2025-06-22T19:50:45 +4ms service=session sessionID=ses_866ce890effevf7PKil7wIRb09 locking
INFO  2025-06-22T19:50:45 +7ms service=bus type=storage.write publishing
INFO  2025-06-22T19:50:45 +0ms service=bus type=message.updated publishing
INFO  2025-06-22T19:50:45 +5ms service=bus type=storage.write publishing
INFO  2025-06-22T19:50:45 +0ms service=bus type=message.updated publishing
INFO  2025-06-22T19:50:45 +1ms service=app name=mcp registering service
INFO  2025-06-22T19:50:52 +6852ms service=bus type=storage.write publishing
INFO  2025-06-22T19:50:52 +0ms service=bus type=session.updated publishing
@cmac4603 commented on GitHub (Jun 22, 2025): Of course! Appreciate you looking at this ```console opencode run hey --print-logs INFO 2025-06-22T19:50:45 +38ms service=default version=0.1.118 args=run,hey,--print-logs opencode INFO 2025-06-22T19:50:45 +0ms service=app cwd=/home/cmac/dev/dotfiles.git/main creating INFO 2025-06-22T19:50:45 +3ms service=app git=/home/cmac/dev/dotfiles.git/main git INFO 2025-06-22T19:50:45 +4ms service=app name=share registering service INFO 2025-06-22T19:50:45 +0ms service=bus type=storage.write subscribing INFO 2025-06-22T19:50:45 +0ms service=app name=bus registering service INFO 2025-06-22T19:50:45 +1ms service=session id=ses_866ce890effevf7PKil7wIRb09 version=0.1.118 title=New Session - 2025-06-22T19:50:45.234Z time=[object Object] created INFO 2025-06-22T19:50:45 +0ms service=app name=session registering service INFO 2025-06-22T19:50:45 +0ms service=app name=storage registering service INFO 2025-06-22T19:50:45 +0ms service=storage path=/home/cmac/.local/share/opencode/project/-home-cmac-dev-dotfiles.git-main/storage init INFO 2025-06-22T19:50:45 +1ms service=bus type=storage.write publishing INFO 2025-06-22T19:50:45 +1ms service=app name=config registering service INFO 2025-06-22T19:50:45 +3ms service=config $schema=http://opencode.ai/config.json theme=tokyonight autoshare=false mcp=[object Object] loaded INFO 2025-06-22T19:50:45 +0ms service=bus type=session.updated publishing █▀▀█ █▀▀█ █▀▀ █▀▀▄ █▀▀ █▀▀█ █▀▀▄ █▀▀ █░░█ █░░█ █▀▀ █░░█ █░░ █░░█ █░░█ █▀▀ ▀▀▀▀ █▀▀▀ ▀▀▀ ▀ ▀ ▀▀▀ ▀▀▀▀ ▀▀▀ ▀▀▀ > hey INFO 2025-06-22T19:50:45 +1ms service=app name=provider registering service INFO 2025-06-22T19:50:45 +3ms service=models.dev refreshing INFO 2025-06-22T19:50:45 +0ms service=provider init INFO 2025-06-22T19:50:45 +1ms service=provider providerID=google found INFO 2025-06-22T19:50:45 +0ms service=provider providerID=openai found @ google/gemini-2.5-pro-preview-06-05 INFO 2025-06-22T19:50:45 +1ms service=bus type=message.part.updated subscribing INFO 2025-06-22T19:50:45 +2ms service=session session=ses_866ce890effevf7PKil7wIRb09 chatting INFO 2025-06-22T19:50:45 +0ms service=provider providerID=google modelID=gemini-2.5-pro-preview-06-05 getModel INFO 2025-06-22T19:50:45 +1ms service=provider status=started providerID=google getSDK INFO 2025-06-22T19:50:45 +22ms service=provider status=completed duration=21 providerID=google getSDK INFO 2025-06-22T19:50:45 +0ms service=provider providerID=google modelID=gemini-2.5-pro-preview-06-05 found INFO 2025-06-22T19:50:45 +4ms service=session sessionID=ses_866ce890effevf7PKil7wIRb09 locking INFO 2025-06-22T19:50:45 +7ms service=bus type=storage.write publishing INFO 2025-06-22T19:50:45 +0ms service=bus type=message.updated publishing INFO 2025-06-22T19:50:45 +5ms service=bus type=storage.write publishing INFO 2025-06-22T19:50:45 +0ms service=bus type=message.updated publishing INFO 2025-06-22T19:50:45 +1ms service=app name=mcp registering service INFO 2025-06-22T19:50:52 +6852ms service=bus type=storage.write publishing INFO 2025-06-22T19:50:52 +0ms service=bus type=session.updated publishing ```
Author
Owner

@cmac4603 commented on GitHub (Jun 22, 2025):

Damn it, damn it all. It was a MCP server that wasn't running. Got this to run after removing both the Sentry MCP and my own internal MCP. Neither seem to work individually either, is MCP with OAuth supported yet? Definitely weird it just hangs.

My config (with sentry MCP):

{
  "$schema": "http://opencode.ai/config.json",
  "theme": "tokyonight",
  "autoshare": false,
  "mcp": {
    "sentry": {
      "type": "local",
      "command": [
        "npx",
        "mcp-remote@latest",
        "https://mcp.sentry.dev/sse"
      ]
    }
  }
}

Their recommended settings, which I have gotten to work with other tools.

{
  "mcpServers": {
    "Sentry": {
      "command": "npx",
      "args": ["mcp-remote@latest", "https://mcp.sentry.dev/sse"]
    }
  }
}

(P.s. completely unrelated, love the podcast. Please do more episodes and fix this and all the things. Thanks in advance!)

@cmac4603 commented on GitHub (Jun 22, 2025): Damn it, damn it all. It was a MCP server that wasn't running. Got this to run after removing both the Sentry MCP and my own internal MCP. Neither seem to work individually either, is MCP with OAuth supported yet? Definitely weird it just hangs. My config (with sentry MCP): ```json { "$schema": "http://opencode.ai/config.json", "theme": "tokyonight", "autoshare": false, "mcp": { "sentry": { "type": "local", "command": [ "npx", "mcp-remote@latest", "https://mcp.sentry.dev/sse" ] } } } ``` Their recommended [settings](https://docs.sentry.io/product/sentry-mcp/#getting-started), which I have gotten to work with other tools. ```json { "mcpServers": { "Sentry": { "command": "npx", "args": ["mcp-remote@latest", "https://mcp.sentry.dev/sse"] } } } ``` (P.s. completely unrelated, love the podcast. Please do more episodes and fix this and all the things. Thanks in advance!)
Author
Owner

@cmac4603 commented on GitHub (Jun 22, 2025):

Ok, so running the npx command locally does kick off the oauth flow. Then when I try to use opencode again it kinda works (doesn't hang) but seeing a different error that occurs with every chat. I am happy to open a new issue for this if you like, but I'm not a heavy Sentry MCP user after spending about 15 mins last week arguing with a model about what year it was when trying to look up issues based on relative time.

@cmac4603 commented on GitHub (Jun 22, 2025): Ok, so running the `npx` command locally does kick off the oauth flow. Then when I try to use opencode again it kinda works (doesn't hang) but seeing a different error that occurs with every chat. I am happy to open a new issue for this if you like, but I'm not a heavy Sentry MCP user after spending about 15 mins last week arguing with a model about what year it was when trying to look up issues based on relative time.
Author
Owner

@cmac4603 commented on GitHub (Jul 1, 2025):

This was fixed in a newer release https://github.com/sst/opencode/releases/tag/v0.1.121, thanks @thdxr (and definitely not @adamdotdevin)

@cmac4603 commented on GitHub (Jul 1, 2025): This was fixed in a newer release https://github.com/sst/opencode/releases/tag/v0.1.121, thanks @thdxr (and definitely not @adamdotdevin)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#218