You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cameras are not found for any device on which I run the UI.
I'm running zwavejs in a container (docker.io/zwavejs/zwave-js-ui:latest) on a remote (LAN) server. I'm accessing the UI directly via exposing port 8091; SSL is disabled. I've tried Firefox and luakit (WebKit) on a Linux laptop, and Firefox on an Android phone. In all cases, no camera is found, and the JS console reports:
[QrReader] Error: No available camera found
initialize http://media.lan:8091/assets/QrReader-bfce9e2b.js:1
[index-822e6be1.js:59:1869](http://media.lan:8091/assets/index-822e6be1.js)
d http://media.lan:8091/assets/index-822e6be1.js:59
createDefaultHandler http://media.lan:8091/assets/index-822e6be1.js:59
invoke http://media.lan:8091/assets/index-822e6be1.js:59
error http://media.lan:8091/assets/index-822e6be1.js:59
initialize http://media.lan:8091/assets/QrReader-bfce9e2b.js:1
I do not get a camera access pop-up from Firefox, and there is no rule denying access to the site in the prefs. The camera is available to other web apps (e.g. meet.jit.si).
I'm certain this is user error in how I'm running the container, or something; I'm at a loss on how to proceed. I've found no tickets that seem similar, and web search engines turn up no results.
If I port forward over ssh and access the web page through the forward, it does work; on my phone (with termux):
ssh -L 8091:localhost:8091
and then access http://localhost:8091 on my phone, the camera is found and I can scan QR codes. It's only accessed remotely that fails. The only thing I can think of is a firewall interference; port 8091 is open, and for good measure I tried opening the API port (3030, mapped to port 3000 in the container), but exposing the API port didn't help.
Any ideas?
The text was updated successfully, but these errors were encountered:
Cameras are not found for any device on which I run the UI.
I'm running zwavejs in a container (docker.io/zwavejs/zwave-js-ui:latest) on a remote (LAN) server. I'm accessing the UI directly via exposing port 8091; SSL is disabled. I've tried Firefox and luakit (WebKit) on a Linux laptop, and Firefox on an Android phone. In all cases, no camera is found, and the JS console reports:
I do not get a camera access pop-up from Firefox, and there is no rule denying access to the site in the prefs. The camera is available to other web apps (e.g. meet.jit.si).
I'm certain this is user error in how I'm running the container, or something; I'm at a loss on how to proceed. I've found no tickets that seem similar, and web search engines turn up no results.
If I port forward over ssh and access the web page through the forward, it does work; on my phone (with termux):
and then access
http://localhost:8091
on my phone, the camera is found and I can scan QR codes. It's only accessed remotely that fails. The only thing I can think of is a firewall interference; port 8091 is open, and for good measure I tried opening the API port (3030, mapped to port 3000 in the container), but exposing the API port didn't help.Any ideas?
The text was updated successfully, but these errors were encountered: