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
I've freshly installed OpenCode and now want to configure a provider.
I'm running opencode auth login but nothing happens - it prints out one line then hangs forever.
Ran with --print-logs but nothing useful is printed. Ran with --log-level debug before realising it has to be DEBUG but that doesn't print anything either.
Just installed for the first time today and thought I was seeing the same thing but if I waited long enough (75 seconds) something eventually appeared. Something slow with models.dev?
Activity
cedws commentedon Aug 5, 2025
Ran with
--print-logsbut nothing useful is printed. Ran with--log-level debugbefore realising it has to beDEBUGbut that doesn't print anything either.thdxr commentedon Aug 5, 2025
print logs prints nothing? can i see it
cedws commentedon Aug 5, 2025
Aditya-PS-05 commentedon Aug 5, 2025
@thdxr , can you assign me this issue?
geophpherie commentedon Aug 7, 2025
Just installed for the first time today and thought I was seeing the same thing but if I waited long enough (75 seconds) something eventually appeared. Something slow with
models.dev?zsmatrix62 commentedon Aug 15, 2025
same problem here:
~/.cache> opencode auth login --print-logs
INFO 2025-08-15T02:28:43 +46ms service=default version=0.5.1 args=["auth","login","--print-logs"] opencode
INFO 2025-08-15T02:28:43 +1ms service=app cwd=/Users/kylehuang/.cache creating
INFO 2025-08-15T02:28:43 +0ms service=app git
┌ Add credential
INFO 2025-08-15T02:28:43 +3ms service=models.dev file={} refreshing
ERROR 2025-08-15T02:28:49 +6009ms service=models.dev error={"code":"ConnectionRefused","path":"https://models.dev/api.json","errno":0} Failed to fetch models.dev
INFO 2025-08-15T02:28:49 +4ms service=models.dev file={} refreshing
│
◇ Select provider
│ ModelScope
INFO 2025-08-15T02:28:52 +3384ms service=app name=plugin registering service
INFO 2025-08-15T02:28:52 +0ms service=app name=config registering service
INFO 2025-08-15T02:28:52 +2ms service=config path=/Users/kylehuang/.config/opencode/config.json loading
INFO 2025-08-15T02:28:52 +1ms service=config path=/Users/kylehuang/.config/opencode/opencode.json loading
INFO 2025-08-15T02:28:52 +0ms service=config path=/Users/kylehuang/.config/opencode/opencode.jsonc loading
INFO 2025-08-15T02:28:52 +1ms service=config path=/users/kylehuang/.config/opencode/opencode.jsonc loading
INFO 2025-08-15T02:28:52 +2ms service=config agent={} mode={} plugin=[] username=kylehuang loaded
INFO 2025-08-15T02:28:52 +0ms service=plugin path=opencode-copilot-auth loading plugin
INFO 2025-08-15T02:28:52 +1ms service=bun pkg=opencode-copilot-auth version=latest installing package using Bun's default registry resolution
INFO 2025-08-15T02:28:52 +0ms service=bun cmd=["/Users/kylehuang/.opencode/bin/opencode","add","--force","--exact","--cwd","/Users/kylehuang/.cache/opencode","opencode-copilot-auth@latest"] cwd=/Users/kylehuang/.cache/opencode running
ERROR 2025-08-15T02:28:55 +2620ms service=models.dev error={"code":"ConnectionRefused","path":"https://models.dev/api.json","errno":0} Failed to fetch models.dev
INFO 2025-08-15T02:29:29 +33500ms service=bun code=1 stdout=bun add v1.2.19 (aad3abea)
stderr=Resolving dependencies
Resolved, downloaded and extracted [6]
error: ConnectionRefused downloading package manifest opencode-copilot-auth
done
ERROR 2025-08-15T02:29:29 +13ms service=default pkg=opencode-copilot-auth version=latest name=BunInstallFailedError message=BunInstallFailedError cause=Error: Command failed with exit code 1 fatal
Error: Unexpected error, check log file at for more details
rekram1-node commentedon Dec 28, 2025
[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!