ShamesBond
ShamesBond
CCoder.com
Created by ShamesBond on 8/27/2024 in #help
Authorize coder workspace to access forwarded port urls
That makes sense. It'd be nice if there were a proxy you could point urls at that would manage SSL, but self signed along with configuring tools to trust the cert wasn't the hardest thing
12 replies
CCoder.com
Created by ShamesBond on 8/27/2024 in #help
Authorize coder workspace to access forwarded port urls
What I ultimately did is colocate the apps on one workspace so that I could proxy the share uri through my local webserver and avoid authenticating with coder
12 replies
CCoder.com
Created by ShamesBond on 8/27/2024 in #help
Authorize coder workspace to access forwarded port urls
I want workspace A to be able to request a coder share uri on workspace B without making the share uri public
12 replies
CCoder.com
Created by ShamesBond on 8/27/2024 in #help
Authorize coder workspace to access forwarded port urls
I could locate these two apps on the same workspace, but still I'd need to have some custom logic that translates coder URIs into local URIs and I wouldn't want that code to land in poduction
12 replies
CCoder.com
Created by ShamesBond on 7/23/2024 in #help
What do "Last Used" icon colors indicate
Go for it, I don't see a way to via mobile
33 replies
CCoder.com
Created by ShamesBond on 7/23/2024 in #help
What do "Last Used" icon colors indicate
Thanks for the help, that does seem to work
33 replies
CCoder.com
Created by ShamesBond on 7/23/2024 in #help
What do "Last Used" icon colors indicate
Does that sound right @Atif ?
33 replies
CCoder.com
Created by ShamesBond on 7/23/2024 in #help
What do "Last Used" icon colors indicate
I was able to get that to build with the following caveats: 1. I had to add the same count to every struct that used count.index 2. I had to stick with [0] in the locals.user_data where it runs sudo -u ${local.linux_user} sh -c '${try(coder_agent.app[0].init_script, "")}'
33 replies
CCoder.com
Created by ShamesBond on 7/23/2024 in #help
What do "Last Used" icon colors indicate
Gotcha, so if I add count = data.coder_workspace.me.start_count to my resource "coder_agent" "app" { and try to build, it complains that my references to coder_agent.app.id are wrong. If I change all my references to coder_agent.app[0] like the template shows I get the following:
The given key does not identify an element in this collection value: the collection has no elements. Error: Invalid index on main.tf line 234, in resource "coder_app" "app": 234: agent_id = coder_agent.app[0].id
What am I missing?
33 replies
CCoder.com
Created by ShamesBond on 7/23/2024 in #help
What do "Last Used" icon colors indicate
If I start and stop it the Agent is taking too long message shows up again
33 replies
CCoder.com
Created by ShamesBond on 7/23/2024 in #help
What do "Last Used" icon colors indicate
No description
33 replies
CCoder.com
Created by ShamesBond on 7/23/2024 in #help
What do "Last Used" icon colors indicate
I'm using a modified AWS EC2 (Linux) template which stops the ec2 instances when the workspace is stopped, coder server is in the cloud and always running. I stop the workspace by mostly using the coder interface, sometimes I'll use the coder stop command
33 replies
CCoder.com
Created by ShamesBond on 7/23/2024 in #help
What do "Last Used" icon colors indicate
I'm not sure why some would be trying to access the coder agent and others wouldn't, is there something I can change in my template to get it to stop trying to connect when the server is stopped?
33 replies
CCoder.com
Created by ShamesBond on 7/23/2024 in #help
What do "Last Used" icon colors indicate
No description
33 replies
CCoder.com
Created by ShamesBond on 7/23/2024 in #help
What do "Last Used" icon colors indicate
So it looks like the color is based on the fact that coder is trying to connect to the coder agent on the server which gets stopped
33 replies
CCoder.com
Created by ShamesBond on 7/23/2024 in #help
What do "Last Used" icon colors indicate
I'll have to dig into the code to find the difference I guess
33 replies
CCoder.com
Created by ShamesBond on 7/23/2024 in #help
What do "Last Used" icon colors indicate
It doesn't seem correlated with stop time @Phorcys I have workspaces that have been stopped for longer that have either orange or blue icons
33 replies
CCoder.com
Created by ShamesBond on 7/23/2024 in #help
What do "Last Used" icon colors indicate
They are both stopped
33 replies
CCoder.com
Created by Just on 6/27/2024 in #help
error persistently
It's not really clear what you're asking about, is this related to coder?
4 replies
CCoder.com
Created by Conor on 6/19/2024 in #help
Access url is throwing a cert error
Are you able to use curl directly? That error sounds like it's complaining about the CA and not the cert itself, that might point to permissions issue with the mounted cert. You could try mounting the CA instead
6 replies