René's URL Explorer Experiment


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

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@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-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:afff1ab2-6ce4-5d1e-0f9d-2820280a2fa3
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id86D2:1C94F:1A1588D:2162AF1:6B0192F9
html-safe-nonce916ac9c501a27498a8d0fb3276b388fbf8910b3768129649eb5d7f9797056578
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkQyOjFDOTRGOjFBMTU4OEQ6MjE2MkFGMTo2QjAxOTJGOSIsInZpc2l0b3JfaWQiOiI4NzAyNjA5MTU2NjgwNTUzMjA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf980e18801a4ad46d962fd616512a0d1e7ef3b9ae80f635d96a936ec6ef03f72
hovercard-subject-tagissue:1292572374
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/code-server/5321/issue_layout
twitter:imagehttps://opengraph.githubassets.com/02ac619b9fc1f9d70d167d892b2c299ac48b4e4a997b537276d8759c394099c9/coder/code-server/issues/5321
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/02ac619b9fc1f9d70d167d892b2c299ac48b4e4a997b537276d8759c394099c9/coder/code-server/issues/5321
og:image:altIs 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameacmol
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/coder/code-server git https://github.com/coder/code-server.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id172953845
octolytics-dimension-repository_nwocoder/code-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id172953845
octolytics-dimension-repository_network_root_nwocoder/code-server
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/coder/code-server/issues/5321#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fissues%2F5321
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fissues%2F5321
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=coder%2Fcode-server
Reloadhttps://github.com/coder/code-server/issues/5321
Reloadhttps://github.com/coder/code-server/issues/5321
Reloadhttps://github.com/coder/code-server/issues/5321
coderhttps://github.com/coder
code-serverhttps://github.com/coder/code-server
Codehttps://github.com/coder/code-server
Issues147 (147)https://github.com/coder/code-server/issues
Pull requests17 (17)https://github.com/coder/code-server/pulls
Discussionshttps://github.com/coder/code-server/discussions
Actionshttps://github.com/coder/code-server/actions
Projectshttps://github.com/coder/code-server/projects
Security and quality3 (3)https://github.com/coder/code-server/security
Insightshttps://github.com/coder/code-server/insights
https://github.com/coder/code-server
New issuehttps://github.com/login?return_to=https://github.com/coder/code-server/issues/5321
New issuehttps://github.com/login?return_to=https://github.com/coder/code-server/issues/5321
#5332https://github.com/coder/code-server/pull/5332
[Bug]: terminal not working when your web base_path is not /https://github.com/coder/code-server/issues/5321#top
#5332https://github.com/coder/code-server/pull/5332
https://github.com/jsjoeio
bugSomething isn't workinghttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22bug%22
high-priorityThis issue needs to be resolved ASAPhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22high-priority%22
4.5.1https://github.com/coder/code-server/milestone/43
https://github.com/acmol
acmolhttps://github.com/acmol
on Jul 4, 2022https://github.com/coder/code-server/issues/5321#issue-1292572374
02b9d7ehttps://github.com/coder/code-server/commit/02b9d7ee856e31d9008d1ff24a175ff03b49010e
acmolhttps://github.com/acmol
bugSomething isn't workinghttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22bug%22
triageThis issue needs to be triaged by a maintainerhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22triage%22
on Jul 4, 2022https://github.com/coder/code-server/issues/5321#event-6924550538
acmolhttps://github.com/acmol
on Jul 4, 2022https://github.com/coder/code-server/issues/5321#event-6926516311
acmolhttps://github.com/acmol
on Jul 4, 2022https://github.com/coder/code-server/issues/5321#event-6926518437
https://github.com/benz0li
benz0lihttps://github.com/benz0li
on Jul 5, 2022https://github.com/coder/code-server/issues/5321#issuecomment-1175089347
https://github.com/benz0li
benz0lihttps://github.com/benz0li
on Jul 6, 2022https://github.com/coder/code-server/issues/5321#issuecomment-1176069856
@jsjoeiohttps://github.com/jsjoeio
https://github.com/CodingJinxx
CodingJinxxhttps://github.com/CodingJinxx
on Jul 6, 2022https://github.com/coder/code-server/issues/5321#issuecomment-1176177155
https://github.com/aghontpi
aghontpihttps://github.com/aghontpi
on Jul 6, 2022https://github.com/coder/code-server/issues/5321#issuecomment-1176215702
02b9d7ehttps://github.com/coder/code-server/commit/02b9d7ee856e31d9008d1ff24a175ff03b49010e
https://user-images.githubusercontent.com/18617846/177559349-0cf4419a-d612-4814-91df-42fbe981c206.png
https://user-images.githubusercontent.com/18617846/177559635-a770c353-91f0-4ccf-b1ca-c1e8bc3d3e72.png
https://github.com/23fo
23fohttps://github.com/23fo
on Jul 7, 2022https://github.com/coder/code-server/issues/5321#issuecomment-1177165409
https://github.com/benz0li
benz0lihttps://github.com/benz0li
on Jul 7, 2022https://github.com/coder/code-server/issues/5321#issuecomment-1177171444
#5326https://github.com/coder/code-server/discussions/5326
jsjoeiohttps://github.com/jsjoeio
on Jul 11, 2022https://github.com/coder/code-server/issues/5321#event-6972261794
jsjoeiohttps://github.com/jsjoeio
high-priorityThis issue needs to be resolved ASAPhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22high-priority%22
on Jul 11, 2022https://github.com/coder/code-server/issues/5321#event-6972262157
https://github.com/jsjoeio
jsjoeiohttps://github.com/jsjoeio
on Jul 11, 2022https://github.com/coder/code-server/issues/5321#issuecomment-1180797032
@code-asherhttps://github.com/code-asher
https://github.com/jsjoeio
jsjoeiohttps://github.com/jsjoeio
on Jul 11, 2022https://github.com/coder/code-server/issues/5321#issuecomment-1180805315
Caddyhttps://caddyserver.com/
http://localhost:8082/ide/http://localhost:8082/ide/
https://user-images.githubusercontent.com/3806031/178360708-cc62b679-8e9d-4bc9-8feb-0ae73ac8de20.png
@benz0lihttps://github.com/benz0li
herehttps://github.com/coder/code-server/issues/5321#issuecomment-1176069856
1.68 upgradehttps://github.com/coder/code-server/pull/5263/commits
@aghontpihttps://github.com/aghontpi
https://github.com/microsoft/vscode/blob/30d9c6cd9483b2cc586687151bcbcd635f373630/src/bootstrap-window.js#L136https://github.com/microsoft/vscode/blob/30d9c6cd9483b2cc586687151bcbcd635f373630/src/bootstrap-window.js#L136
herehttps://developer.mozilla.org/en-US/docs/Web/API/URL/URL
URLhttps://developer.mozilla.org/en-US/docs/Web/API/URL
hrefhttps://developer.mozilla.org/en-US/docs/Web/API/URL/href
https://jsfiddle.net/5ca3um8x/5/https://jsfiddle.net/5ca3um8x/5/
https://user-images.githubusercontent.com/3806031/178370823-f94749f8-9baa-41e0-a96b-1b8a2541bf7f.png
https://user-images.githubusercontent.com/3806031/178373170-02200de8-901c-4c9f-85e1-25a2cd21176e.png
https://github.com/microsoft/vscode/blob/main/src/vs/code/browser/workbench/workbench-dev.html#L40https://github.com/microsoft/vscode/blob/main/src/vs/code/browser/workbench/workbench-dev.html#L40
https://github.com/microsoft/vscode/blob/main/src/vs/code/browser/workbench/workbench.html#L39https://github.com/microsoft/vscode/blob/main/src/vs/code/browser/workbench/workbench.html#L39
https://user-images.githubusercontent.com/3806031/178541035-b4d89de3-312c-4b4f-8e79-d18511bf37ec.png
all changed files between 4.4.0 and 4.5.0https://github.com/coder/code-server/compare/v4.4.0...v4.5.0
herehttps://github.com/coder/code-server/pull/5263/files#diff-d6f19469bd3dd1daec926b99bf179ec128fff3631356f24af05320c1827f1e46R21
983269fhttps://github.com/coder/code-server/commit/983269f486d6c943331b65e8edf4f6083db6881f
https://user-images.githubusercontent.com/3806031/178852616-b1330c97-6eae-4145-8215-77abdf2df61d.png
@oxyhttps://github.com/oxy
jsjoeiohttps://github.com/jsjoeio
triageThis issue needs to be triaged by a maintainerhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22triage%22
on Jul 11, 2022https://github.com/coder/code-server/issues/5321#event-6972852413
jsjoeiohttps://github.com/jsjoeio
July 2022https://github.com/coder/code-server/milestone/42
on Jul 11, 2022https://github.com/coder/code-server/issues/5321#event-6972852685
jsjoeiohttps://github.com/jsjoeio
completedhttps://github.com/coder/code-server/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#5332https://github.com/coder/code-server/pull/5332
on Jul 14, 2022https://github.com/coder/code-server/issues/5321#event-6995676602
jsjoeiohttps://github.com/jsjoeio
July 2022https://github.com/coder/code-server/milestone/42
4.5.1https://github.com/coder/code-server/milestone/43
on Jul 14, 2022https://github.com/coder/code-server/issues/5321#event-6995688321
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/code-server/issues/5321
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/code-server/issues/5321
jsjoeiohttps://github.com/jsjoeio
bugSomething isn't workinghttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22bug%22
high-priorityThis issue needs to be resolved ASAPhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22high-priority%22
4.5.1https://github.com/coder/code-server/milestone/43
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.