Scott
Scott
CCoder.com
Created by ayush on 12/19/2024 in #help
Restart a workspace through the coder api
my coder workspace , should restart
Why would you do anything different than in a normal/ local development environment scenario? Does a dev restart her laptop to get the lastest version of a repository? I don't think so. I know you are trying to automate the update of the repo, but really, that makes little to no sense. If the dev is worried about having an outdated version, she should just git pull the origin repo (again). Also, imagine the dev is trying to do some work and the workspace restarts on her willy nilly. Not good!!!!
7 replies
CCoder.com
Created by Kbs56 on 12/12/2024 in #help
K8s + Coder Permissions Issues
Oooff.... 🤯
10 replies
CCoder.com
Created by Kbs56 on 12/12/2024 in #help
K8s + Coder Permissions Issues
@Kbs56 - Is the user with the uid 1000 available and has the right privileges?
10 replies
CCoder.com
Created by Scott on 11/22/2024 in #help
Older workspace no longer working
So, I have no idea what can be the issue. This is the container, if you wish to play with it. docker.io/m8aio/node-18 I've upgraded the container now being used by the workspace to node 20 (and created a new image), which was the base for the other working container too and the workspace is running with the new container perfectly now also. Maybe that was it? I don't know. 🤷🏻‍♂️
43 replies
CCoder.com
Created by Scott on 11/22/2024 in #help
Older workspace no longer working
I've fixed the problem, but don't know the cause. It's the container. I swapped the container for one that was working in another workspace and the connection worked with that other container. Though, I don't know what might be the issue with the old container. I'm going to experiment some more. Maybe I'll figure it out.
43 replies
CCoder.com
Created by Scott on 11/22/2024 in #help
Older workspace no longer working
Yes, without a hitch. 🙂
43 replies
CCoder.com
Created by Scott on 11/22/2024 in #help
Older workspace no longer working
Token not getting through as an env variable? 🤔
43 replies
CCoder.com
Created by Scott on 11/22/2024 in #help
Older workspace no longer working
Looking at the pod, I found this.
2024-11-27 08:06:12.372 [warn] run exited with error ...
error= GET https://my.coder.url/api/v2/workspaceagents/me/rpc?version=2.2: unexpected status code 401: Workspace agent not authorized.: Try logging in using 'coder login'.
Error: The agent cannot authenticate until the workspace provision job has been completed. If the job is no longer running, this agent is invalid.
2024-11-27 08:06:12.372 [warn] run exited with error ...
error= GET https://my.coder.url/api/v2/workspaceagents/me/rpc?version=2.2: unexpected status code 401: Workspace agent not authorized.: Try logging in using 'coder login'.
Error: The agent cannot authenticate until the workspace provision job has been completed. If the job is no longer running, this agent is invalid.
43 replies
CCoder.com
Created by Scott on 11/22/2024 in #help
Older workspace no longer working
The workspace is supposed to open next to a Keycloak deployment, to work on html templates for usage within Keycloak.
43 replies
CCoder.com
Created by Scott on 11/22/2024 in #help
Older workspace no longer working
43 replies
CCoder.com
Created by Scott on 11/22/2024 in #help
Older workspace no longer working
Here is the template.
43 replies
CCoder.com
Created by Scott on 11/22/2024 in #help
Older workspace no longer working
Thanks! 🙂
43 replies
CCoder.com
Created by Scott on 11/22/2024 in #help
Older workspace no longer working
Any chance someone from the team that knows more about the SSH inner working can help possibly?
43 replies
CCoder.com
Created by Scott on 11/22/2024 in #help
Older workspace no longer working
The remote port.
43 replies
CCoder.com
Created by Scott on 11/22/2024 in #help
Older workspace no longer working
Ok. Looks like the config is general to the Coder server. Nothing specific for each workspace. 🤔 So, it's something not being given from the server, when the connection is being made.
43 replies
CCoder.com
Created by Scott on 11/22/2024 in #help
Older workspace no longer working
It's definitely this error causing the SSH connection to fail:
[12:29:07.291] Failed to parse remote port from server output
43 replies
CCoder.com
Created by Scott on 11/22/2024 in #help
Older workspace no longer working
Hi Ethan. Yes, I can.
43 replies
CCoder.com
Created by Scott on 11/22/2024 in #help
Older workspace no longer working
@Phorcys
43 replies
CCoder.com
Created by Scott on 11/22/2024 in #help
Older workspace no longer working
Do you know where the VSCode config is saved?
43 replies
CCoder.com
Created by Scott on 11/22/2024 in #help
Older workspace no longer working
Why it is installing twice, I have no idea.... 🤔
43 replies