<?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[Fetch Failed with multiple instances across multiple modules (multiple config)]]></title><description><![CDATA[<p dir="auto">MM2 in Docker, recently configured multiple instances which were working just fine.</p>
<p dir="auto">However after a restart of the container, on one instance I have various “Error in the  module. Check logs for more details.” (where name is Calendar or Newsfeed).</p>
<p dir="auto">Over time (when refresh is triggered), the newsfeed comes online, and later the weather forecast will show up (it’s stuck at ‘loading…’ for a while.</p>
<p dir="auto">This would be fine except the Calendar doesn’t clear this situation as I guess it doesn’t exactly refresh like the others do.</p>
<p dir="auto">When I first view this instance in a browser, I see the calendar module list the upcoming events just fine, then I see MMM-MonthlyCalendar pop up (as it has), but then the calendar module area fades out and reports this error. I believe it’s on the attempt to broadcast.</p>
<p dir="auto">Message is some flavor of:  TypeError: fetch failed for both modules.</p>
<p dir="auto">For example:</p>
<pre><code>[2024-09-19 16:23:02.804] [ERROR] Calendar Error. Could not fetch calendar:  https://calendar.google.com/calendar/&lt;redacted&gt;.ics TypeError: fetch failed
    at node:internal/deps/undici/undici:12618:11
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
      _finishFlushFlag: 2,
    at runNextTicks (node:internal/process/task_queues:64:3)
    at process.processImmediate (node:internal/timers:447:9) {
  cause: ConnectTimeoutError: Connect Timeout Error
      at onConnectTimeout (node:internal/deps/undici/undici:7760:28)
      at node:internal/deps/undici/undici:7716:50
      _defaultFullFlushFlag: 3,      at Immediate._onImmediate (node:internal/deps/undici/undici:7748:13)

      at process.processImmediate (node:internal/timers:476:21) {
    code: 'UND_ERR_CONNECT_TIMEOUT'
  }
} 
</code></pre>
<p dir="auto">The newsfeed one is similar.</p>
<p dir="auto">Does this have anything to do with two instances of the server running but sharing resources? If I refresh my 2nd instance (which uses the same calendar module config), it works just fine.</p>
<p dir="auto">Help! Not sure what changed…they were coexisting fine.</p>
]]></description><link>https://forum.magicmirror.builders/topic/19003/fetch-failed-with-multiple-instances-across-multiple-modules-multiple-config</link><generator>RSS for Node</generator><lastBuildDate>Thu, 18 Jun 2026 02:20:34 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/19003.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Sep 2024 20:47:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fetch Failed with multiple instances across multiple modules (multiple config) on Fri, 20 Sep 2024 15:50:43 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. That did it!</p>
<p dir="auto">New problem post for how to auto-run both configs on startup (right now I manually start the second one).</p>
]]></description><link>https://forum.magicmirror.builders/post/119931</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119931</guid><dc:creator><![CDATA[WiredRacing]]></dc:creator><pubDate>Fri, 20 Sep 2024 15:50:43 GMT</pubDate></item><item><title><![CDATA[Reply to Fetch Failed with multiple instances across multiple modules (multiple config) on Fri, 20 Sep 2024 13:44:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wiredracing" aria-label="Profile: WiredRacing">@<bdi>WiredRacing</bdi></a> can you upgrade the nodejs  to version 20</p>
]]></description><link>https://forum.magicmirror.builders/post/119925</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119925</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 20 Sep 2024 13:44:07 GMT</pubDate></item><item><title><![CDATA[Reply to Fetch Failed with multiple instances across multiple modules (multiple config) on Fri, 20 Sep 2024 13:38:52 GMT]]></title><description><![CDATA[<pre><code>[2024-09-19 14:43:56.866] [INFO]  System information:
### SYSTEM:   manufacturer: Gigabyte Technology Co., Ltd.; model: Docker Container; raspberry: undefined; virtual: false
### OS:       platform: linux; distro: Debian GNU/Linux; release: 11; arch: x64; kernel: 6.1.64-Unraid
### VERSIONS: electron: undefined; used node: 18.20.2; installed node: 18.20.2; npm: 10.5.0; pm2: 
### OTHER:    timeZone: America/New_York; ELECTRON_ENABLE_GPU: undefined
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/119924</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119924</guid><dc:creator><![CDATA[WiredRacing]]></dc:creator><pubDate>Fri, 20 Sep 2024 13:38:52 GMT</pubDate></item><item><title><![CDATA[Reply to Fetch Failed with multiple instances across multiple modules (multiple config) on Thu, 19 Sep 2024 21:53:49 GMT]]></title><description><![CDATA[<p dir="auto">can you provide the logs of system information?</p>
<p dir="auto">Something like this:</p>
<pre><code class="language-bash">[2024-09-19 21:52:27.750] [INFO]  System information:
### SYSTEM:   manufacturer: Microsoft; model: Docker Container; virtual: true
### OS:       platform: linux; distro: Debian GNU/Linux; release: 12; arch: x64; kernel: 5.15.153.1-microsoft-standard-WSL2
### VERSIONS: electron: undefined; used node: 22.9.0; installed node: 22.9.0; npm: 10.8.3; pm2:
### OTHER:    timeZone: UTC; ELECTRON_ENABLE_GPU: undefined
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/119917</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119917</guid><dc:creator><![CDATA[karsten13]]></dc:creator><pubDate>Thu, 19 Sep 2024 21:53:49 GMT</pubDate></item><item><title><![CDATA[Reply to Fetch Failed with multiple instances across multiple modules (multiple config) on Thu, 19 Sep 2024 21:25:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wiredracing" aria-label="Profile: WiredRacing">@<bdi>WiredRacing</bdi></a> I think the error recovery did not recover</p>
<p dir="auto">restarting the container restarts and it will run fine til it fails… and may recover… or not</p>
]]></description><link>https://forum.magicmirror.builders/post/119916</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/119916</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 19 Sep 2024 21:25:37 GMT</pubDate></item></channel></rss>