......
[websocket_proxy]
base_url = ws://[ip address of your zun-wsproxy]:6784/
allowed_origins = '[ip address of your horizon]'
wsproxy_host = [ip address of your zun-wsproxy]
wsproxy_port = 6784
......
After editing this, restart services zun-api, zun-compute and zun-wsproxy.
Here is my zun settings to use websocket for cloud shell.
* /lib/systemd/ system/ docker. service
[Service] /usr/bin/ dockerd -H unix:// /var/run/ docker. sock -H tcp://0.0.0.0:2375 --group stack
.....
ExecStart=
.....
After editing this, reload and restart docker.
* /etc/zun/zun.conf
......
[websocket_proxy]
base_url = ws://[ip address of your zun-wsproxy]:6784/
allowed_origins = '[ip address of your horizon]'
wsproxy_host = [ip address of your zun-wsproxy]
wsproxy_port = 6784
......
After editing this, restart services zun-api, zun-compute and zun-wsproxy.
I hope this helps you. Thanks.