401 when running coder
I followed the AWS quickstart guide to set-up coder, workspace-wise I'm using the aws-linux template.
I'm now getting 401s when running git (through
coder gitssh
) within the workspace:
Weirdly I can run other coder
commands fine & login doesn't resolve the gitssh
401s.
Any ideas what might be happening here?7 Replies
Running Coder v0.11.0+df89e2c
are you logged in ? try running
coder login <url>
Yep, logging in doesn't kep in the
gitssh
case:
sounds like a bug to me, I'll try on my side
actually, I can't right now but you could try upgrading your CLI and server, because if it is a bug chances are it's already been fixed
Have tried
--token
or setting the env. variable directly, but it didn't help on my endFix is here: https://github.com/coder/coder/pull/4884
GitHub
fix: Use instance identity session token for git subcommands by kyl...
This broke using gitssh with instance identity!
Fixed in v0.12.4. Cheers Kyle!