<?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[Analytics - Location not applicable because of local ip]]></title><description><![CDATA[<p dir="auto">Maybe it's just me. The analytics dashboard location is empty. The hints are pointing towards a local IP address instead of the listener's IP. Is there a way to "redirect" the listener's IP address to Castopod?</p>
<p dir="auto"><img src="/assets/uploads/files/1733234910941-d3b520c5-f2f9-4529-b151-cf9233b0683c-image-resized.png" alt="d3b520c5-f2f9-4529-b151-cf9233b0683c-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/topic/12882/analytics-location-not-applicable-because-of-local-ip</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 03:46:39 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/12882.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Dec 2024 14:11:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Analytics - Location not applicable because of local ip on Tue, 03 Dec 2024 16:53:33 GMT]]></title><description><![CDATA[<p dir="auto">So the fix is to add <code>app.proxyIPs.0="172.18.0.0/16"</code> to the env file, will be part of next package release.</p>
]]></description><link>https://forum.cloudron.io/post/97677</link><guid isPermaLink="true">https://forum.cloudron.io/post/97677</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Tue, 03 Dec 2024 16:53:33 GMT</pubDate></item><item><title><![CDATA[Reply to Analytics - Location not applicable because of local ip on Tue, 03 Dec 2024 18:09:47 GMT]]></title><description><![CDATA[<p dir="auto">yes, you have add more newlines in the <code>env</code> file in the end. I have fixed the package so this isn't required with next version.</p>
]]></description><link>https://forum.cloudron.io/post/97687</link><guid isPermaLink="true">https://forum.cloudron.io/post/97687</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Tue, 03 Dec 2024 18:09:47 GMT</pubDate></item><item><title><![CDATA[Reply to Analytics - Location not applicable because of local ip on Tue, 03 Dec 2024 18:08:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> nope.<br />
You are right: with this addition the app starts instead of throwing php errors. But:<br />
As soon as you click on a podcast link on the start page, you are redirected to <a href="https://localhost:8080/" target="_blank" rel="noopener noreferrer nofollow ugc">https://localhost:8080/</a>.<br />
It feels like the magic sauce is missing.</p>
]]></description><link>https://forum.cloudron.io/post/97686</link><guid isPermaLink="true">https://forum.cloudron.io/post/97686</guid><dc:creator><![CDATA[luckow]]></dc:creator><pubDate>Tue, 03 Dec 2024 18:08:32 GMT</pubDate></item><item><title><![CDATA[Reply to Analytics - Location not applicable because of local ip on Tue, 03 Dec 2024 16:53:33 GMT]]></title><description><![CDATA[<p dir="auto">So the fix is to add <code>app.proxyIPs.0="172.18.0.0/16"</code> to the env file, will be part of next package release.</p>
]]></description><link>https://forum.cloudron.io/post/97677</link><guid isPermaLink="true">https://forum.cloudron.io/post/97677</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Tue, 03 Dec 2024 16:53:33 GMT</pubDate></item><item><title><![CDATA[Reply to Analytics - Location not applicable because of local ip on Tue, 03 Dec 2024 15:17:38 GMT]]></title><description><![CDATA[<p dir="auto">right, found this now, thanks</p>
]]></description><link>https://forum.cloudron.io/post/97668</link><guid isPermaLink="true">https://forum.cloudron.io/post/97668</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Tue, 03 Dec 2024 15:17:38 GMT</pubDate></item><item><title><![CDATA[Reply to Analytics - Location not applicable because of local ip on Tue, 03 Dec 2024 15:16:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> You need to have one podcast.<br />
(admin) home -&gt; podcasts -&gt; all podcasts -&gt; choose one<br />
podcast dashboard -&gt; analytics -&gt; locations</p>
<p dir="auto"><img src="/assets/uploads/files/1733238920648-1c4e237d-3179-4b7c-9179-e373bd4907e8-image.png" alt="1c4e237d-3179-4b7c-9179-e373bd4907e8-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/97667</link><guid isPermaLink="true">https://forum.cloudron.io/post/97667</guid><dc:creator><![CDATA[luckow]]></dc:creator><pubDate>Tue, 03 Dec 2024 15:16:38 GMT</pubDate></item><item><title><![CDATA[Reply to Analytics - Location not applicable because of local ip on Tue, 03 Dec 2024 15:13:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> <code>Whoops</code></p>
<pre><code>Dec 03 16:12:40 - [Tue Dec 03 15:12:40.539273 2024] [php:error] [pid 24] [client 172.18.0.1:53960] PHP Fatal error: Uncaught CodeIgniter\\Exceptions\\ConfigException: You must set an array with Proxy IP address key and HTTP header name value in Config\\App::$proxyIPs. in /app/code/vendor/codeigniter4/framework/system/HTTP/RequestTrait.php:74\nStack trace:\n#0 /app/code/vendor/codeigniter4/framework/system/Config/Services.php(697): CodeIgniter\\HTTP\\Request-&gt;getIPAddress()\n#1 /app/code/vendor/codeigniter4/framework/system/Config/BaseService.php(312): CodeIgniter\\Config\\Services::session()\n#2 /app/code/vendor/codeigniter4/framework/system/Config/BaseService.php(251): CodeIgniter\\Config\\BaseService::__callStatic()\n#3 /app/code/vendor/codeigniter4/framework/system/Config/Services.php(668): CodeIgniter\\Config\\BaseService::getSharedInstance()\n#4 /app/code/vendor/codeigniter4/framework/system/Config/BaseService.php(312): CodeIgniter\\Config\\Services::session()\n#5 /app/code/vendor/codeigniter4/framework/system/Config/BaseService.php(202): CodeIgniter\\Config\\BaseService::__callStatic()\n#6 /app/code/vendor/codeigniter4/framework/system/Common.php(998): CodeIgniter\\Config\\BaseService::get()\n#7 /app/code/vendor/codeigniter4/framework/system/Common.php(971): service()\n#8 /app/code/vendor/codeigniter4/shield/src/Authentication/Authenticators/Session.php(685): session()\n#9 /app/code/vendor/codeigniter4/shield/src/Authentication/Authenticators/Session.php(703): CodeIgniter\\Shield\\Authentication\\Authenticators\\Session-&gt;getSessionUserInfo()\n#10 /app/code/vendor/codeigniter4/shield/src/Authentication/Authenticators/Session.php(390): CodeIgniter\\Shield\\Authentication\\Authenticators\\Session-&gt;getSessionUserKey()\n#11 /app/code/vendor/codeigniter4/shield/src/Authentication/Authenticators/Session.php(374): CodeIgniter\\Shield\\Authentication\\Authenticators\\Session-&gt;checkUserState()\n#12 /app/code/vendor/codeigniter4/shield/src/Auth.php(191): CodeIgniter\\Shield\\Authentication\\Authenticators\\Session-&gt;loggedIn()\n#13 /app/code/app/Views/errors/html/production.php(13): CodeIgniter\\Shield\\Auth-&gt;__call()\n#14 /app/code/vendor/codeigniter4/framework/system/Debug/BaseExceptionHandler.php(266): include('...')\n#15 /app/code/vendor/codeigniter4/framework/system/Debug/BaseExceptionHandler.php(269): CodeIgniter\\Debug\\BaseExceptionHandler-&gt;CodeIgniter\\Debug\\{closure}()\n#16 /app/code/vendor/codeigniter4/framework/system/Debug/ExceptionHandler.php(114): CodeIgniter\\Debug\\BaseExceptionHandler-&gt;render()\n#17 /app/code/vendor/codeigniter4/framework/system/Debug/Exceptions.php(163): CodeIgniter\\Debug\\ExceptionHandler-&gt;handle()\n#18 [internal function]: CodeIgniter\\Debug\\Exceptions-&gt;exceptionHandler()\n#19 {main}\n thrown in /app/code/vendor/codeigniter4/framework/system/HTTP/RequestTrait.php on line 74
Dec 03 16:12:40 - [Tue Dec 03 15:12:40.539541 2024] [php:error] [pid 24] [client 172.18.0.1:53960] PHP Fatal error: Uncaught CodeIgniter\\Exceptions\\ConfigException: You must set an array with Proxy IP address key and HTTP header name value in Config\\App::$proxyIPs. in /app/code/vendor/codeigniter4/framework/system/HTTP/RequestTrait.php:74\nStack trace:\n#0 /app/code/vendor/codeigniter4/framework/system/Config/Services.php(697): CodeIgniter\\HTTP\\Request-&gt;getIPAddress()\n#1 /app/code/vendor/codeigniter4/framework/system/Config/BaseService.php(312): CodeIgniter\\Config\\Services::session()\n#2 /app/code/vendor/codeigniter4/framework/system/Config/BaseService.php(251): CodeIgniter\\Config\\BaseService::__callStatic()\n#3 /app/code/vendor/codeigniter4/framework/system/Config/Services.php(668): CodeIgniter\\Config\\BaseService::getSharedInstance()\n#4 /app/code/vendor/codeigniter4/framework/system/Config/BaseService.php(312): CodeIgniter\\Config\\Services::session()\n#5 /app/code/vendor/codeigniter4/framework/system/Config/BaseService.php(202): CodeIgniter\\Config\\BaseService::__callStatic()\n#6 /app/code/vendor/codeigniter4/framework/system/Common.php(998): CodeIgniter\\Config\\BaseService::get()\n#7 /app/code/vendor/codeigniter4/framework/system/Common.php(971): service()\n#8 /app/code/vendor/codeigniter4/shield/src/Authentication/Authenticators/Session.php(685): session()\n#9 /app/code/vendor/codeigniter4/shield/src/Authentication/Authenticators/Session.php(703): CodeIgniter\\Shield\\Authentication\\Authenticators\\Session-&gt;getSessionUserInfo()\n#10 /app/code/vendor/codeigniter4/shield/src/Authentication/Authenticators/Session.php(390): CodeIgniter\\Shield\\Authentication\\Authenticators\\Session-&gt;getSessionUserKey()\n#11 /app/code/vendor/codeigniter4/shield/src/Authentication/Authenticators/Session.php(374): CodeIgniter\\Shield\\Authentication\\Authenticators\\Session-&gt;checkUserState()\n#12 /app/code/vendor/codeigniter4/shield/src/Auth.php(191): CodeIgniter\\Shield\\Authentication\\Authenticators\\Session-&gt;loggedIn()\n#13 /app/code/app/Views/errors/html/production.php(13): CodeIgniter\\Shield\\Auth-&gt;__call()\n#14 /app/code/vendor/codeigniter4/framework/system/Debug/BaseExceptionHandler.php(266): include('...')\n#15 /app/code/vendor/codeigniter4/framework/system/Debug/BaseExceptionHandler.php(269): CodeIgniter\\Debug\\BaseExceptionHandler-&gt;CodeIgniter\\Debug\\{closure}()\n#16 /app/code/vendor/codeigniter4/framework/system/Debug/ExceptionHandler.php(114): CodeIgniter\\Debug\\BaseExceptionHandler-&gt;render()\n#17 /app/code/vendor/codeigniter4/framework/system/Debug/Exceptions.php(163): CodeIgniter\\Debug\\ExceptionHandler-&gt;handle()\n#18 /app/code/vendor/codeigniter4/framework/system/Debug/Exceptions.php(252): CodeIgniter\\Debug\\Exceptions-&gt;exceptionHandler()\n#19 [internal function]: CodeIgniter\\Debug\\Exceptions-&gt;shutdownHandler()\n#20 {main}\n thrown in /app/code/vendor/codeigniter4/framework/system/HTTP/RequestTrait.php on line 74
</code></pre>
]]></description><link>https://forum.cloudron.io/post/97666</link><guid isPermaLink="true">https://forum.cloudron.io/post/97666</guid><dc:creator><![CDATA[luckow]]></dc:creator><pubDate>Tue, 03 Dec 2024 15:13:36 GMT</pubDate></item><item><title><![CDATA[Reply to Analytics - Location not applicable because of local ip on Tue, 03 Dec 2024 14:39:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/luckow" aria-label="Profile: luckow">@<bdi>luckow</bdi></a> where is that analytics page in the app? I can't seem to find that to test a fix.</p>
<p dir="auto">You could also put <code>app.proxyIPs="172.18.0.1"</code> into <code>/app/data/env</code> and restart the app to see if this fixes it</p>
]]></description><link>https://forum.cloudron.io/post/97663</link><guid isPermaLink="true">https://forum.cloudron.io/post/97663</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Tue, 03 Dec 2024 14:39:29 GMT</pubDate></item><item><title><![CDATA[Reply to Analytics - Location not applicable because of local ip on Tue, 03 Dec 2024 14:19:58 GMT]]></title><description><![CDATA[<p dir="auto">Looks like we have to set <code>proxyIPs</code> as mentioned in <a href="https://code.castopod.org/adaures/castopod/-/blob/develop/app/Config/App.php#L179" target="_blank" rel="noopener noreferrer nofollow ugc">https://code.castopod.org/adaures/castopod/-/blob/develop/app/Config/App.php#L179</a></p>
]]></description><link>https://forum.cloudron.io/post/97659</link><guid isPermaLink="true">https://forum.cloudron.io/post/97659</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Tue, 03 Dec 2024 14:19:58 GMT</pubDate></item><item><title><![CDATA[Reply to Analytics - Location not applicable because of local ip on Tue, 03 Dec 2024 14:15:32 GMT]]></title><description><![CDATA[<p dir="auto">without further investigation, maybe the app needs support for reverse proxy <code>X-Forwarded-For</code> header</p>
]]></description><link>https://forum.cloudron.io/post/97657</link><guid isPermaLink="true">https://forum.cloudron.io/post/97657</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Tue, 03 Dec 2024 14:15:32 GMT</pubDate></item></channel></rss>