Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Bug]: terminal not working when your web base_path is not / #5321

Closed
Assignees
Labels
bugSomething isn't working high-priorityThis issue needs to be resolved ASAP
Milestone
@acmol

Description

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Chrome
  • Local OS: Windows, Ubuntu
  • Remote OS: Ubuntu
  • Remote Architecture: x86
  • code-server --version: 4.5.0 02b9d7e with Code 1.68.1

Steps to Reproduce

  1. use k8s ingress, set code server base path to /ide/
  2. open ${your-code-server-host}/ide/
  3. ctrl + J open terminal

Expected

show terminal

Actual

No terminal created.

open chrome dev Terminal, you will see some errors like this:

 
 Failed to load resource: the server responded with a status of 503 (Service Unavailable)
 /stable-30d9c6cd9483b2cc586687151bcbcd635f373630/static/out/vs/workbench/services/keybinding/browser/keyboardLayouts/layout.contribution.win.js:1

but the root path of ide is /ide/ , not /

Logs

No response

Screenshot/Video

No response

Does this issue happen in VS Code or GitHub Codespaces?

  • I cannot reproduce this in VS Code.
  • I cannot reproduce this in GitHub Codespaces.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

If your root path is /, terminal will open correctly.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working high-priorityThis issue needs to be resolved ASAP

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    AltStyle によって変換されたページ (->オリジナル) /