opencode icon indicating copy to clipboard operation
opencode copied to clipboard

unable to login via github auth

Open TrueHOOHA opened this issue 5 days ago • 5 comments

Description

opencode auth login

┌ Add credential git│ ◇ Select provider │ GitHub Copilot │ ◇ Select GitHub deployment type │ GitHub.com Error: Unexpected error, check log file at C:\Users\Win11.local\share\opencode\log\2026-01-16T165056.log for more details

Unable to connect. Is the computer able to access the url?

2026-01-16T165056.log

Plugins

ohmy opencode

OpenCode version

1.1.23

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

win11

Terminal

powershell

TrueHOOHA avatar Jan 16 '26 16:01 TrueHOOHA

This issue might be a duplicate of existing issues. Please check:

  • #8552: Github copilot failing to authorize - Same GitHub Copilot provider and similar authorization failure
  • #3936: Github Enterprise authorization - Similar 'Unexpected error' during GitHub authentication flow
  • #8824: The latest desktop version v1.1.23 failed to launch - Same version (1.1.23) with 'Unable to connect' error
  • #4684: Issue with GitHub Login for OpenCode Authentication - GitHub login completion issues

Feel free to ignore if none of these address your specific case.

github-actions[bot] avatar Jan 16 '26 16:01 github-actions[bot]

when i select copilot in my provider menu, nothing happens

TrueHOOHA avatar Jan 17 '26 14:01 TrueHOOHA

when i select copilot in my provider menu, nothing happens

Until version 1.1.9 it works using the npm i.

vmagalhaes avatar Jan 17 '26 18:01 vmagalhaes

ERROR 2026-01-16T16:51:34 +8056ms service=default name=Error message=Unable to connect. Is the computer able to access the url? fatal

Do you have something in ur network settings that could be blocking this?

rekram1-node avatar Jan 17 '26 19:01 rekram1-node

ERROR 2026-01-16T16:51:34 +8056ms service=default name=Error message=Unable to connect. Is the computer able to access the url? fatal

Do you have something in ur network settings that could be blocking this?

No. I tried use VPN still not working.

TrueHOOHA avatar Jan 18 '26 01:01 TrueHOOHA

ERROR 2026-01-16T16:51:34 +8056ms service=default name=Error message=Unable to connect. Is the computer able to access the url? fatal

Do you have something in ur network settings that could be blocking this?

No. I tried use VPN still not working.

yeah i guess its my network issue. fixed now

TrueHOOHA avatar Jan 18 '26 07:01 TrueHOOHA