Websocket in zun-ui gives "handler exception: Origin header does not match this host"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zun |
New
|
Undecided
|
Unassigned |
Bug Description
By following the install instructions of zun's install guide, the configuration of the websocket proxy in zun.conf on the controller is something like this :
[websocket_proxy]
...
wsproxy_host = 10.0.0.11
wsproxy_port = 6784
base_url = ws://controller
"controller.
But with this configuration, the console in zun-ui is "OPEN" but nothing gets ever printed.
Looking at the logs of zun-wsproxy we can see the request made by zun-ui followed by the error : "handler exception: Origin header does not match this host".
Adding "allowed_origins = controller" to websocket_proxy in zun.conf resolves the issue.
"allowed_origins" wans't mentioned in the documentation, maybe it should be or is there another way to avoid this issue ?
This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes:
- [ ] This doc is inaccurate in this way: ______
- [x] This is a doc addition request.
- [ ] I have a fix to the document that I can paste below including example: input and output.
If you have a troubleshooting or support issue, use the following resources:
- The mailing list: https:/
- IRC: 'openstack' channel on OFTC
-------
Release: 8.0.0.0rc2.dev2 on 2020-04-22 00:44:46
SHA: 3784d99f0cd27a7
Source: https:/
URL: https:/
Hey! Same here