unable to login via github auth #6501

Closed
opened 2026-02-16 18:04:24 -05:00 by yindo · 8 comments
Owner

Originally created by @TrueHOOHA on GitHub (Jan 16, 2026).

Originally assigned to: @rekram1-node on GitHub.

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

Originally created by @TrueHOOHA on GitHub (Jan 16, 2026). Originally assigned to: @rekram1-node on GitHub. ### 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](https://github.com/user-attachments/files/24676487/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
yindo added the windowsbug labels 2026-02-16 18:04:24 -05:00
yindo closed this issue 2026-02-16 18:04:24 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 16, 2026):

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] commented on GitHub (Jan 16, 2026): 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.
Author
Owner

@TrueHOOHA commented on GitHub (Jan 17, 2026):

when i select copilot in my provider menu, nothing happens

@TrueHOOHA commented on GitHub (Jan 17, 2026): when i select copilot in my provider menu, nothing happens
Author
Owner

@vmagalhaes commented on GitHub (Jan 17, 2026):

when i select copilot in my provider menu, nothing happens

Until version 1.1.9 it works using the npm i.

@vmagalhaes commented on GitHub (Jan 17, 2026): > when i select copilot in my provider menu, nothing happens Until version 1.1.9 it works using the npm i.
Author
Owner

@rekram1-node commented on GitHub (Jan 17, 2026):

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 commented on GitHub (Jan 17, 2026): > 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?
Author
Owner

@TrueHOOHA commented on GitHub (Jan 17, 2026):

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 commented on GitHub (Jan 17, 2026): > > 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.
Author
Owner

@TrueHOOHA commented on GitHub (Jan 18, 2026):

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 commented on GitHub (Jan 18, 2026): > > > 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
Author
Owner

@kobezjm commented on GitHub (Jan 20, 2026):

错误 2026-01-16T16:51:34 +8056ms service=default name=错误信息=无法连接。计算机是否能够访问该URL?致命

你的网络设置里是否有某些东西阻止了这项连接?

不,我试过用VPN,还是不行。

是的,我猜是我的网络问题。现在已经解决了。

please tell me how do you work to reslove this ploblem

@kobezjm commented on GitHub (Jan 20, 2026): > > > > 错误 2026-01-16T16:51:34 +8056ms service=default name=错误信息=无法连接。计算机是否能够访问该URL?致命 > > > > > > > > > 你的网络设置里是否有某些东西阻止了这项连接? > > > > > > 不,我试过用VPN,还是不行。 > > 是的,我猜是我的网络问题。现在已经解决了。 please tell me how do you work to reslove this ploblem
Author
Owner

@TrueHOOHA commented on GitHub (Jan 20, 2026):

错误 2026-01-16T16:51:34 +8056ms service=default name=错误信息=无法连接。计算机是否能够访问该URL?致命

你的网络设置里是否有某些东西阻止了这项连接?

不,我试过用VPN,还是不行。

是的,我猜是我的网络问题。现在已经解决了。

please tell me how do you work to reslove this ploblem

Global VPN

@TrueHOOHA commented on GitHub (Jan 20, 2026): > > > > > 错误 2026-01-16T16:51:34 +8056ms service=default name=错误信息=无法连接。计算机是否能够访问该URL?致命 > > > > > > > > > > > > 你的网络设置里是否有某些东西阻止了这项连接? > > > > > > > > > 不,我试过用VPN,还是不行。 > > > > 是的,我猜是我的网络问题。现在已经解决了。 > > please tell me how do you work to reslove this ploblem Global VPN
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6501