<?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[CORS Policy Issue - different at electron and remote Chrome Browser]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I have recently integrated the module octomirror-module. This module accesses the API of octoprint, a controller for 3D printers, and displays the status of the same.</p>
<p dir="auto">But now no data is displayed on the mirror in the module.</p>
<p dir="auto"><img src="/assets/uploads/files/1649925139489-magicmirroroctomirrormodulefrommirror.jpg" alt="MagicMirrorOctomirrorModulefromMirror.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">An analysis on the MagicMirror browser showed the following error</p>
<pre><code>Access to XMLHttpRequest at 'http://192.168.178.157:5000/api/files' 0.0.0.0/:1 from origin 'http://0.0.0.8080' has been blocked by CORS policy. The request client is not a secure context and the resource is in more -private address space 'private'.
</code></pre>
<p dir="auto">However, when I call MagicMirror remotely with the Chrome browser, the module data is displayed correctly.</p>
<p dir="auto"><img src="/assets/uploads/files/1649924872578-magicmirroroctomirrormodule.jpg" alt="MagicMirrorOctomirrorModule.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">I’m not a specialist, but it seems that the MagicMirror browser makes the difference here.</p>
<p dir="auto">Is there any way to fix this?</p>
<p dir="auto">Many greetings</p>
<p dir="auto">Sepp</p>
]]></description><link>https://forum.magicmirror.builders/topic/16637/cors-policy-issue-different-at-electron-and-remote-chrome-browser</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 07:20:15 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/16637.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 14 Apr 2022 08:32:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CORS Policy Issue - different at electron and remote Chrome Browser on Fri, 15 Apr 2022 07:45:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a>  wow, thank you a lot. it works now. That was easy …</p>
]]></description><link>https://forum.magicmirror.builders/post/101162</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/101162</guid><dc:creator><![CDATA[spitzlbergerj]]></dc:creator><pubDate>Fri, 15 Apr 2022 07:45:31 GMT</pubDate></item><item><title><![CDATA[Reply to CORS Policy Issue - different at electron and remote Chrome Browser on Thu, 14 Apr 2022 19:14:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/spitzlbergerj" aria-label="Profile: spitzlbergerj">@<bdi>spitzlbergerj</bdi></a></p>
<p dir="auto">you can try the ip-address of the pi in <code>config.js</code> as <code>address:</code> instead of <code>"0.0.0.0"</code>.</p>
]]></description><link>https://forum.magicmirror.builders/post/101157</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/101157</guid><dc:creator><![CDATA[karsten13]]></dc:creator><pubDate>Thu, 14 Apr 2022 19:14:16 GMT</pubDate></item></channel></rss>