Cap desktop hangs when stopping recording both on live and studio
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):
No logs present
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
๐ CodeRabbit Plan Mode
Generate an implementation plan and prompts that you can use with your favorite coding agent.
- [ ] Create Plan
๐ Similar Issues
Possible Duplicates
- ISSUE-1449
Related Issues
- https://github.com/CapSoftware/Cap/issues/1004
- https://github.com/CapSoftware/Cap/issues/903
- https://github.com/CapSoftware/Cap/issues/1449
- https://github.com/CapSoftware/Cap/issues/802
- https://github.com/CapSoftware/Cap/issues/1110
- https://github.com/CapSoftware/Cap/issues/1037
- https://github.com/CapSoftware/Cap/issues/440
๐ค Suggested Assignees
๐งช Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your .coderabbit.yaml:
issue_enrichment:
auto_enrich:
enabled: false
๐ฌ Have feedback or questions? Drop into our discord or schedule a call!
The stop and finalize path has been substantially hardened since this was reported. This specific hang is believed resolved, please re-test on the latest version and open a fresh issue with logs if it still hangs on stop.