Skip to content

[BUG] WebUI keeps losing connection to server #312

@RastaTaz

Description

@RastaTaz

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When deploying docker stack via compose (yml file in git repo, pulled ans deployed by portaainer) and using traefik as HTTP reverse proxy (bringing in TLS), the WebUI keep loosing connection to daemon with the error pop up:

Image

I have no logs in docker nor in the container for this issue and browser just shows error on some rpc URL calls with no HTTP error code, just "net::ERR_CONNECTION_CLOSED"

Image

Expected Behavior

Have a fully fonctional WebUI.

Steps To Reproduce

  1. Deploy using this docker compose (adapt traefik labels to your situation)
  2. Connect to WebUI URL and go to settings using the hamburger menu icon
  3. Click to "Edit Preferences" wait 20-30 seconds: error pop-up should appear

Environment

- OS:Ubuntu 24.04
- How docker service was installed: using the docker-ce packages/repo:

File /etc/apt/sources.list.d/docker.sources :

Enabled: yes
Types: deb
URIs: https://download.docker.com/linux/ubuntu/
Signed-By: /etc/apt/keyrings/docker.asc
Suites: noble
Components: stable

Then "apt install docker-ce"

CPU architecture

x86-64

Docker creation

name: transmission
networks:
  traefik:
    name: traefik
    external: true
services:
  transmission:
    image: lscr.io/linuxserver/transmission:latest
    container_name: transmission
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      #- TRANSMISSION_WEB_HOME= #optional
      #- USER= #optional
      #- PASS= #optional
      #- WHITELIST= #optional
      #- PEERPORT= #optional
      #- HOST_WHITELIST= #optional
    volumes:
      - /docker/transmission/config:/config
      - /docker/transmission/downloads:/downloads
      - /docker/transmission/watch:/watch
    ports:
      #- 9091:9091
      - 51413:51413
      - 51413:51413/udp
    restart: unless-stopped
    labels:
      - traefik.enable=true
      - traefik.http.routers.transmission.entrypoints=websecure
      - traefik.http.routers.transmission.rule=Host(`transmission.yourdomain.fr`)
      - traefik.http.routers.transmission.tls=true
      - traefik.http.services.transmission.loadbalancer.server.port=9091
    networks:
      - traefik

Container logs

[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 4.0.6-r4-ls308
Build-date: 2025-08-26T10:42:59+00:00
───────────────────────────────────────

[custom-init] No custom files found, skipping...
Connection to localhost (127.0.0.1) 9091 port [tcp/*] succeeded!
[ls.io-init] done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions