Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] After kasmvnc enables the microphone, it will be inaccessible once the browser is refreshed #95

Open
1 task done
henry-proj opened this issue Dec 9, 2024 · 1 comment

Comments

@henry-proj
Copy link

henry-proj commented Dec 9, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

  • After kasmvnc enables the microphone, refreshing the browser will not be accessible
enable_microphone - Check the Nginx log in the container and find the 499 status code nginx_499 - Check port 6900, port monitoring is normal telnet_6900 - Restart the service of port 6900 restart_6900 - After the restart is complete, refresh the browser again and you can access it normally

Expected Behavior

No response

Steps To Reproduce

  • Start the container with this command
docker run -d \
  --name=wechat \
  --security-opt seccomp=unconfined `#optional` \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Etc/UTC \
  -e DRINODE=/dev/dri/renderD128 \
  -p 3000:3000 \
  -p 3001:3001 \
  -v /data/docker-data/wechat/data:/config \
  --device /dev/dri:/dev/dri \
  --shm-size="4gb" \
  --restart unless-stopped \
  sassv/wechat:latest
  • Open the ip:3000 port in the browser to access
  • Enable Microphone
  • Refresh your browser

Environment

- OS:
- How docker service was installed:

Docker creation

docker run -d \
  --name=wechat \
  --security-opt seccomp=unconfined `#optional` \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Etc/UTC \
  -e DRINODE=/dev/dri/renderD128 \
  -p 3000:3000 \
  -p 3001:3001 \
  -v /data/docker-data/wechat/data:/config \
  --device /dev/dri:/dev/dri \
  --shm-size="4gb" \
  --restart unless-stopped \
  sassv/wechat:latest

Container logs

[migrations] started
[migrations] no migrations found
───────────────────────────────────────
  _____ __ __ _____ _____ _____ _____
 |     |  |  |   __|_   _|     |     |
 |   --|  |  |__   | | | |  |  | | | |
 |_____|_____|_____| |_| |_____|_|_|_|
       _____ __ __ _ __    ____
      | __  |  |  | |  |  |    \
      | __ -|  |  | |  |__|  |  |
      |_____|_____|_|_____|____/

  Based on images from linuxserver.io
───────────────────────────────────────

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

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

User UID:    1000
User GID:    1000
───────────────────────────────────────
.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+.......+.........+......+..+.+..+............+..........+..+.+...+.....+....+..+.+.....+.........+...+..........+.....+.......+.....+.+...+....................+....+..+.............+..+......+...+....+..+.+.....+.......+......+.....+.+.........+..+...+.+...+...+.........+........+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.+............+..+.+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+..+....+.....+......+..........+.....+.........+.......+..+...+....+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.............+.+..+.+...............+..............+.+......+.....+...+.......+.....+....+...........+..........+...+...+........+......+....+..+.......+............+...+.....+...+...+.......+...+......+.....+....+..............+...+.........+....+..............+...+.........+...+.+............+.....+.............+.....+.......+.....+..................+......+....+..+.........+...+.......+.........+.....+.......+...+.........+...+.........+.....+...+.......+.....+.+..+...+....+...+...........+................+...+.....+..........+...+...+..+...+.+...+..+.+........+...............+.........+......+.+...........+.......+..+...............................+........+......+.........+..........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
**** adding /dev/dri/renderD128 to video group root with id 0 ****
**** The device /dev/dri/renderD128 does not have group read/write permissions, attempting to fix inside the container.If it doesn't work, you can run the following on your docker host: ****
sudo chmod g+rw /dev/dri/renderD128

**** The device /dev/dri/card0 does not have group read/write permissions, attempting to fix inside the container.If it doesn't work, you can run the following on your docker host: ****
sudo chmod g+rw /dev/dri/card0

[custom-init] No custom files found, skipping...
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc KasmVNC 1.3.3 - built Nov 20 2024 19:55:29
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation

[ls.io-init] done.
Obt-Message: Xinerama extension is not present on the server
17
I2024-12-09 03:10:31.585674 instance.cpp:1270] Override Enabled Addons: {}
I2024-12-09 03:10:31.603685 instance.cpp:1271] Override Disabled Addons: {}
I2024-12-09 03:10:31.949126 addonmanager.cpp:191] Loaded addon xcb
I2024-12-09 03:10:32.038635 addonmanager.cpp:191] Loaded addon quickphrase
I2024-12-09 03:10:32.053674 addonmanager.cpp:191] Loaded addon imselector
I2024-12-09 03:10:32.085783 addonmanager.cpp:191] Loaded addon keyboard
I2024-12-09 03:10:32.115393 addonmanager.cpp:191] Loaded addon dbus
I2024-12-09 03:10:32.145378 addonmanager.cpp:191] Loaded addon dbusfrontend
I2024-12-09 03:10:32.330069 addonmanager.cpp:191] Loaded addon fcitx4frontend
I2024-12-09 03:10:32.541944 addonmanager.cpp:191] Loaded addon ibusfrontend
I2024-12-09 03:10:32.664077 addonmanager.cpp:191] Loaded addon xim
E2024-12-09 03:10:32.698919 waylandmodule.cpp:243] Failed to open wayland connection
I2024-12-09 03:10:32.699002 addonmanager.cpp:191] Loaded addon wayland
I2024-12-09 03:10:32.766645 addonmanager.cpp:191] Loaded addon clipboard
I2024-12-09 03:10:32.783568 addonmanager.cpp:191] Loaded addon waylandim
I2024-12-09 03:10:32.861260 addonmanager.cpp:191] Loaded addon unicode
I2024-12-09 03:10:32.932445 addonmanager.cpp:191] Loaded addon pinyinhelper
I2024-12-09 03:10:33.267828 inputmethodmanager.cpp:198] Found 713 input method(s) in addon keyboard
I2024-12-09 03:10:33.329488 addonmanager.cpp:191] Loaded addon kimpanel
I2024-12-09 03:10:33.512804 addonmanager.cpp:191] Loaded addon classicui
I2024-12-09 03:10:33.552731 addonmanager.cpp:191] Loaded addon notificationitem
I2024-12-09 03:10:33.568238 addonmanager.cpp:191] Loaded addon notifications
I2024-12-09 03:10:33.588277 kimpanel.cpp:112] Kimpanel new owner:
I2024-12-09 03:10:34.861360 addonmanager.cpp:191] Loaded addon punctuation
E2024-12-09 03:10:36.826149 pinyin.cpp:708] Failed to load pinyin history: io fail: iostream error
I2024-12-09 03:10:37.349980 addonmanager.cpp:191] Loaded addon pinyin
 2024-12-09 03:10:42,014 [INFO] websocket 0: got client connection from 127.0.0.1
 2024-12-09 03:10:42,041 [PRIO] Connections: accepted: @192.168.20.4_1733713842.15073::websocket
 2024-12-09 03:10:51,311 [PRIO] Connections: closed: @192.168.20.4_1733713842.15073::websocket (Clean disconnection)
Copy link

github-actions bot commented Dec 9, 2024

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Issues
Development

No branches or pull requests

1 participant