<?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[502 Error on some websites]]></title><description><![CDATA[<p dir="auto">Not sure what's up, tried it on the demo server as well.</p>
<ul>
<li><a href="http://downloader.demo.cloudron.io" target="_blank" rel="noopener noreferrer nofollow ugc">downloader.demo.cloudron.io</a> -&gt; <a href="https://downloader.la" target="_blank" rel="noopener noreferrer nofollow ugc">https://downloader.la</a> 502</li>
<li><a href="http://downloader.demo.cloudron.io" target="_blank" rel="noopener noreferrer nofollow ugc">downloader.demo.cloudron.io</a> -&gt; <a href="https://downloader.at" target="_blank" rel="noopener noreferrer nofollow ugc">https://downloader.at</a> 502</li>
<li><a href="http://downloader.demo.cloudron.io" target="_blank" rel="noopener noreferrer nofollow ugc">downloader.demo.cloudron.io</a> -&gt; <a href="https://getpaidstock.com" target="_blank" rel="noopener noreferrer nofollow ugc">https://getpaidstock.com</a> 502</li>
</ul>
]]></description><link>https://forum.cloudron.io/topic/10537/502-error-on-some-websites</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 11:02:11 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/10537.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 27 Nov 2023 20:50:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 502 Error on some websites on Thu, 30 Nov 2023 17:08:16 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> test, as in previous testing proxying across cloudrons, and to other search engines worked just fine, and these tools sites, didn't.</p>
]]></description><link>https://forum.cloudron.io/post/78541</link><guid isPermaLink="true">https://forum.cloudron.io/post/78541</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Thu, 30 Nov 2023 17:08:16 GMT</pubDate></item><item><title><![CDATA[Reply to 502 Error on some websites on Thu, 30 Nov 2023 13:26:40 GMT]]></title><description><![CDATA[<p dir="auto">Added a note in docs.</p>
]]></description><link>https://forum.cloudron.io/post/78518</link><guid isPermaLink="true">https://forum.cloudron.io/post/78518</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 30 Nov 2023 13:26:40 GMT</pubDate></item><item><title><![CDATA[Reply to 502 Error on some websites on Thu, 30 Nov 2023 10:52:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robi" aria-label="Profile: robi">@<bdi>robi</bdi></a> just for my understanding, did you have a specific use-case for this or was it more like a test?</p>
]]></description><link>https://forum.cloudron.io/post/78506</link><guid isPermaLink="true">https://forum.cloudron.io/post/78506</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Thu, 30 Nov 2023 10:52:11 GMT</pubDate></item><item><title><![CDATA[Reply to 502 Error on some websites on Thu, 30 Nov 2023 07:46:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> ok, then it stays as it is. Add a note in the docs?</p>
]]></description><link>https://forum.cloudron.io/post/78499</link><guid isPermaLink="true">https://forum.cloudron.io/post/78499</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Thu, 30 Nov 2023 07:46:36 GMT</pubDate></item><item><title><![CDATA[Reply to 502 Error on some websites on Thu, 30 Nov 2023 07:23:21 GMT]]></title><description><![CDATA[<p dir="auto">I remember trying to play around with this long ago. Issue was some apps respond with 502 and an error page. We want the error page to pass through in that case. I didn't find a way to distinguish "cannot contact upstream" vs "upstream caused 502" and give different error pages.</p>
]]></description><link>https://forum.cloudron.io/post/78498</link><guid isPermaLink="true">https://forum.cloudron.io/post/78498</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 30 Nov 2023 07:23:21 GMT</pubDate></item><item><title><![CDATA[Reply to 502 Error on some websites on Wed, 29 Nov 2023 17:15:00 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> random.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> would it be best to serve a custom error message to that effect? Reveal the mystery, so to speak.</p>
]]></description><link>https://forum.cloudron.io/post/78469</link><guid isPermaLink="true">https://forum.cloudron.io/post/78469</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Wed, 29 Nov 2023 17:15:00 GMT</pubDate></item><item><title><![CDATA[Reply to 502 Error on some websites on Wed, 29 Nov 2023 15:10:37 GMT]]></title><description><![CDATA[<p dir="auto">I remember researching this topic about mirroring back then. See <a href="https://github.com/NginxProxyManager/nginx-proxy-manager/issues/127#issuecomment-485977281" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/NginxProxyManager/nginx-proxy-manager/issues/127#issuecomment-485977281</a> and especially <a href="https://github.com/NginxProxyManager/nginx-proxy-manager/issues/127#issuecomment-485986744" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/NginxProxyManager/nginx-proxy-manager/issues/127#issuecomment-485986744</a> . We tried to mimic nginx proxy manager as the default behavior.</p>
<p dir="auto">Some more recent discussion here - <a href="https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2675" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2675</a> . There's actually many issues there on this very topic <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=665e13d50c8" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/post/78454</link><guid isPermaLink="true">https://forum.cloudron.io/post/78454</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 29 Nov 2023 15:10:37 GMT</pubDate></item><item><title><![CDATA[Reply to 502 Error on some websites on Wed, 29 Nov 2023 15:04:55 GMT]]></title><description><![CDATA[<p dir="auto">I think this behavior is expected. When designing the App Proxy we had to decide what use case it is for. It is designed to front apps with a certificate and subdomain managed by Cloudron. We have thus configured nginx to set the <code>Host</code> header to the Cloudron App Proxy name (i.e <code>downloader.demo.cloudron.io</code>) when making the proxy request. The target/destination (since this is an app that is in the control of the admin trying to front the app) has to be configured accordingly.</p>
<p dir="auto">In this case, trying to mirror a 3rd party website is not going to work. The 3rd party site will see that the request is intended for <code>downloader.demo.cloudron.io</code> and the TLS SNI verification will fail.</p>
]]></description><link>https://forum.cloudron.io/post/78452</link><guid isPermaLink="true">https://forum.cloudron.io/post/78452</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 29 Nov 2023 15:04:55 GMT</pubDate></item><item><title><![CDATA[Reply to 502 Error on some websites on Wed, 29 Nov 2023 14:42:46 GMT]]></title><description><![CDATA[<p dir="auto">Still investigating, but to take a step back, is this just a random test or an actual use-case to put Cloudron in front of a public page served up by Cloudflare?</p>
]]></description><link>https://forum.cloudron.io/post/78449</link><guid isPermaLink="true">https://forum.cloudron.io/post/78449</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 29 Nov 2023 14:42:46 GMT</pubDate></item><item><title><![CDATA[Reply to 502 Error on some websites on Tue, 28 Nov 2023 19:46:04 GMT]]></title><description><![CDATA[<p dir="auto">Yes, interesting!</p>
<p dir="auto">There should be a way to make nginx either allow remote proxying, separating the cert from the IP, or stop checking for the page by IP since only the domain can deliver the page data.</p>
]]></description><link>https://forum.cloudron.io/post/78385</link><guid isPermaLink="true">https://forum.cloudron.io/post/78385</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Tue, 28 Nov 2023 19:46:04 GMT</pubDate></item><item><title><![CDATA[Reply to 502 Error on some websites on Tue, 28 Nov 2023 19:14:54 GMT]]></title><description><![CDATA[<p dir="auto">Seems like nginx being the proxy here on Cloudron side, tries to access the origin by IP after resolving and since that page is behind a cloudflare proxy, which does not allow direct IP access, it fails with this error message:</p>
<pre><code>2023/11/28 19:12:38 [error] 419125#419125: *65780 SSL_do_handshake() failed (SSL: error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:SSL alert number 40) while SSL handshaking to upstream, client: 2a02:810d:c0:9ef1:372a:20b8:38ac:ffa3, server: foo.nebulon.space, request: "GET / HTTP/2.0", upstream: "https://104.21.0.239:443/", host: "foo.nebulon.space"
</code></pre>
<p dir="auto">Not yet sure how to solve this correctly.</p>
]]></description><link>https://forum.cloudron.io/post/78381</link><guid isPermaLink="true">https://forum.cloudron.io/post/78381</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Tue, 28 Nov 2023 19:14:54 GMT</pubDate></item><item><title><![CDATA[Reply to 502 Error on some websites on Tue, 28 Nov 2023 13:17:13 GMT]]></title><description><![CDATA[<p dir="auto">I can reproduce the issue, not sure yet what the root cause and thus solution is.</p>
]]></description><link>https://forum.cloudron.io/post/78353</link><guid isPermaLink="true">https://forum.cloudron.io/post/78353</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Tue, 28 Nov 2023 13:17:13 GMT</pubDate></item></channel></rss>