<?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[Compliments module cannot load remoteFile]]></title><description><![CDATA[<p dir="auto">I have a  <code>compliments.json</code> file on a remote server for the Compliments module loading that.<br />
It worked in the beginning but after changing the language of MM2 from <code>en</code> to <code>zh-cn</code>, compliments cannot load the remote file then.<br />
I have tried:</p>
<ul>
<li>reboot</li>
<li>change back to <code>en</code></li>
<li>reinstall MM2</li>
<li>update <code>npm</code></li>
</ul>
<p dir="auto">but they all didn’t solve the issue.<br />
I also found after that MM2 will be frozen (the clock is not running, the news feed won’t refresh), after launching MM2 for a while.<br />
If put all compliments in the config without using <code>remoteFile</code>, everything works fine.</p>
<pre><code>{
			module: "compliments",
			position: "lower_third",
			config: {
				compliments: {
					remoteFile: "http://remoteServerAddress/compliments.json"
				                          }
			             }
}
</code></pre>
<p dir="auto">And my <code>compliments.json</code>:</p>
<pre><code>{
    "anytime": ["Expelliarmus"]
}
</code></pre>
<p dir="auto">Need some help, thanks!</p>
]]></description><link>https://forum.magicmirror.builders/topic/13778/compliments-module-cannot-load-remotefile</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Jul 2026 20:29:36 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/13778.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 05 Oct 2020 18:02:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Compliments module cannot load remoteFile on Mon, 05 Oct 2020 19:34:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kuqquk" aria-label="Profile: kuqquk">@<bdi>kuqquk</bdi></a> try changing address to “0.0.0.0”, from “localhost”,</p>
]]></description><link>https://forum.magicmirror.builders/post/82910</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/82910</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 05 Oct 2020 19:34:15 GMT</pubDate></item><item><title><![CDATA[Reply to Compliments module cannot load remoteFile on Mon, 05 Oct 2020 19:33:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> Thanks! I found the issue is that,</p>
<p dir="auto">access to XMLHttpRequest at <code>remoteServerAddress</code> from origin ‘<a href="http://localhost:8080" target="_blank" rel="noopener noreferrer nofollow ugc">http://localhost:8080</a>’ has been blocked by cors policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.</p>
<p dir="auto">Trying to figure this now…</p>
]]></description><link>https://forum.magicmirror.builders/post/82909</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/82909</guid><dc:creator><![CDATA[kuqquk]]></dc:creator><pubDate>Mon, 05 Oct 2020 19:33:28 GMT</pubDate></item><item><title><![CDATA[Reply to Compliments module cannot load remoteFile on Mon, 05 Oct 2020 18:22:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kuqquk" aria-label="Profile: kuqquk">@<bdi>kuqquk</bdi></a> open the developers window, ctrl-shift-i on the mirror keyboard,  select the tab labeled console, and scroll up to see any errors…</p>
<p dir="auto">that param is OUTSIDE the compliments:{} file values</p>
<pre><code>{
			module: "compliments",
			position: "lower_third",
			config: {
                                 remoteFile: "http://remoteServerAddress/compliments.json"
			}
}
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/82905</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/82905</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 05 Oct 2020 18:22:51 GMT</pubDate></item></channel></rss>