Coder envbuilder container starts logging 401 errors when using "Update" option
I am seeing an issue where when I use the "Update" option in the coder dashboard after a template change, the coder process get stuck in this state, where it gets 401 errors trying to talk to the coder agent URL. The issue is resolved by using the "Restart" option instead.
I am using "token" authentication with the coder agent, with config passed to the container for the auth as :
7 Replies
<#1250538421789790271>
Category
Bug report
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
could you send your template over?
I think
CODER_AGENT_URL
might be wrong in your caseThat would make certainly make sense based on the error, though I'm not sure where it might be going wrong, we set that variable as:
File is attached here.
do you use anything like Cloudflare Access or any SSO provider that might gate the API requests?
No, our API is behind a GCP application-layer load balancer, but it doesn't do any auth
GitHub
GitHub - coder/envbuilder: Build development environments from a Do...
Build development environments from a Dockerfile on Docker, Kubernetes, and OpenShift. Enable developers to modify their development environment quickly. - coder/envbuilder
Created one here: https://github.com/coder/envbuilder/issues/262
GitHub
401 error for requests to coder.example.com after "Update" option f...
I am seeing an issue where when I use the "Update" option in the coder dashboard after a template change, the coder process get stuck in this state, where it gets 401 errors trying to tal...