Skip to content

Just says working..., no response #307

Closed

Description

@cmac4603

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);

Activity

  1. cmac4603 commented on Jun 22, 2025

    @cmac4603
    Author

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

    opencode --version                                                                                                                                                                                                                  
    0.1.118
  2. adamdotdevin commented on Jun 22, 2025

    @adamdotdevin
    Member

    can you run it with --show-logs?

  3. cmac4603 commented on Jun 22, 2025

    @cmac4603
    Author

    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⏎
  4. self-assigned this
    on Jun 22, 2025
  5. thdxr commented on Jun 22, 2025

    @thdxr
    Member

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

  6. cmac4603 commented on Jun 22, 2025

    @cmac4603
    Author

    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
  7. cmac4603 commented on Jun 22, 2025

    @cmac4603
    Author

    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!)

  8. cmac4603 commented on Jun 22, 2025

    @cmac4603
    Author

    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.

  9. cmac4603 commented on Jul 1, 2025

    @cmac4603
    Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions