maanex
maanex
CCoder.com
Created by maanex on 5/5/2024 in #help
Coder in VSCode sometimes stuck on embedded relay and not switching to peer-to-peer
This is a follow up from https://discord.com/channels/747933592273027093/971231372373033030/1236740492172071127 To sum it up again: Some days my VSCode almost immediately switches to peer-to-peer, others it's stuck on the coder embedded relay all day long. My network doesn't change, my firewall settings don't change, my coder server doesn't change. As for vscode extension version I'm not aware if there's a connection as that updates automatically in the background, but since it's been an on-off thing and not a one time "oh it broke" situation I'd assume it has nothing to do with the extension either. Not unlikely that some external factors like my ISP having a bad day are the cause of this, but I have no idea how I would approach debugging this.
15 replies
CCoder.com
Created by maanex on 2/24/2023 in #help
Cannot create template, docker socket permission denied
Hi all, I am trying to create a template using the coder template create command on a template I had previously installed. However this time it complains that
Error: Error pinging Docker server: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied
Error: Error pinging Docker server: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied
during the Detecting persistent resources step. The files are unchanged to when it used to work, the only thing that changed is that I had to re-install my docker server instance which probably bumped it's version. My template does use docker swarm terraform resources to create the workspaces in the cluster. However neither does coder template create work on the cluster's host machine nor from an external machine. I tried it on both windows and linux, sudo and non-sudo, same result every time. Any ideas? Thanks!
4 replies