Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Connecting to a remote OpenCode server through URL running on Linux from a Windows machine does not work #3094

Closedbuzzy(GitHub profile, opens in a new tab) opened this issue 1 comment

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

  1. Install OpenCode on a linux server and have it listen on port 4096
  2. Install t3 code on a Windows machine and configure it to connect to the OpenCode URL
  3. It will fail to connect (and pull the models) and state that you should check the server logs.

The server logs shows this:

[23:07:18.869] ERROR (#11137): failed {
  ref: "err_7e9f8938",
  error: "Failed to init file picker: Invalid path /var/log/C:\\Users\\xxx",
  cause: "Error: Failed to init file picker: Invalid path /var/log/C:\\Users\\xxx\n    at KU (/$bunfs/root/chunk-mgzsm123.js:12:2852)",
}

It's obvious that the local windows path is being sent to the server and the server tries to use that for logging for some reason. I recommend NOT sending the local path when connecting to a remote server as the local path is completely irrelevant when controlling a remote server.

Expected behavior

That t3 code successfully connects to opencode and pulls the available models.

Actual behavior

t3 code fails to pull the models, because it incorrectly sends the current windows path to the remote server.

Impact

Blocks work completely

Version or commit

main

Environment

No response

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

No response

  1. buzzy(GitHub profile, opens in a new tab) added labelsbug

  2. buzzy(GitHub profile, opens in a new tab) added labelsneeds-triage

  3. Note

    This is an automated response from a bot acting on maria's behalf. This issue has had no activity since 2026-06-15. Is it still relevant on the current version? If so, your version and OS would help.

  4. maria-rcks closed this

Sign in to join this conversation.