<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[can&#x27;t get the webcam to work]]></title><description><![CDATA[<p dir="auto">I’ve tried 3 different webcams, played with resolutions and doesn’t matter what I do, I always get the following message:</p>
<p dir="auto">Webcam.js Error: Could not access webcam:<br />
NotSupportedError: Only secure origins are allowed<br />
(see: <a href="https://goo.gl/Y0ZkNV" target="_blank" rel="noopener noreferrer nofollow ugc">https://goo.gl/Y0ZkNV</a>). NotSupportedError: Only<br />
secure origins are allowed (see: <a href="https://goo.gl/Y0ZkNV" target="_blank" rel="noopener noreferrer nofollow ugc">https://goo.gl/Y0ZkNV</a>).</p>
<p dir="auto">anyone knows by any chance what it means and how to get the webcam to work?</p>
]]></description><link>https://forum.magicmirror.builders/topic/6608/can-t-get-the-webcam-to-work</link><generator>RSS for Node</generator><lastBuildDate>Thu, 21 May 2026 04:04:17 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/6608.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 19 Feb 2018 12:51:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to can&#x27;t get the webcam to work on Tue, 20 Feb 2018 00:32:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xela" aria-label="Profile: xela">@<bdi>xela</bdi></a> That’s a whitelist issue; the <code>ipWhiteList</code> controls which computers can connect to the MM server. <code>address</code> controls what the <code>electron</code> instance connects to.</p>
<p dir="auto"><a href="https://forum.magicmirror.builders/topic/1326/ipwhitelist-howto">Have a look here</a> for <a class="plugin-mentions-user plugin-mentions-a" href="/user/mochman" aria-label="Profile: mochman">@<bdi>mochman</bdi></a>’s <code>ipWhiteList</code> config walkthrough. If you’re on an IPv6 network, it’s not altogether intuitive for those of us who grew accustomed to IPv4.</p>
]]></description><link>https://forum.magicmirror.builders/post/35954</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/35954</guid><dc:creator><![CDATA[ninjabreadman]]></dc:creator><pubDate>Tue, 20 Feb 2018 00:32:17 GMT</pubDate></item><item><title><![CDATA[Reply to can&#x27;t get the webcam to work on Mon, 19 Feb 2018 23:11:07 GMT]]></title><description><![CDATA[<p dir="auto">It works! thank you very much!<br />
but now I can’t connect via remote control…</p>
]]></description><link>https://forum.magicmirror.builders/post/35952</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/35952</guid><dc:creator><![CDATA[xela]]></dc:creator><pubDate>Mon, 19 Feb 2018 23:11:07 GMT</pubDate></item><item><title><![CDATA[Reply to can&#x27;t get the webcam to work on Mon, 19 Feb 2018 14:06:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xela" aria-label="Profile: xela">@<bdi>xela</bdi></a> You’ll want the <code>address</code> to be <code>localhost</code> or <code>127.0.0.1</code>.</p>
<p dir="auto">I don’t know exactly how it’s working with <code>0.0.0.0</code> and reaching the loopback to display the server, but Chromium (and therefore <code>electron</code>) will only allow the camera over <code>http</code> for those addresses.</p>
]]></description><link>https://forum.magicmirror.builders/post/35892</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/35892</guid><dc:creator><![CDATA[ninjabreadman]]></dc:creator><pubDate>Mon, 19 Feb 2018 14:06:11 GMT</pubDate></item><item><title><![CDATA[Reply to can&#x27;t get the webcam to work on Mon, 19 Feb 2018 13:35:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ninjabreadman" aria-label="Profile: ninjabreadman">@<bdi>ninjabreadman</bdi></a> That’s the address in my config:<br />
var config =<br />
{<br />
address: “0.0.0.0”,<br />
electronOptions: {</p>
<pre><code>},
ipWhitelist: [
	"127.0.0.1",
	"::ffff:127.0.0.1",
	"::1",
	"192.168.44.1/24"
],
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/35890</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/35890</guid><dc:creator><![CDATA[xela]]></dc:creator><pubDate>Mon, 19 Feb 2018 13:35:25 GMT</pubDate></item><item><title><![CDATA[Reply to can&#x27;t get the webcam to work on Mon, 19 Feb 2018 13:24:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xela" aria-label="Profile: xela">@<bdi>xela</bdi></a> Apparently this was happening <a href="https://github.com/jhuckaby/webcamjs/issues/112" target="_blank" rel="noopener noreferrer nofollow ugc">when trying to request an image larger than 720px</a> from <code>webcamjs</code>. See the <a href="https://github.com/jhuckaby/webcamjs/blob/master/DOCS.md" target="_blank" rel="noopener noreferrer nofollow ugc">notes here for Chrome and requiring SSL, and exceptions for <code>localhost</code> and <code>127.*.*.*</code></a>. Is the <code>address</code> in your config still <code>localhost</code>?</p>
]]></description><link>https://forum.magicmirror.builders/post/35886</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/35886</guid><dc:creator><![CDATA[ninjabreadman]]></dc:creator><pubDate>Mon, 19 Feb 2018 13:24:49 GMT</pubDate></item></channel></rss>