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 hangs indefinitely when sending requests to Anthropic via Oauth login #1618
OS: Windows with WSL2 - Linux 6.6.87.2-microsoft-standard-WSL2
Platform: linux x86-64
Issue Description
OpenCode hangs indefinitely when attempting to send messages to the Anthropic API. This was working before but
suddenly stopped working. Authentication works correctly, models are detected, but any actual API request never
completes.
Ok, not entirely sure what happened, it works now with opencode --hostname 0.0.0.0, it also worked on Windows side when I downloaded the binary. Hope this helps someone, if it was my fault my bad haha 😂
Activity
thdxr commentedon Aug 5, 2025
i need full logs can you do
opencode run hey --print-logsthdxr commentedon Aug 5, 2025
btw can you test if it works with an api key?
plappag commentedon Aug 5, 2025
Ok, not entirely sure what happened, it works now with opencode --hostname 0.0.0.0, it also worked on Windows side when I downloaded the binary. Hope this helps someone, if it was my fault my bad haha 😂