[Bug]: terminal not working when your web base_path is not /
See original GitHub issueIs 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 02b9d7ee856e31d9008d1ff24a175ff03b49010e with Code 1.68.1
Steps to Reproduce
- use k8s ingress, set code server base path to /ide/
- open ${your-code-server-host}/ide/
- 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.
Issue Analytics
- State:
- Created a year ago
- Reactions:4
- Comments:8 (2 by maintainers)
Top Results From Across the Web
spring.data.rest.basePath is not applied - Stack Overflow
All of the server.* properties that Spring Boot supports only apply to the configuration of the embedded servlet container (Tomcat, Jetty, ...
Read more >ttyd - Share your terminal over the web - GitHub Pages
ttyd is a simple command-line tool for sharing terminal over the web. ... --readonly Do not allow clients to write to the TTY...
Read more >Settings Reference for Python - Visual Studio Code
Python settings reference. The Python Extension for Visual Studio Code is highly configurable. This page describes the key settings you can work with....
Read more >How to Fix “Cannot find a valid baseurl for repo” in CentOS
In this short article, we will show how to fix “cannot find a valid baseurl for repo” error in CentOS Linux distribution.
Read more >Windows Terminal Troubleshooting | Microsoft Learn
If you are seeing color issues in Windows Terminal 1.0 or 1.1, or issues that are not captured here, please file a bug....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Cross reference: https://github.com/coder/code-server/discussions/5326
same issue,and python extension fails to activate.