8000 feat: custom headers are not passed to all websocket clients · Issue #6520 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content
8000
feat: custom headers are not passed to all websocket clients #6520
Closed
@JoshVee

Description

@JoshVee

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
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0