Skip to content

Socket.IO connection error: Error: websocket error on version v0.50.6 #3318

@Rufmord

Description

@Rufmord

Describe the bug
After installation if I access the basic main page the following errors are shown in the web console.
Chromium

WebSocket connection to wss://changedetection.domain.tld/socket.io/?EIO=4&transport=websocket failed

Firefox

Socket.IO connection error: Error: websocket error
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    onerror https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    l https://changedetection.domain.tld/static/js/socket.io.min.js:6
    exports https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    r https://changedetection.domain.tld/static/js/socket.io.min.js:6
    setTimeout handler*value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    r https://changedetection.domain.tld/static/js/socket.io.min.js:6
    s https://changedetection.domain.tld/static/js/socket.io.min.js:6
    emit https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    emit https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    onerror https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    l https://changedetection.domain.tld/static/js/socket.io.min.js:6
    exports https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    r https://changedetection.domain.tld/static/js/socket.io.min.js:6
    setTimeout handler*value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    r https://changedetection.domain.tld/static/js/socket.io.min.js:6
    s https://changedetection.domain.tld/static/js/socket.io.min.js:6
    emit https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    emit https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    onerror https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    l https://changedetection.domain.tld/static/js/socket.io.min.js:6
    exports https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    r https://changedetection.domain.tld/static/js/socket.io.min.js:6
    setTimeout handler*value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    r https://changedetection.domain.tld/static/js/socket.io.min.js:6
    s https://changedetection.domain.tld/static/js/socket.io.min.js:6
    emit https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    emit https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    onerror https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
    value https://changedetection.domain.tld/static/js/socket.io.min.js:6
realtime.js:65:25

Version
Exact version Version: v0.50.6

How did you install?
Docker Compose Stack

services:
  changedetection:
    image: dgtlmoon/changedetection.io
    container_name: changedetection
    volumes:
      -  $DOCKERDIR/apps/changedetection:/datastore
    environment:
      BASE_URL: https://changedetection.$DOMAIN
      PLAYWRIGHT_DRIVER_URL: ws://browser-sockpuppet-chrome:3000
    restart: always
    networks:
      - default
      - authentik
    depends_on:
      browser-sockpuppet-chrome:
        condition: service_started

  browser-sockpuppet-chrome:
    hostname: browser-sockpuppet-chrome
    image: dgtlmoon/sockpuppetbrowser:latest
    container_name: browser-sockpuppet-chrome
    restart: unless-stopped
    environment:
      SCREEN_WIDTH: 1920
      SCREEN_HEIGHT: 1080
      SCREEN_DEPTH: 16
      ENABLE_DEBUGGER: false
      PREBOOT_CHROME: true
      CONNECTION_TIMEOUT: 300000
      MAX_CONCURRENT_SESSIONS: 10
      CHROME_REFRESH_TIME: 600000
      DEFAULT_BLOCK_ADS: true
      DEFAULT_STEALTH: true
      DEFAULT_IGNORE_HTTPS_ERRORS: true
    deploy:
      resources:
        limits:
          memory: 690m
    
networks:
  authentik:
    name: authentik-net
    external: true

Authentik is here only a proxy, the error also occurs if I use it direct behind the Traefik reverse proxy.

To Reproduce
Change the authentik part in the stack with traefik or any other reverse proxy docker network. Or just delete the network part.

Desktop (please complete the following information):

  • OS: Garuda Linux
  • Browser Chromium and Firefox
  • Version 138.0.7204.96 and 140.0.4 (64-Bit)

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions