QtSingleCoreApplication: listen on local socket failed, QLocalServer::listen: Unknown error 22

I get this error when my container fires up… QtSingleCoreApplication: listen on local socket failed, QLocalServer::listen: Unknown error 22

Please could you provide the following information so we can help with supporting your issue:

OS/docker info (ex: Ubuntu 20.04, Docker 20.10)
Hardware (ex: Dell R730, VM, Raspberry Pi 3b, Synology DS916+)
Docker command or compose snippet
Container logs (Please use hastebin to post these)
Describe the issue you’re having with the container.

Mind the #rules and remember this server supports the containers, not the apps inside (they have their own support).

I am having the same issue with Docker for Mac 4.14.0 on Ventura. on a Mac Studio

---
version: "2.1"
services:
  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent:latest
    container_name: qbittorrent
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=US/Central
      - WEBUI_PORT=8080
    volumes:
      - /Users/dougacker/qb:/config
      - /Volumes/Data2/Download:/downloads
      - /Volumes/tmp:/torrents
      - /Volumes/qbit:/qbit
    ports:
      - 8080:8080
      - 6881:6881
      - 6881:6881/udp
      - 47316:47316
      - 47316:47316/udp
    restart: unless-stopped

I get no network connection.  -- my container worked fine on 4.12.0

2-11-15 07:07:43 Brought to you by linuxserver.io
2022-11-15 07:07:43 -------------------------------------
2022-11-15 07:07:43 
2022-11-15 07:07:43 To support LSIO projects visit:
2022-11-15 07:07:43 https://www.linuxserver.io/donate/
2022-11-15 07:07:43 -------------------------------------
2022-11-15 07:07:43 GID/UID
2022-11-15 07:07:43 -------------------------------------
2022-11-15 07:07:43 
2022-11-15 07:07:43 User uid:    1000
2022-11-15 07:07:43 User gid:    1000
2022-11-15 07:07:43 -------------------------------------
2022-11-15 07:07:43 
2022-11-15 07:22:45 [custom-init] No custom files found, skipping...
2022-11-15 07:22:45 
2022-11-15 07:22:45 ******** Information ********
2022-11-15 07:22:45 To control qBittorrent, access the WebUI at: http://localhost:8080
2022-11-15 07:22:46 [ls.io-init] done.
2022-11-15 07:22:45 QtSingleCoreApplication: listen on local socket failed, QLocalServer::listen: Unknown error 22

I also have this exact same issue. Not related to port availability as I’ve changed it to 8069 and it still fails

OS/docker info: Windows 11 22H2, WSL2 Ubuntu 22.04, Docker v20.10.21
Hardware: AMD 3700X, 16GB DDR4
Container logs: Hastebin: Send and Save Text or Code Snippets for Free | Toptal®

version: "3.7"

services:
  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent:latest
    container_name: qbittorrent
    environment:
      - PUID=1000 
      - PGID=1000
      - UMASK=002
      - TZ=Europe/London
      - WEBUI_PORT=8069
    volumes:
      - "./config/qBittorrent:/config/qBittorrent"
      - "$DOWNLOADS_DIR:/downloads"
    network_mode: "service:gluetun"
    restart: unless-stopped
    labels:
      traefik.enable: true
      traefik.http.routers.qbittorrent.rule: Host(`qbittorrent.${LOCAL_HOSTNAME}`)
      traefik.http.routers.qbittorrent.entrypoints: web
      traefik.http.services.qbittorrent.loadbalancer.server.port: 8069

Unfortunately for both of you, we do not test or support docker on windows or on mac.

However, since neither of you mentioned, does the error actually cause a problem? If so, what is the problem?

Ah that’s a bugger, thought it was a bit of a long shot tbf.

Unfortunately the Daemon fails to start up. qBittorrent actually doesn’t output any logs directly and if I delete the BT_Backup / RSS folders they are not recreated.

I’m going to have a bit more of play with it and see if I can resolve the issues, I’ve managed to get it to work but I’m not sure how and usually it’s the 2nd boot where the issues arise.

At least in your case you’re using wsl2… if it were going to work, wsl2 would be the way.

Yeah fortunately I’m only really testing it on my windows machine to make sure I’ve got the configuration right.

It’ll eventually be dumped on to a Linux machine of some description. Really wish I didn’t have to use windows at all