linuxserver / docker-kasm

Kasm Workspaces platform provides enterprise-class orchestration, data loss prevention, and web streaming technology to enable the delivery of containerized workloads to your browser.
GNU General Public License v3.0
315 stars 28 forks source link

[BUG] No response from server #58

Closed hexahigh closed 5 months ago

hexahigh commented 5 months ago

Is there an existing issue for this?

Current Behavior

When trying to access the setup ui on port 3000 the server does not send anything. When using curl on the site the response is curl: (52) Empty reply from server.

There is already an issue for this bug, however, it was closed due to inactivity.

Expected Behavior

Going to \<ip>:3000, and configure kasm

Steps To Reproduce

  1. Using the example compose file
  2. Running docker compose up -d
  3. Attempting to access the setup on port 3000

Environment

- OS:
Ubuntu 24.04
- How docker service was installed:
Using the official guide for installing docker engine on ubuntu

CPU architecture

x86-64

Docker creation

docker-compose.yml:

services:
  kasm:
    image: lscr.io/linuxserver/kasm:latest
    container_name: kasm
    privileged: true
    environment:
      - KASM_PORT=8001
#      - DOCKER_MTU=1500 #optional
    volumes:
      - ./data/opt:/opt
      - ./data/profiles:/profiles #optional
    ports:
      - 3000:3000
      - 8001:8001
    restart: unless-stopped

Container logs

kasm  | [migrations] started
kasm  | [migrations] no migrations found
kasm  | usermod: no changes
kasm  | ───────────────────────────────────────
kasm  | 
kasm  |       ██╗     ███████╗██╗ ██████╗
kasm  |       ██║     ██╔════╝██║██╔═══██╗
kasm  |       ██║     ███████╗██║██║   ██║
kasm  |       ██║     ╚════██║██║██║   ██║
kasm  |       ███████╗███████║██║╚██████╔╝
kasm  |       ╚══════╝╚══════╝╚═╝ ╚═════╝
kasm  | 
kasm  |    Brought to you by linuxserver.io
kasm  | ───────────────────────────────────────
kasm  | 
kasm  | To support LSIO projects visit:
kasm  | https://www.linuxserver.io/donate/
kasm  | 
kasm  | ───────────────────────────────────────
kasm  | GID/UID
kasm  | ───────────────────────────────────────
kasm  | 
kasm  | User UID:    911
kasm  | User GID:    911
kasm  | ───────────────────────────────────────
kasm  | 
kasm  | [custom-init] No custom files found, skipping...
kasm  | [ls.io-init] done.
kasm  | time="2024-06-02T18:07:18.544490798Z" level=error msg="failed to initialize a tracing processor \"otlp\"" error="no OpenTelemetry endpoint: skip plugin"
github-actions[bot] commented 5 months ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

maxexcloo commented 5 months ago

@hexahigh am having the same issue - was there a way to fix this?

hexahigh commented 5 months ago

@maxexcloo The setup server runs on https with a self signed certificate. So you need to put https://<ip>:<port> instead of <ip>:<port> in your browser.