sharkymark
sharkymark
CCoder.com
Created by Katorly on 10/10/2024 in #help
Where can I find settings.json for vscode web?
my bad, didn't catch you are using Microsoft's code-server (VS Code Web) - good luck!
11 replies
CCoder.com
Created by Katorly on 10/10/2024 in #help
Where can I find settings.json for vscode web?
If you are using code-server, which I think you are, since it's in that template, then for me, it does not have a settings.json until I start making changes to the settings, and then creates the file in that location ~/.local/share/code-server/User
11 replies
CCoder.com
Created by Mr Coxall on 10/7/2024 in #help
VS Code Desktop, remove button
If you have a paid license, browser only mode disables ssh https://coder.com/docs/admin/networking#browser-only-connections-enterprise-premium
9 replies
CCoder.com
Created by Mr Coxall on 10/7/2024 in #help
web terminal font, want to change
Look at the coder_agent script, it is copying a .bashrc that sets colors. you can change or adjust as you like.
if [ ! -f ~/.init_done ]; then
cp -rT /etc/skel ~
touch ~/.init_done
fi
if [ ! -f ~/.init_done ]; then
cp -rT /etc/skel ~
touch ~/.init_done
fi
In your running workspace, inspect .bashrc
3 replies
CCoder.com
Created by Mr Coxall on 10/7/2024 in #help
VS Code Desktop, remove button
9 replies
CCoder.com
Created by Mr Coxall on 10/7/2024 in #help
VS Code Desktop, remove button
inside the template's coder_agent resource, add a display_apps config to force removing the desktop option.
display_apps {
vscode = false
}
display_apps {
vscode = false
}
9 replies
CCoder.com
Created by r1234 on 9/7/2024 in #help
Unable to connect to workspace | access to terminal, code-server, ssh not working. No matching peer
ok, you did docker ps and then docker exec -it <container> /bin/bash and can curl the access URL?
75 replies
CCoder.com
Created by r1234 on 9/7/2024 in #help
Unable to connect to workspace | access to terminal, code-server, ssh not working. No matching peer
I think you said you're on Kubernetes. One way to test if the workspace pod can get to the Coder control plane, is kubectl exec into the pod and curl the access url you have specified in your server config.
75 replies
CCoder.com
Created by r1234 on 9/7/2024 in #help
Unable to connect to workspace | access to terminal, code-server, ssh not working. No matching peer
Your access URL is set correctly too? Maybe a screenshot of the workspace dashboard would be help - like the icons appear for web terminal and code-server (if you have that installed)
75 replies
CCoder.com
Created by r1234 on 9/7/2024 in #help
Unable to connect to workspace | access to terminal, code-server, ssh not working. No matching peer
So no web IDE and terminal too - as docs said, STUN, UDP is for local IDE/ssh, so this could be something broader. To your question, no, I don't think STUN is needed if p2p/direct is disabled, and your web IDE and web terminal seems to be something. So I can't imagine your own STUN server helps anything. Hopefully someone more intimate on networking can sugggest things.
75 replies
CCoder.com
Created by r1234 on 9/7/2024 in #help
Unable to connect to workspace | access to terminal, code-server, ssh not working. No matching peer
I think no UDP is part of this too. There corporate firewall rules blocking it
75 replies
CCoder.com
Created by r1234 on 9/7/2024 in #help
Unable to connect to workspace | access to terminal, code-server, ssh not working. No matching peer
if offline, you can host your own STUN server, but it is needed for coordinator to share node info between the 2 nodes (the client where VS Code or ssh in terminal is, or using coder ping etc.) and the other node (the Coder workspace) Can you confirm you can get to the dashboard for a worskpace in a browser fine, and open web terminal and if your template has it, a web IDE like code-server?
75 replies
CCoder.com
Created by r1234 on 9/7/2024 in #help
Unable to connect to workspace | access to terminal, code-server, ssh not working. No matching peer
not sure, i did notice your one screenshot showed udp wasn't healthy/allowed. i assume what is not working is local vs code to workspace. if i remember, i thought that coordinator server process where node keys and IP addresses are shared, requires UDP to do STUN (echoing google.com for each node's address) guess wait for Phorcys to free up
75 replies
CCoder.com
Created by r1234 on 9/7/2024 in #help
Unable to connect to workspace | access to terminal, code-server, ssh not working. No matching peer
just flying by, but even though it should fall back to WebSockets, you can force it https://coder.com/docs/reference/cli/server#--derp-force-websockets
75 replies
CCoder.com
Created by TitiMoby on 6/18/2024 in #help
Create a dedicated workspace for each user
since you're in kubernetes, are there any remnants like a pod kubectl get pods -n coder and if so, get logs kubectl logs <pod name> -n coder or describe like if crashloop backoff kubectl describes pods <pod name> -n coder
99 replies
CCoder.com
Created by TitiMoby on 6/18/2024 in #help
Create a dedicated workspace for each user
@Thierry Chantier sorry if I missed this, but did you enter 2 or 2GB? Pasting the template here (sanitize it) can help @Phorcys if you want to make it really simple, just hardcode the CPU/Mem/Disk quantities in the template and not make them Coder parameters. If you give a choice, they always take the bigger ones.
99 replies
CCoder.com
Created by JFK on 4/2/2024 in #help
Setting up a Privileged Sidecar
ok sounds good, just pointing it out. i like the convenience of side car too.
9 replies
CCoder.com
Created by JFK on 4/2/2024 in #help
Setting up a Privileged Sidecar
Also keep in mind the security issues with a side-car - the dind container has to be privileged which means it can access the host.
9 replies
CCoder.com
Created by JFK on 4/2/2024 in #help
Setting up a Privileged Sidecar
it works for me, (docker run hello-world) - did you use codercom/enterprise-base? It has the Docker CLI and the container user is in the docker group - so if you use a custom image, it needs the same. Here's the enterprise-base Dockerfile https://github.com/coder/enterprise-images/tree/main/images/base But there is a missing item in the docs - there's isn't a count on the dind container so it will stay running when the workspace shuts down.
9 replies
CCoder.com
Created by sharkymark on 2/6/2023 in #help
Any clue what's causing this on `coder server` on a mac?
Ok thanks
7 replies