10000 bug: Path-based VS Code port forwarding broken in v2.7.1 · Issue #11754 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content
bug: Path-based VS Code port forwarding broken in v2.7.1 #11754
Closed
@JensHeise

Description

@JensHeise

Hello,

it appears, as if maybe #11657 broke the path-based port forwarding inside VS Code Web.
The env var VSCODE_PROXY_URI was constructed correctly in v2.6.0 and before.

Expected Behavior

VSCode starts with the correct env var VSCODE_PROXY_URI for path-based VS Code like this:
https://coder.example.com/@USER/test.instance/apps/code-server/proxy/{{port}}

Actual Behavior

If I start a web app in the workspace the automated port forwarder in VS Code constructs a URL for a subdomain based app, like:
https://{{port}}--instance--test--USER.coder.example.com/

Since subdomain based routing is not an option for us, this breaks our VS Code setup.

Steps to Reproduce the Problem

  1. Setup template like described in documentation here
  2. Switch to a path based app in template
  3. Start workspace from template
  4. Start VS Code browser
  5. Start web application in VS Code

Specifications

  • Version: v2.7.1
  • Platform: Linux
  • Subsystem: Ubuntu 22.04

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0