opencode auth login Failed to start server. Is port 1455 in use? #9020

Closed
opened 2026-02-16 18:11:25 -05:00 by yindo · 3 comments
Owner

Originally created by @zym198098 on GitHub (Feb 10, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

When I use opencode auth login to log in to OpenAI and select the chatGPT Pro/Plus (browser) login method, an error is reported: Failed to start server. Is port 1455 in use?

Plugins

"plugin": [
"opencode-antigravity-auth@latest",
"oh-my-opencode@latest"
]

OpenCode version

1.1.56

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

windows11

Terminal

opencode auth login

T Add credential
|
o Select provider
| OpenAI
|
o Login method
| ChatGPT Pro/Plus (browser)
Error: Unexpected error, check log file at C:\Users\zym98.local\share\opencode\log\2026-02-11T010642.log for more details

Failed to start server. Is port 1455 in use?

Originally created by @zym198098 on GitHub (Feb 10, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description When I use opencode auth login to log in to OpenAI and select the chatGPT Pro/Plus (browser) login method, an error is reported: Failed to start server. Is port 1455 in use? ### Plugins "plugin": [ "opencode-antigravity-auth@latest", "oh-my-opencode@latest" ] ### OpenCode version 1.1.56 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System windows11 ### Terminal opencode auth login T Add credential | o Select provider | OpenAI | o Login method | ChatGPT Pro/Plus (browser) Error: Unexpected error, check log file at C:\Users\zym98\.local\share\opencode\log\2026-02-11T010642.log for more details Failed to start server. Is port 1455 in use?
yindo added the bugneeds:compliance labels 2026-02-16 18:11:25 -05:00
yindo closed this issue 2026-02-16 18:11:25 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 10, 2026):

This issue doesn't fully meet our contributing guidelines.

What needs to be fixed:

  • OpenCode version is missing (required for bug reports)
  • Operating System is missing (required for bug reports)
  • Steps to reproduce are missing (required for bug reports)
  • Terminal information is missing

These details are essential for maintainers to reproduce and debug the issue. Please edit this issue to add:

  1. Your OpenCode version (run opencode --version)
  2. Your operating system and platform
  3. Exact steps to reproduce the error
  4. Any relevant terminal/shell information

Please edit this issue to address the above within 2 hours, or it will be automatically closed.


Related issues to check:
This issue might be related to other server startup issues:

  • #12055: "Failed to start server on port 4096" - similar port binding issue
  • #13000: "opencode auth login google fails" - similar auth login command issue

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions[bot] commented on GitHub (Feb 10, 2026): <!-- issue-compliance --> This issue doesn't fully meet our [contributing guidelines](../blob/dev/CONTRIBUTING.md). **What needs to be fixed:** - OpenCode version is missing (required for bug reports) - Operating System is missing (required for bug reports) - Steps to reproduce are missing (required for bug reports) - Terminal information is missing These details are essential for maintainers to reproduce and debug the issue. Please edit this issue to add: 1. Your OpenCode version (run `opencode --version`) 2. Your operating system and platform 3. Exact steps to reproduce the error 4. Any relevant terminal/shell information Please edit this issue to address the above within **2 hours**, or it will be automatically closed. --- **Related issues to check:** This issue might be related to other server startup issues: - #12055: "Failed to start server on port 4096" - similar port binding issue - #13000: "opencode auth login google fails" - similar auth login command issue If you believe this was flagged incorrectly, please let a maintainer know.
Author
Owner

@OpeOginni commented on GitHub (Feb 10, 2026):

@zym198098 try make use of the (headless) sign in option

Image
@OpeOginni commented on GitHub (Feb 10, 2026): @zym198098 try make use of the (headless) sign in option <img width="275" height="141" alt="Image" src="https://github.com/user-attachments/assets/8ca642d7-7120-4095-b039-10b764620744" />
Author
Owner

@github-actions[bot] commented on GitHub (Feb 10, 2026):

This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

Feel free to open a new issue that follows our issue templates.

@github-actions[bot] commented on GitHub (Feb 10, 2026): This issue has been automatically closed because it was not updated to meet our [contributing guidelines](../blob/dev/CONTRIBUTING.md) within the 2-hour window. Feel free to open a new issue that follows our issue templates.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9020