Closed zimmra closed 1 year ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
Iirc lossless requires the use of the internal 3001 (https) port
Iirc lossless requires the use of the internal 3001 (https) port
I will give it a try later, but if that's the case then why does it work when going direct to the IP (which is where my first screenshot came from) which is https://192.168.2.2:4435 from a remote machine (not directly on the host)
When I test, should I be using 3001 for KASM_PORT
in place of 443 in the port mapping?
@aptalca had an opportunity to test sooner than I though
Entirely new Kasm setup, with KASM_PORT set to 3001 and the option still isn't present when accessing through the reverse proxy
---
version: "2.1"
services:
kasm2:
image: lscr.io/linuxserver/kasm:latest
container_name: kasm2
privileged: true
environment:
- KASM_PORT=3001
volumes:
- /dockercfg/kasm2/config:/opt
- /dockercfg/kasm2/profiles:/profiles #optional
- /dockercfg/kasm2/volumes:/volumes
- /dev/input:/dev/input #optional
- /run/udev/data:/run/udev/data #optional
ports:
- 3066:3000
- 3001:3001
restart: unless-stopped
What address are you putting in the browser to access?
What address are you putting in the browser to access?
It works going direct to my docker host's IP with the port defined in KASM_PORT, https://192.168.2.2:4435 (as well as https://192.168.2.2:3001 on this second 'test' setup I spun up) (github automatically removes https from preview, but they're both https) It does not work going through my reverse proxy, https://kasm.[MYFQDN].io
As detailed in the readme, the outside port needs to match the internal port
Either you set the internal port to 443
and access at https://kasm.[myfqdn].io
or you set it to 4435
and access it at https://kasm.[myfqdn].io:4435
As detailed in the readme, the outside port needs to match the internal port
My setup followed the readme instructions exactly....
Unlike other containers the web interface port (default 443) needs to be set for the env variable KASM_PORT and both the inside and outside port IE for 4443 KASM_PORT=4443 -p 4443:4443
my KASM_PORT, externally mapped port, and container internal port were all set to be the same (normally I would leave the interal port as default and remap to a different one on the host) - it doesn't mention that the reverse proxy port also needs to match this
So with your current suggestion, setup now I setup an additional IP address so that now I have KASM_PORT set to 443, as well as the ports mapped to 443:443 and still the same result.
---
version: "2.1"
services:
kasm2:
image: lscr.io/linuxserver/kasm:latest
container_name: kasm2
privileged: true
environment:
- KASM_PORT=443
- DOCKER_MTU=1500 #optional
volumes:
- /dockercfg/kasm2/config:/opt
- /dockercfg/kasm2/profiles:/profiles #optional
- /dockercfg/kasm2/volumes:/volumes
- /dev/input:/dev/input #optional
- /run/udev/data:/run/udev/data #optional
ports:
- "192.168.2.16:3066:3000"
- "192.168.2.16:443:443"
restart: unless-stopped
Logs inside container within kasm when this is accessed via https://192.168.2.16:443
I made an error in my description here, these were actually the logs when accessed via my FQDN, I have since fixed this
I resolved this by disabling HTTP/2 in Nginx Proxy Manager, lossless works through reverse proxy now
Is there an existing issue for this?
Current Behavior
Under
Streaming Quality
I am able to enable lossless when accessing the workspaceBut when trying to access through reverse proxy (nginx proxy manager, in my case) I am unable to access the option
I have tried this with the container set to bridge networking, as well as host networking, on my server and the result is the same
Steps To Reproduce
Environment
CPU architecture
x86-64
Docker creation
Container logs
Logs do not indicate streaming mode, and do not indicate any errors