-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Description
code-serverversion:
info 2.1665-vsc1.39.2
info 3d5db8313a91f80dfc402450fd117b4e63f7711e
info x64
N.B. I am not sure that this issue is strictly related to the specific version of code-server. I had a similar experience with just running Java code from within the IDE on an EC2 VM even before. Now I can confirm that code snippets also misbehave.
- OS Version: Ubuntu VM hosted by Amazon EC2, client machine is macOS Catalina with latest Firefox, Chrome, and Safari installed.
Description
I have built a Docker image with Java support (https://github.com/redhat-developer/vscode-java) which is also able to execute code snippets from many other languages (https://github.com/formulahendry/vscode-code-runner). Containers based on this image work equally well when run on my local macOS machine with latest versions of Firefox, Chrome, and Safari.
I run a container based on this same image on a VM in Amazon EC2. Using Firefox I am able to run code snippets supported by the code-runner extension and use vscode-java to execute Java applications or tests from within the VS Code.
Using the Chrome or Safari web browsers to connect to the same container, none of those worked. I see that extensions are being activated but nothing really happens when trying to execute code snippets or Java code.
Maybe there is something to be configured. I am not sure. Any recommendation how to get Chrome (and potentially Safari) working against a Docker container run on an EC2 VM would be highly appreciated.
Steps to Reproduce
- Launch a
t2.largeUbuntu VM in EC2. - Run a docker container which supports Java (
vscode-java) and/or running code snippets (code-runner) on top of this VM. - Use Firefox to execute code snippets or Java code from within the IDE. Should work.
- Use Chrome or Safari to execute code snippets or Java code from within the IDE. Most likely without success.