<?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[Calendar Module Error "Exceeded maxRedirects. Probably stuck in a redirect loop"]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">I’m trying to fetch this calender in the default calendar module:</p>
<p dir="auto"><a href="http://weboffice.orf.at/owa/calendar/4820fc8ddfc0468cbe426b3e08c330b8@orf.at/b5842d9f817246008d95c9f8360a1dbe10919048264267524527/calendar.ics" target="_blank" rel="noopener noreferrer nofollow ugc">http://weboffice.orf.at/owa/calendar/4820fc8ddfc0468cbe426b3e08c330b8@orf.at/b5842d9f817246008d95c9f8360a1dbe10919048264267524527/calendar.ics</a></p>
<p dir="auto">This gives me the following error:</p>
<pre><code>(node:22123) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 pipe listeners added. Use emitter.setMaxListeners() to increase limit
Calendar Error. Could not fetch calendar:  http://weboffice.orf.at/owa/calendar/4820fc8ddfc0468cbe426b3e08c330b8@orf.at/b5842d9f817246008d95c9f8360a1dbe10919048264267524527/calendar.ics Error: Exceeded maxRedirects. Probably stuck in a redirect loop https://weboffice.orf.at/my.policy
    at Redirect.onResponse (/home/pi/MagicMirror/modules/node_modules/request/lib/redirect.js:98:27)
    at Request.onRequestResponse (/home/pi/MagicMirror/modules/node_modules/request/request.js:993:22)
    at ClientRequest.emit (events.js:182:13)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:546:21)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17)
    at TLSSocket.socketOnData (_http_client.js:432:20)
    at TLSSocket.emit (events.js:182:13)
    at addChunk (_stream_readable.js:279:12)
    at readableAddChunk (_stream_readable.js:264:11)
    at TLSSocket.Readable.push (_stream_readable.js:219:10)
</code></pre>
<p dir="auto">I googled a possible solution, which is to add</p>
<pre><code>require('events').EventEmitter.defaultMaxListeners = 15;
</code></pre>
<p dir="auto">somewhere. But I don’t know where. Changing the Node Module Files is probably not best practise…</p>
<p dir="auto">Thanks for help!</p>
]]></description><link>https://forum.magicmirror.builders/topic/11566/calendar-module-error-exceeded-maxredirects-probably-stuck-in-a-redirect-loop</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Jul 2026 00:38:33 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/11566.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 10 Nov 2019 18:43:25 GMT</pubDate><ttl>60</ttl></channel></rss>