Auth Login "Invalid Code" #518

Closed
opened 2026-02-16 17:27:09 -05:00 by yindo · 1 comment
Owner

Originally created by @bkilshaw on GitHub (Jul 5, 2025).

Originally assigned to: @thdxr on GitHub.

opencode was working great, then I started receiving the following error when trying to run opencode ./

ERROR 2025-07-04T19:57:01 +2ms service=default name=Error message=The socket connection was closed unexpectedly. For more information, pass 'verbose: true' in the second argument to fetch() fatal

Tried opencode auth logout which worked, but when I try to log back in now it fails with "Invalid Code".

Running latest version of opencode (0.1.194) installed through brew, no VPN connected.

Image
Originally created by @bkilshaw on GitHub (Jul 5, 2025). Originally assigned to: @thdxr on GitHub. opencode was working great, then I started receiving the following error when trying to run `opencode ./` ``` ERROR 2025-07-04T19:57:01 +2ms service=default name=Error message=The socket connection was closed unexpectedly. For more information, pass 'verbose: true' in the second argument to fetch() fatal ``` Tried `opencode auth logout` which worked, but when I try to log back in now it fails with "Invalid Code". Running latest version of opencode (0.1.194) installed through brew, no VPN connected. <img width="672" height="1098" alt="Image" src="https://github.com/user-attachments/assets/36e03c39-dcaf-45cc-a738-c2442b685c78" />
yindo closed this issue 2026-02-16 17:27:09 -05:00
Author
Owner

@bkilshaw commented on GitHub (Jul 10, 2025):

Fixed this; I think it was an issue with having "Content Restrictions" enabled in MacOS screentime.

@bkilshaw commented on GitHub (Jul 10, 2025): Fixed this; I think it was an issue with having "Content Restrictions" enabled in MacOS screentime.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#518