Title: [Bug]: terminal not working when your web base_path is not / · Issue #5321 · coder/code-server · GitHub
Open Graph Title: [Bug]: terminal not working when your web base_path is not / · Issue #5321 · coder/code-server
X Title: [Bug]: terminal not working when your web base_path is not / · Issue #5321 · coder/code-server
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 St...
Open Graph 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 --ve...
X 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 --ve...
Opengraph URL: https://github.com/coder/code-server/issues/5321
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: terminal not working when your web base_path is not /","articleBody":"### Is there an existing issue for this?\r\n\r\n- [X] I have searched the existing issues\r\n\r\n### OS/Web Information\r\n\r\n- Web Browser: Chrome\r\n- Local OS: Windows, Ubuntu\r\n- Remote OS: Ubuntu\r\n- Remote Architecture: x86\r\n- `code-server --version`: 4.5.0 02b9d7ee856e31d9008d1ff24a175ff03b49010e with Code 1.68.1\r\n\r\n\r\n### Steps to Reproduce\r\n\r\n1. use k8s ingress, set code server base path to /ide/ \r\n2. open ${your-code-server-host}/ide/\r\n3. ctrl + J open terminal\r\n \r\n\r\n\r\n### Expected\r\n\r\nshow terminal\r\n\r\n### Actual\r\n\r\nNo terminal created.\r\n\r\nopen chrome dev Terminal, you will see some errors like this:\r\n```\r\n \r\n Failed to load resource: the server responded with a status of 503 (Service Unavailable)\r\n /stable-30d9c6cd9483b2cc586687151bcbcd635f373630/static/out/vs/workbench/services/keybinding/browser/keyboardLayouts/layout.contribution.win.js:1\r\n```\r\n\r\nbut the root path of ide is `/ide/` , not `/`\r\n\r\n### Logs\r\n\r\n_No response_\r\n\r\n### Screenshot/Video\r\n\r\n_No response_\r\n\r\n### Does this issue happen in VS Code or GitHub Codespaces?\r\n\r\n- [X] I cannot reproduce this in VS Code.\r\n- [X] I cannot reproduce this in GitHub Codespaces.\r\n\r\n### Are you accessing code-server over HTTPS?\r\n\r\n- [x] I am using HTTPS.\r\n\r\n### Notes\r\n\r\nIf your root path is /, terminal will open correctly.","author":{"url":"https://github.com/acmol","@type":"Person","name":"acmol"},"datePublished":"2022-07-04T03:41:24Z","url":"https://github.com/coder/code-server/issues/5321"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:afff1ab2-6ce4-5d1e-0f9d-2820280a2fa3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 86D2:1C94F:1A1588D:2162AF1:6B0192F9 |
| html-safe-nonce | 916ac9c501a27498a8d0fb3276b388fbf8910b3768129649eb5d7f9797056578 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkQyOjFDOTRGOjFBMTU4OEQ6MjE2MkFGMTo2QjAxOTJGOSIsInZpc2l0b3JfaWQiOiI4NzAyNjA5MTU2NjgwNTUzMjA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f980e18801a4ad46d962fd616512a0d1e7ef3b9ae80f635d96a936ec6ef03f72 |
| hovercard-subject-tag | issue:1292572374 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/code-server/5321/issue_layout |
| twitter:image | https://opengraph.githubassets.com/02ac619b9fc1f9d70d167d892b2c299ac48b4e4a997b537276d8759c394099c9/coder/code-server/issues/5321 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/02ac619b9fc1f9d70d167d892b2c299ac48b4e4a997b537276d8759c394099c9/coder/code-server/issues/5321 |
| og:image:alt | 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 --ve... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | acmol |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/code-server git https://github.com/coder/code-server.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 172953845 |
| octolytics-dimension-repository_nwo | coder/code-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 172953845 |
| octolytics-dimension-repository_network_root_nwo | coder/code-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width