Closed
Description
When passing custom headers to the Coder CLI (via --header
\ $CODER_HEADER
), these are not currently getting passed to all websocket connections. This can result in issues, for example, if a custom header is required for authentication.
Example:
➜ coder git:(master) coder templates push mytesttemplate -d templates/aws-linux
> Upload "templates/aws-linux"? (yes/no) yes
✔ Queued [45ms]
⧗ Running
unexpected non-JSON response "text/html".
begin streaming logs: unexpected status code 200: unexpected non-JSON response "text/html"
Error: <!DOCTYPE html>
Metadata
Metadata
Assignees
Labels
No labels