You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
opencode + grok code fast in distrobox hangs. #2472
I just started using opencode with grok code fast 1. I originally configured a distrobox (arch client) and installed opencode-bin inside the distrobox. when I choose the grok code fast 1, and give it the prompt:
write a cpp program to display the numbers 1 to 100 on the screen. compile the program ensuring there are 0 errors, if there are
errors, fix them. DO NOT run the program. when there are 0 errors provide me instructions on how to run the program.
I starts to write the program and hangs indefinitely. I have to interrupt it (ESC twice), I can never get it to create the code.
when I run opencode on my host system (arch linux) and give it the same prompt opencode with grok code fast 1 finishes the task at hand.
I'm not sure where it's hanging up.
has anyone else experienced this?
what other info can I provide to help figure out what's going on?
`-> opencode run "hello" --model opencode/grok-code --print-logs
INFO 2025-09-07T21:29:29 +86ms service=default version=0.5.29 args=["run","hello","--model","opencode/grok-code","--print-logs"] opencode
INFO 2025-09-07T21:29:29 +1ms service=app cwd=/dmnt/localdata/dbox-data/aicode/test creating
INFO 2025-09-07T21:29:29 +1ms service=app git
INFO 2025-09-07T21:29:29 +1ms service=app name=plugin registering service
INFO 2025-09-07T21:29:29 +2ms service=app name=config registering service
INFO 2025-09-07T21:29:29 +1ms service=config path=/dmnt/localdata/dbox-data/.config/opencode/config.json loading
INFO 2025-09-07T21:29:29 +1ms service=config path=/dmnt/localdata/dbox-data/.config/opencode/opencode.json loading
INFO 2025-09-07T21:29:29 +0ms service=config path=/dmnt/localdata/dbox-data/.config/opencode/opencode.jsonc loading
INFO 2025-09-07T21:29:29 +1ms service=config agent={} mode={} command={} plugin=[] username=drave loaded
INFO 2025-09-07T21:29:29 +0ms service=plugin path=opencode-copilot-auth@0.0.2 loading plugin
INFO 2025-09-07T21:29:29 +1ms service=plugin path=opencode-anthropic-auth@0.0.2 loading plugin
INFO 2025-09-07T21:29:29 +13ms service=bus type=* subscribing
INFO 2025-09-07T21:29:29 +0ms service=app name=bus registering service
INFO 2025-09-07T21:29:29 +0ms service=bus type=storage.write subscribing
INFO 2025-09-07T21:29:29 +0ms service=format init
INFO 2025-09-07T21:29:29 +0ms service=bus type=file.edited subscribing
INFO 2025-09-07T21:29:29 +0ms service=config.hooks init
INFO 2025-09-07T21:29:29 +0ms service=bus type=file.edited subscribing
INFO 2025-09-07T21:29:29 +0ms service=bus type=session.idle subscribing
INFO 2025-09-07T21:29:29 +0ms service=app name=lsp registering service
INFO 2025-09-07T21:29:29 +1ms service=session id=ses_6d9ea77c4ffejd3lZ6fuhBSWuU version=0.5.29 title=New session - 2025-09-07T21:29:29.403Z time={"created":1757280569403,"updated":1757280569403} created
INFO 2025-09-07T21:29:29 +0ms service=app name=session registering service
INFO 2025-09-07T21:29:29 +0ms service=app name=storage registering service
INFO 2025-09-07T21:29:29 +0ms service=lsp serverIds=typescript, vue, eslint, golang, ruby-lsp, pyright, elixir-ls, zls, csharp, rust, clangd enabled LSP servers
INFO 2025-09-07T21:29:29 +2ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:29 +0ms service=bus type=session.updated publishing
INFO 2025-09-07T21:29:29 +0ms service=app name=agent registering service
INFO 2025-09-07T21:29:29 +1ms service=bus type=message.part.updated subscribing
INFO 2025-09-07T21:29:29 +0ms service=bus type=session.error subscribing
INFO 2025-09-07T21:29:29 +1ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU chatting
INFO 2025-09-07T21:29:29 +1ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:29 +0ms service=bus type=message.updated publishing
INFO 2025-09-07T21:29:29 +0ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:29 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:29 +0ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:29 +1ms service=bus type=session.updated publishing
INFO 2025-09-07T21:29:29 +0ms service=app name=provider registering service
INFO 2025-09-07T21:29:29 +1ms service=models.dev file={} refreshing
INFO 2025-09-07T21:29:29 +2ms service=provider init
INFO 2025-09-07T21:29:29 +0ms service=provider providerID=xai found
INFO 2025-09-07T21:29:29 +1ms service=provider providerID=opencode found
INFO 2025-09-07T21:29:29 +0ms service=provider providerID=opencode modelID=grok-code getModel
INFO 2025-09-07T21:29:29 +0ms service=provider status=started providerID=opencode getSDK
INFO 2025-09-07T21:29:29 +45ms service=provider status=completed duration=45 providerID=opencode getSDK
INFO 2025-09-07T21:29:29 +1ms service=provider providerID=opencode modelID=grok-code found
INFO 2025-09-07T21:29:29 +2ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU sessionID=ses_6d9ea77c4ffejd3lZ6fuhBSWuU locking
INFO 2025-09-07T21:29:29 +7ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:29 +0ms service=bus type=message.updated publishing
INFO 2025-09-07T21:29:29 +1ms service=app name=mcp registering service
INFO 2025-09-07T21:29:29 +6ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=start part
INFO 2025-09-07T21:29:30 +531ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=start-step part
INFO 2025-09-07T21:29:30 +0ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +0ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=reasoning-start part
INFO 2025-09-07T21:29:30 +0ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=reasoning-delta part
INFO 2025-09-07T21:29:30 +1ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +36ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=reasoning-delta part
INFO 2025-09-07T21:29:30 +0ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +1ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=reasoning-delta part
INFO 2025-09-07T21:29:30 +1ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +7ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=reasoning-delta part
INFO 2025-09-07T21:29:30 +1ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +0ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=reasoning-delta part
INFO 2025-09-07T21:29:30 +2ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +29ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=reasoning-delta part
INFO 2025-09-07T21:29:30 +1ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +0ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=reasoning-delta part
INFO 2025-09-07T21:29:30 +1ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +0ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=reasoning-delta part
INFO 2025-09-07T21:29:30 +1ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +0ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=reasoning-delta part
INFO 2025-09-07T21:29:30 +1ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +0ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=reasoning-delta part
INFO 2025-09-07T21:29:30 +0ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +0ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=reasoning-delta part
INFO 2025-09-07T21:29:30 +0ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +0ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=reasoning-delta part
INFO 2025-09-07T21:29:30 +0ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +7ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=reasoning-delta part
INFO 2025-09-07T21:29:30 +1ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +525ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=text-start part
INFO 2025-09-07T21:29:30 +0ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=text-delta part
INFO 2025-09-07T21:29:30 +1ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +22ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=text-delta part
INFO 2025-09-07T21:29:30 +0ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +0ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=text-delta part
INFO 2025-09-07T21:29:30 +2ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +14ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=text-delta part
INFO 2025-09-07T21:29:30 +0ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +0ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=text-delta part
INFO 2025-09-07T21:29:30 +2ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +0ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=text-delta part
INFO 2025-09-07T21:29:30 +0ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +0ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=text-delta part
INFO 2025-09-07T21:29:30 +0ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +37ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=text-delta part
INFO 2025-09-07T21:29:30 +1ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +0ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=text-delta part
INFO 2025-09-07T21:29:30 +1ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +0ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=text-delta part
INFO 2025-09-07T21:29:30 +1ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +0ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=text-delta part
INFO 2025-09-07T21:29:30 +0ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +0ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=text-delta part
INFO 2025-09-07T21:29:30 +0ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +47ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=reasoning-end part
INFO 2025-09-07T21:29:30 +2ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +0ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=text-end part
INFO 2025-09-07T21:29:30 +0ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
Hello! How can I help with your software engineering tasks?
INFO 2025-09-07T21:29:30 +0ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=finish-step part
INFO 2025-09-07T21:29:30 +1ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.part.updated publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.updated publishing
INFO 2025-09-07T21:29:30 +0ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU type=finish part
INFO 2025-09-07T21:29:30 +1ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.updated publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:30 +0ms service=bus type=message.updated publishing
INFO 2025-09-07T21:29:30 +0ms service=session session=ses_6d9ea77c4ffejd3lZ6fuhBSWuU sessionID=ses_6d9ea77c4ffejd3lZ6fuhBSWuU unlocking
INFO 2025-09-07T21:29:30 +0ms service=bus type=session.idle publishing
INFO 2025-09-07T21:29:30 +0ms service=app name=lsp shutdown
INFO 2025-09-07T21:29:30 +1ms service=app name=session shutdown
INFO 2025-09-07T21:29:30 +0ms service=app name=mcp shutdown
INFO 2025-09-07T21:29:43 +13030ms service=bus type=storage.write publishing
INFO 2025-09-07T21:29:43 +0ms service=bus type=session.updated `publishing``
hm well it at least works in headless mode can you run it in tui mode and send me the latest log file afterwards, like try to send prompt and whatnot if it hangs just escape and send latest log.
hm well it at least works in headless mode can you run it in tui mode and send me the latest log file afterwards, like try to send prompt and whatnot if it hangs just escape and send latest log.
ah so it only hangs w/ tui. seems like it may be tui specific not backend specific then
actually, I gave it the same query from the command line:
opencode run "write a cpp program to display the numbers 1-100 on the screen. compile the program, if there are error, debug and recompile. DO NOT run the program. when done compile, please provide instructions on how to run the program." --model opencode/grok-code --print-logs
Activity
rekram1-node commentedon Sep 7, 2025
what happens if you run:
on the system having trouble
nixedit commentedon Sep 7, 2025
and then it drops me back to the command line.
rekram1-node commentedon Sep 7, 2025
hm well it at least works in headless mode can you run it in tui mode and send me the latest log file afterwards, like try to send prompt and whatnot if it hangs just escape and send latest log.
You can run:
opencode debug paths
to see where they are stored
nixedit commentedon Sep 8, 2025
thanx, I just attached the log here.
2025-09-08T025243.log
rekram1-node commentedon Sep 8, 2025
ah so it only hangs w/ tui. seems like it may be tui specific not backend specific then
nixedit commentedon Sep 8, 2025
actually, I gave it the same query from the command line:
opencode run "write a cpp program to display the numbers 1-100 on the screen. compile the program, if there are error, debug and recompile. DO NOT run the program. when done compile, please provide instructions on how to run the program." --model opencode/grok-code --print-logsand it hung, I had to ctrl+c to stop operation.
rekram1-node commentedon Sep 8, 2025
did it print any logs
nixedit commentedon Sep 8, 2025
no logs were printed when I ran it from terminal. I reran again just to make sure and there are no logs.
rekram1-node commentedon Dec 28, 2025
[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!