Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow origin header to be relayed #4559

Merged
merged 1 commit into from Sep 17, 2022
Merged

allow origin header to be relayed #4559

merged 1 commit into from Sep 17, 2022

Conversation

si458
Copy link
Collaborator

@si458 si458 commented Sep 17, 2022

when trying to web relay cockpit it fails to connect to the websocket
because cockpit requires looking at the origin header which is missing because its not relayed

Sep 17 11:48:19 maycocksserver cockpit-ws[44754]: received request without Origin
Sep 17 11:48:19 maycocksserver cockpit-ws[44754]: Received invalid handshake request from the client

example for apache below
https://github.com/cockpit-project/cockpit/wiki/Proxying-Cockpit-over-Apache-with-LetsEncrypt#set-up-apache-reverse-proxy-in-a-subdomain

@Ylianst Ylianst merged commit 7c31245 into Ylianst:master Sep 17, 2022
@si458 si458 deleted the patch-4 branch September 17, 2022 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants