openvscode-server icon indicating copy to clipboard operation
openvscode-server copied to clipboard

Run upstream VS Code on a remote machine with access through a modern web browser from any device, anywhere.

Results 110 openvscode-server issues
Sort by recently updated
recently updated
newest added

Does this issue occur when all extensions are disabled?: Yes/No - VS Code Version: 1.67.2 - OS Version: ubuntu 20.04 Steps to Reproduce: 1. open any foler in left explorer...

Loading images causes CSP violation in Firefox

[{"_id":"67029222eedbdc0cb30b7f6b","body":"Thanks for reporting and looking into this, @fritterhoff, I will try to see what the problem is because it seems a bit weird to me that it's a Firefox-specific issue.","issue_id":1714968413693,"origin_id":951795113,"user_origin_id":29888641,"create_time":1635243665,"update_time":1635243665,"id":1728221730064,"updated_at":"2024-10-06T13:35:30.064000Z","created_at":"2024-10-06T13:35:30.064000Z"},{"_id":"67029222eedbdc0cb30b7f6c","body":"Relevant docs: https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Headers\/Content-Security-Policy\/img-src","issue_id":1714968413693,"origin_id":951796975,"user_origin_id":29888641,"create_time":1635243814,"update_time":1635243814,"id":1728221730067,"updated_at":"2024-10-06T13:35:30.066000Z","created_at":"2024-10-06T13:35:30.066000Z"},{"_id":"67029222eedbdc0cb30b7f6d","body":"Great thanks! Please let me know if you need any further information.","issue_id":1714968413693,"origin_id":952175275,"user_origin_id":32478819,"create_time":1635270896,"update_time":1635270896,"id":1728221730070,"updated_at":"2024-10-06T13:35:30.070000Z","created_at":"2024-10-06T13:35:30.070000Z"},{"_id":"67029222eedbdc0cb30b7f6e","body":"Can confirm this is happening, and can confirm it is only happening on Firefox (at least tested that it is **not** happening on the Brave browser).","issue_id":1714968413693,"origin_id":963554191,"user_origin_id":29888641,"create_time":1636403969,"update_time":1636403969,"id":1728221730074,"updated_at":"2024-10-06T13:35:30.074000Z","created_at":"2024-10-06T13:35:30.074000Z"},{"_id":"67029222eedbdc0cb30b7f6f","body":"The error in full:\r\n```\r\nContent Security Policy: The page\u2019s settings blocked the loading of a resource at https:\/\/8000-chocolate-snake-wvx1bgot.ws-eu18.gitpod.io\/static\/out\/vs\/workbench\/contrib\/webview\/browser\/pre\/service-worker.js?id=c5e068c2-8916-4e0c-a0b1-7d136f165c5e&swVersion=2&extensionId=vscode.image-preview&platform=browser&vscode-resource-base-authority=vscode-resource.vscode-webview.net&parentOrigin=https%3A%2F%2F8000-chocolate-snake-wvx1bgot.ws-eu18.gitpod.io (\u201cimg-src\u201d).\r\n```","issue_id":1714968413693,"origin_id":963568916,"user_origin_id":29888641,"create_time":1636405276,"update_time":1636405276,"id":1728221730076,"updated_at":"2024-10-06T13:35:30.076000Z","created_at":"2024-10-06T13:35:30.076000Z"},{"_id":"67029222eedbdc0cb30b7f70","body":"Even after removing the whole CSP header the image still won't load \ud83d\ude15 (https:\/\/github.com\/microsoft\/vscode\/blob\/6f0346f2cb31222ff99df02a50e1d6be08aec782\/src\/vs\/server\/webClientServer.ts#L229)","issue_id":1714968413693,"origin_id":963587431,"user_origin_id":29888641,"create_time":1636406596,"update_time":1636406707,"id":1728221730078,"updated_at":"2024-10-06T13:35:30.078000Z","created_at":"2024-10-06T13:35:30.078000Z"},{"_id":"67029222eedbdc0cb30b7f71","body":"If you disable the csp policies (in the about:config) it works so the bug really comes from CSP. Sadly I neither have experience in the development of vs code nor in debugging the CSP problems. My (stupid) idea would have been to enable the csp reporting (https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Headers\/Content-Security-Policy\/report-uri) so we could debug what's going wrong? What do you think @filiptronicek?","issue_id":1714968413693,"origin_id":964363309,"user_origin_id":32478819,"create_time":1636478316,"update_time":1636478316,"id":1728221730081,"updated_at":"2024-10-06T13:35:30.081000Z","created_at":"2024-10-06T13:35:30.081000Z"},{"_id":"67029222eedbdc0cb30b7f72","body":"Any update on this issue?","issue_id":1714968413693,"origin_id":980511327,"user_origin_id":32478819,"create_time":1637994533,"update_time":1637994533,"id":1728221730084,"updated_at":"2024-10-06T13:35:30.083000Z","created_at":"2024-10-06T13:35:30.083000Z"},{"_id":"67029222eedbdc0cb30b7f73","body":"Firefox has a bug in its \"Advanced Tracking Protection\" that prevents loading of some resources in VS Code. The only workaround at this point is to disable it.\r\n\r\nMozilla automatically disables ATP for vscode.dev, but since you're most likely running on your own domain (or localhost), the Mozilla workaround doesn't do the trick for you.\r\n\r\nhttps:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1725216","issue_id":1714968413693,"origin_id":1128984943,"user_origin_id":1467123,"create_time":1652799845,"update_time":1652799845,"id":1728221730088,"updated_at":"2024-10-06T13:35:30.088000Z","created_at":"2024-10-06T13:35:30.088000Z"}] comment

Does this issue occur when all extensions are disabled?: Yes - VS Code Version: ![grafik](https://user-images.githubusercontent.com/32478819/137624209-5814bf61-ea73-4c88-8359-bb50b50a534c.png) - OS Version: Debian 11 + Docker gitpod/openvscode-server - Browser: Only Firefox (tested with version...

bug

Guides do not include token required to reach server

[{"_id":"670292290f8c2fd64b011e99","body":"Hey there, @chuck-confluent!\r\nIt is correct that you need to put a security token when you visit your OpenVSCode Server port.\r\n\r\nYou unfortunately cannot extract the code programmatically, but you can set it manually (see https:\/\/github.com\/gitpod-io\/openvscode-server#a-note-about-security-tokens for more details), or just copy it from the output of running `.\/server.sh`","issue_id":1714968413713,"origin_id":997043390,"user_origin_id":29888641,"create_time":1639776721,"update_time":1639776721,"id":1728221737209,"updated_at":"2024-10-06T13:35:37.209000Z","created_at":"2024-10-06T13:35:37.209000Z"},{"_id":"670292290f8c2fd64b011e9a","body":"Thanks! I think for the guide, it would be most appropriate to set a manual token","issue_id":1714968413713,"origin_id":997088500,"user_origin_id":48225759,"create_time":1639783577,"update_time":1639783577,"id":1728221737213,"updated_at":"2024-10-06T13:35:37.212000Z","created_at":"2024-10-06T13:35:37.212000Z"},{"_id":"670292290f8c2fd64b011e9b","body":"@chuck-confluent I would say it's a good idea to have a mention of security tokens in each guide, but to by default tell users to change it to whatever they want is IMO a bad idea, strongly decreasing the complexity and therefore strength of the tokens.","issue_id":1714968413713,"origin_id":997180196,"user_origin_id":29888641,"create_time":1639822108,"update_time":1639822108,"id":1728221737217,"updated_at":"2024-10-06T13:35:37.216000Z","created_at":"2024-10-06T13:35:37.216000Z"},{"_id":"670292290f8c2fd64b011e9c","body":"That makes sense. I was doing this with terraform (so no interactive terminal on the instance), so there was no way for me to do it other than provide my own manual token. But looking back at the guide, it assumes an interactive shell with the instance, so you would be able to see the randomly generated token. \ud83d\udc4d ","issue_id":1714968413713,"origin_id":997569072,"user_origin_id":48225759,"create_time":1639972056,"update_time":1639972056,"id":1728221737220,"updated_at":"2024-10-06T13:35:37.219000Z","created_at":"2024-10-06T13:35:37.219000Z"},{"_id":"670292290f8c2fd64b011e9d","body":"I've an idea.... put a nginx or caddy before as reverse proxy and add corresponding header. I'm searching for the header name now.","issue_id":1714968413713,"origin_id":1003091252,"user_origin_id":12201081,"create_time":1640880482,"update_time":1640880482,"id":1728221737223,"updated_at":"2024-10-06T13:35:37.222000Z","created_at":"2024-10-06T13:35:37.222000Z"},{"_id":"670292290f8c2fd64b011e9e","body":"Hi, \r\n\r\nI have a working solution, i add an nginx as a sidecar reverse proxy (i use docker, so adapt the resolver address if necessary.\r\n\r\nVSCode create a cookie called `vscode-tkn` after it get the real tkn as get parameter (http:\/\/vscode:3000?tkn=7098a127-de76-4d3c-9e23-3530bd99e207).\r\n\r\nI tried to just add a cookie every time. Not working, it's commented in the following conf.\r\n\r\nAfter few tries and analyses, i've a working solution : \r\nI add a condition, if cookie is not set, it add an argument to the proxy pass... vscode reveived it and create a cookie and it work fine if tkn is not defined in the first initial query.\r\n\r\n\r\n```\r\nuser nginx;\r\nworker_processes 16;\r\nevents {\r\n worker_connections 512;\r\n}\r\nhttp {\r\n gzip off;\r\n resolver 127.0.0.11;\r\n access_log off;\r\n error_log stderr;\r\n upstream upstream_vscode {\r\n server vscode:3000;\r\n }\r\n server {\r\n server_name _;\r\n listen 3000;\r\n client_max_body_size 0;\r\n ignore_invalid_headers off;\r\n location \/ {\r\n # add_header Set-Cookie \"vscode-tkn=7098a127-de76-4d3c-9e23-3530bd99e207; Path=\/; Max-Age=31536000\";\r\n\r\n if ($cookie_vscode-tkn != \"7098a127-de76-4d3c-9e23-3530bd99e207\") {\r\n set $args \"tkn=7098a127-de76-4d3c-9e23-3530bd99e207\";\r\n }\r\n\r\n proxy_buffering off;\r\n proxy_set_header Upgrade $http_upgrade;\r\n proxy_set_header Connection \"Upgrade\";\r\n proxy_pass http:\/\/upstream_vscode;\r\n }\r\n }\r\n}\r\n\r\n```","issue_id":1714968413713,"origin_id":1003622578,"user_origin_id":12201081,"create_time":1641073227,"update_time":1641073396,"id":1728221737227,"updated_at":"2024-10-06T13:35:37.227000Z","created_at":"2024-10-06T13:35:37.227000Z"},{"_id":"670292290f8c2fd64b011e9f","body":"Hi, everybody\r\nThis is working solution for anybody using docker-compose \r\nAs for me I using nginx as front, proxying to exposed default 3000 port also. \r\n```yml\r\nvsc-server:\r\n container_name: vsc-server\r\n image: gitpod\/openvscode-server\r\n restart: always\r\n volumes:\r\n - .\/data\/vsc-server\/workspace:\/home\/workspace\r\n - \/etc\/localtime:\/etc\/localtime:ro\r\n user: '1000:1000'\r\n entrypoint: [ \"\/bin\/sh\", \"-c\", \"exec \/home\/.openvscode-server\/bin\/openvscode-server --host 0.0.0.0 --connection-token your_secret\", \"--\" ]\r\n```\r\nThen you can use link: [http:\/\/your_server?tkn=your_secret](http:\/\/your_server?tkn=your_secret)","issue_id":1714968413713,"origin_id":1119007820,"user_origin_id":64272471,"create_time":1651781878,"update_time":1651781878,"id":1728221737233,"updated_at":"2024-10-06T13:35:37.232000Z","created_at":"2024-10-06T13:35:37.232000Z"}] comment

Does this issue occur when all extensions are disabled?: Yes - VS Code Version: 1.63.0 - OS Version: Steps to Reproduce: 1. Follow the guide https://github.com/gitpod-io/openvscode-server/tree/docs/guides/aws-ec2 2. You get the...

Ship with systemd

[{"_id":"67029211eedbdc0cb30b7f66","body":"This could be a Guide https:\/\/github.com\/gitpod-io\/openvscode-server\/tree\/docs\/guides would be fairly easy to get up and running in there.","issue_id":1714968413724,"origin_id":955110255,"user_origin_id":1297073,"create_time":1635552933,"update_time":1635552933,"id":1728221713668,"updated_at":"2024-10-06T13:35:13.668000Z","created_at":"2024-10-06T13:35:13.668000Z"},{"_id":"67029211eedbdc0cb30b7f67","body":"I don't think it should go in this repo. We build docker images though here: https:\/\/github.com\/gitpod-io\/vscode-releases Guide is fine as well. If someone wants to contribute go ahead.","issue_id":1714968413724,"origin_id":955265331,"user_origin_id":3082655,"create_time":1635605586,"update_time":1635605586,"id":1728221713673,"updated_at":"2024-10-06T13:35:13.673000Z","created_at":"2024-10-06T13:35:13.673000Z"},{"_id":"67029211eedbdc0cb30b7f68","body":"Hey @akosyakov \r\nAdding systemd to a docker image is quite simple. But will you allow running that docker image with privileged mode and mount cgroup ?\r\nIs it possible to add custom flags for `docker run` in gitpod.yml ?\r\n","issue_id":1714968413724,"origin_id":1102829451,"user_origin_id":45024177,"create_time":1650384270,"update_time":1650384270,"id":1728221713678,"updated_at":"2024-10-06T13:35:13.677000Z","created_at":"2024-10-06T13:35:13.677000Z"}] comment

[`code-server` ships a `systemd` unit](https://github.com/cdr/code-server/pull/1997/commits/255fa37e1d058cce917eb75c2da20c2c806a52c2) for more convenient installation. I know this project wants to minimize deviation from official vscode, just wondering if this could be considered as the chance...

documentation
help wanted

Adding a description of the different release types to the README.md

[{"_id":"670292220f8c2fd64b011e97","body":"Hi there @venkatamutyala, the Insiders release corresponds to the Insiders version of VS Code itself, see [Introducing the Insiders Build](https:\/\/code.visualstudio.com\/blogs\/2016\/02\/01\/introducing_insiders_build) for more details. Tl;dr: Insiders is a nightly build of VS Code with the latest and greatest features, but sometimes is unstable. Thanks for reporting your confusion, this is something that could indeed go to the README or other docs here.","issue_id":1714968413732,"origin_id":1065969530,"user_origin_id":29888641,"create_time":1647121364,"update_time":1647121364,"id":1728221730200,"updated_at":"2024-10-06T13:35:30.200000Z","created_at":"2024-10-06T13:35:30.200000Z"}] comment

Can someone explain what the insiders edition is? I see a pre-release tag: [openvscode-server-insiders-v1.66.0](https://github.com/gitpod-io/openvscode-server/releases/tag/openvscode-server-insiders-v1.66.0) it would be nice if we could have an FAQ that answers this in the README.md.

[Guides] Heroku

[{"_id":"67029233eedbdc0cb30b7f78","body":"Is there no guide for Heroku written yet, or has it moved to a different website of documentation?","issue_id":1714968413740,"origin_id":930808034,"user_origin_id":63164617,"create_time":1632981438,"update_time":1632981438,"id":1728221747596,"updated_at":"2024-10-06T13:35:47.595000Z","created_at":"2024-10-06T13:35:47.595000Z"},{"_id":"67029233eedbdc0cb30b7f79","body":"@driftywinds sorry for the late response, but yes, still no Heroku docs, you can take a look at https:\/\/github.com\/gitpod-io\/openvscode-server\/tree\/docs\/guides to see them all.","issue_id":1714968413740,"origin_id":1050652916,"user_origin_id":29888641,"create_time":1645778800,"update_time":1645778800,"id":1728221747600,"updated_at":"2024-10-06T13:35:47.600000Z","created_at":"2024-10-06T13:35:47.600000Z"}] comment

documentation
help wanted

In order, to add `settings.json` parameters automatically, the server should be restarted each time to apply the parameters. This is unfortunately not convenient to run automation scripts. So it would...

Answered and Added some FAQ in Readme section

[{"_id":"67029222ad3c4128c70d2beb","body":"> 5. How do I create a Node \/ Java \/ C \/ etc environment?\r\n> The same way like you used to do it locally. Just run docker command docker run -it --init -p 3000:3000 -v \"$(pwd):\/home\/workspace:cached\" gitpod\/openvscode-server , visit the localhost where your vs code is up and running, and just get started with it.\r\n\r\nThat answer may need more clarification, as just installing the relevant packages via the VS Code terminal has its own caveats (e.g redundant downloads on the file system). It also assumes an Ubuntu base.","issue_id":1714968413753,"origin_id":932786759,"user_origin_id":2179708,"create_time":1633194985,"update_time":1633195054,"id":1728221730449,"updated_at":"2024-10-06T13:35:30.449000Z","created_at":"2024-10-06T13:35:30.449000Z"},{"_id":"67029222ad3c4128c70d2bec","body":"> > 1. How do I create a Node \/ Java \/ C \/ etc environment?\r\n> > The same way like you used to do it locally. Just run docker command docker run -it --init -p 3000:3000 -v \"$(pwd):\/home\/workspace:cached\" gitpod\/openvscode-server , visit the localhost where your vs code is up and running, and just get started with it.\r\n> \r\n> That answer may need more clarification, as just installing the relevant packages via the VS Code terminal has its own caveats (e.g redundant downloads on the file system). It also assumes an Ubuntu base.\r\n\r\nOkay, I will do research at my end with respect to it. \r\nIt will be helpfull if you add your point of view in descriptive manner.","issue_id":1714968413753,"origin_id":932852943,"user_origin_id":51874681,"create_time":1633229710,"update_time":1633229710,"id":1728221730454,"updated_at":"2024-10-06T13:35:30.453000Z","created_at":"2024-10-06T13:35:30.453000Z"},{"_id":"67029222ad3c4128c70d2bed","body":"I'm curious about trying OpenVSCode (currently using code-server). Maybe I'm missing something, but #4 describes essentially the same feature set. You can take the Docker path with code-server as well (https:\/\/hub.docker.com\/r\/codercom\/code-server)","issue_id":1714968413753,"origin_id":933434191,"user_origin_id":142472,"create_time":1633350394,"update_time":1633350394,"id":1728221730459,"updated_at":"2024-10-06T13:35:30.459000Z","created_at":"2024-10-06T13:35:30.459000Z"},{"_id":"67029222ad3c4128c70d2bee","body":"> Moreover, they can install OpenVSCode Server to the cloud, and the project includes guides for running on AWS and Google Cloud, for the data science use case\r\n\r\nNot sure this is a differentiating factor. code-server has guides for deploying to the cloud linked in the README: https:\/\/github.com\/cdr\/code-server#getting-started","issue_id":1714968413753,"origin_id":933722990,"user_origin_id":22407953,"create_time":1633370532,"update_time":1633370532,"id":1728221730463,"updated_at":"2024-10-06T13:35:30.462000Z","created_at":"2024-10-06T13:35:30.462000Z"},{"_id":"67029222ad3c4128c70d2bef","body":"Refer to this once, https:\/\/www.gitpod.io\/blog\/openvscode-server-launch","issue_id":1714968413753,"origin_id":934017960,"user_origin_id":51874681,"create_time":1633402905,"update_time":1633402905,"id":1728221730466,"updated_at":"2024-10-06T13:35:30.466000Z","created_at":"2024-10-06T13:35:30.466000Z"},{"_id":"67029222ad3c4128c70d2bf0","body":"Another big difference between code-server and openvscode-server is that. `code-server` do support running locally without docker. This does offer a great personal \/ hobby development off of your main machine. While `openvscode-server` required you to tailor the Dockerfile to install necessary tools.\r\n\r\nFor short: I can use code-server (running natively) and use Tailscale to access my main machine with all the development tools ready to go. While with openvscode-server, I have to spin up Docker, install a lot of tools, reconfigure mount and ssh forwarding, etc... just to get started.\r\n\r\nIt is some major differences I can see out of the box.","issue_id":1714968413753,"origin_id":952510015,"user_origin_id":9645992,"create_time":1635306087,"update_time":1635306087,"id":1728221730472,"updated_at":"2024-10-06T13:35:30.472000Z","created_at":"2024-10-06T13:35:30.472000Z"}] comment

## FAQ'S 1. How is OpenVSCode Server different from VS Code? - It makes use of the power of the cloud - dependencies, compilation, testing, large data sets can all...

[openvscode-releases] automatically get latest release tag and deploy that

[{"_id":"67029211ad3c4128c70d2be6","body":"We also have to think of strategically avoiding the cache. We could possibly use bytes from random.org and then write it to a file, get the release then remove the temporary file.","issue_id":1714968413761,"origin_id":1003080998,"user_origin_id":50248166,"create_time":1640878795,"update_time":1640878795,"id":1728221713522,"updated_at":"2024-10-06T13:35:13.522000Z","created_at":"2024-10-06T13:35:13.522000Z"}] comment

The whole deployment flow could be made much easier if inside the Docker file there was a build step that could get the latest release from https://github.com/gitpod-io/openvscode-releases and put that...

"Accounts" Button just shows "loading..."

[{"_id":"6702923aeedbdc0cb30b7f7a","body":"Same issue on 1.62.3 with both Chrome and Firefox.","issue_id":1714968413768,"origin_id":982575348,"user_origin_id":11386903,"create_time":1638274105,"update_time":1638274105,"id":1728221754532,"updated_at":"2024-10-06T13:35:54.532000Z","created_at":"2024-10-06T13:35:54.532000Z"},{"_id":"6702923aeedbdc0cb30b7f7b","body":"Confirmed for:\r\n- MacOS(latest Chrome, Firefox, Safari)\r\n- Linux(latest Chrome, Firefox)\r\n\r\nBoth for http\\https with and without proxy","issue_id":1714968413768,"origin_id":997265262,"user_origin_id":2705977,"create_time":1639852714,"update_time":1639852714,"id":1728221754542,"updated_at":"2024-10-06T13:35:54.541000Z","created_at":"2024-10-06T13:35:54.541000Z"},{"_id":"6702923aeedbdc0cb30b7f7c","body":"Has this been fixed? I would like to be able to create two accounts one for my daughter and one for me.","issue_id":1714968413768,"origin_id":2291111858,"user_origin_id":588297,"create_time":1723721565,"update_time":1723721565,"id":1728221754548,"updated_at":"2024-10-06T13:35:54.548000Z","created_at":"2024-10-06T13:35:54.548000Z"}] comment

Does this issue occur when all extensions are disabled?: Yes - VS Code Version: 1.62.0 Steps to Reproduce: 1. open VSCode 2. click on "Accounts" Result: it just shows a...

bug