Skip to content

Cap desktop hangs when stopping recording both on live and studio #1466

@Alex12358795

Description

@Alex12358795

Description

Cap desktop hangs when stopping recording both on live and studio, uploading also hangs in our self hosted version

Additional Context

  • Cap version: 0.3.83
  • Operating system, version: Windows 11
  • Device (optional):
Image Image

No logs present

Image

Docker compose:

services:
  cap-web:
    container_name: cap-web
    image: ghcr.io/capsoftware/cap-web:latest
    restart: unless-stopped
    environment:
      DATABASE_URL: 'mysql://root:@ps-mysql:3306/planetscale?ssl={"rejectUnauthorized":false}'
      WEB_URL: ***
      NEXTAUTH_URL: ***
      # CHANGE THESE TO YOUR OWN VALUES
      DATABASE_ENCRYPTION_KEY: ***
      NEXTAUTH_SECRET: ***
      # CHANGE THESE TO MATCH YOUR MINIO or S3 STORAGE SETUP
      CAP_AWS_ACCESS_KEY: capS3root
      CAP_AWS_SECRET_KEY: capS3root
      CAP_AWS_BUCKET: capso
      CAP_AWS_REGION: us-east-1
      S3_PUBLIC_ENDPOINT: http://***:3902
      S3_INTERNAL_ENDPOINT: http://minio:3902
    ports:
      - 3001:3000
    networks:
      - internal-network
      - proxy-network

  ps-mysql:
    container_name: cap-primary-db
    image: mysql:8.0
    restart: unless-stopped
    environment:
      # CHANGE THESE TO YOUR OWN VALUES - BE SURE TO SET A PASSWORD FOR THE ROOT USER
      MYSQL_DATABASE: planetscale
      MYSQL_ROOT_HOST: "%"
      MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
    command:
      [
        "--max_connections=1000",
        "--default-authentication-plugin=mysql_native_password",
      ]
    ports:
      - "3306:3306"
    volumes:
      - ./ps-mysql:/var/lib/mysql
    networks:
      - internal-network

  # Local S3 Strorage
  minio:
    container_name: cap-minio-storage
    image: minio/minio
    command: server /data --console-address ":3903" --address ":3902"
    restart: unless-stopped
    ports:
      - "3902:3902"
      - "3903:3903"
    environment:
      - MINIO_API_PORT_NUMBER=3902
      - MINIO_CONSOLE_PORT_NUMBER=3903
      # CHANGE THESE TO YOUR OWN VALUES
      - MINIO_ROOT_USER=capS3root
      - MINIO_ROOT_PASSWORD=capS3root
    volumes:
      - ./minio-certs:/certs
      - ./minio-data:/data # Fixed path for standard minio image
    networks:
          internal-network:
            aliases:
              - minio # This ensures 'getaddrinfo minio' works
volumes:
  ps-mysql:
  minio-data:
  minio-certs:

networks:
  internal-network:
    external: true
  proxy-network:
    external: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions