<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									carbonio-auth service missing entirely — no package, no registration, no systemd unit — causing 502 on webmail login - Carbonio General				            </title>
            <link>https://community.zextras.com/forum/carbonio-general-thread/carbonio-auth-service-missing-entirely-no-package-no-registration-no-systemd-unit-causing-502-on-webmail-login-2/</link>
            <description>Zextras Community Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Thu, 08 Oct 2026 10:13:28 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: carbonio-auth service missing entirely — no package, no registration, no systemd unit — causing 502 on webmail login</title>
                        <link>https://community.zextras.com/forum/carbonio-general-thread/carbonio-auth-service-missing-entirely-no-package-no-registration-no-systemd-unit-causing-502-on-webmail-login-2/#post-12498</link>
                        <pubDate>Sat, 18 Jul 2026 01:54:14 +0000</pubDate>
                        <description><![CDATA[(sorry mods - there is a duplicate thread, i must have done that in error pls delete the other thread)
Update: Found the root cause and a working (temp) fix.
carbonio-auth (the upstream on...]]></description>
                        <content:encoded><![CDATA[<p>(sorry mods - there is a duplicate thread, i must have done that in error pls delete the other thread)<br /><br /></p>
<p class="font-claude-response-body break-words whitespace-normal"><strong>Update: Found the root cause and a working (temp) fix.</strong></p>
<p class="font-claude-response-body break-words whitespace-normal"><code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">carbonio-auth</code> (the upstream on port <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">20008</code>, handling <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">/zx/login/</code> and <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">/zx/auth/</code>) has no backing service on my system — confirmed via <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">consul catalog services</code> (not registered at all, not just unhealthy), no <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">.hcl</code> file, no systemd unit, no owning package anywhere in the repo (<code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">dpkg -S</code>, <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">apt-cache search</code>). Also confirmed this endpoint doesn't exist on mailboxd itself on either of its own ports (8080, 7071 — both return 404 for these paths directly).</p>
<p class="font-claude-response-body break-words whitespace-normal"><strong>My working theory</strong>: <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">carbonio-auth</code> may be the advanced-auth-policy service (2FA/SAML/trusted-device policy management — note the CLI has separate <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">WebUI</code> vs <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">ZmWebUI</code> policy commands) that's part of paid Carbonio but not shipped in CE, while the proxy's nginx template references it unconditionally regardless of edition. If anyone from Zextras can confirm/deny this, it'd help a lot.</p>
<p class="font-claude-response-body break-words whitespace-normal"><strong>Workaround that's fully resolved it for me</strong>: since the legacy <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">/service/soap/AuthRequest</code> login path works fine independent of <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">carbonio-auth</code>, I edited the nginx templates to make the <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">/zx/login/</code> and <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">/zx/auth/</code> locations return a clean <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">404</code> instead of attempting to proxy to the missing service:</p>
<div class="relative group/copy bg-bg-000/50 border-0.5 border-border-400 rounded-lg focus:outline-none focus-visible:ring-2 focus-visible:ring-accent-100" role="group" aria-label="nginx code">
<div class="sticky opacity-0 group-hover/copy:opacity-100 group-focus-within/copy:opacity-100 top-2 py-2 h-12 w-0 float-right">
<div class="absolute right-0 h-8 px-2 items-center inline-flex z-10"> </div>
</div>
<div class="text-text-500 font-small p-3.5 pb-0">nginx</div>
<div class="overflow-x-auto">
<pre class="code-block__code !my-0 !rounded-lg !text-sm !leading-relaxed p-3.5" contenteditable="false"><code class="language-nginx"><span><span class="token token directive">location</span><span class="token token directive"> ^~ /zx/login/</span>
</span><span><span class="token token">{</span>
</span><span>    <span class="token token directive">return</span><span class="token token directive"> </span><span class="token token directive">404</span><span class="token token">;</span>
</span><span><span class="token token">}</span>
</span><span>
</span><span><span class="token token directive">location</span><span class="token token directive"> ^~ /zx/auth/</span>
</span><span><span class="token token">{</span>
</span><span>    <span class="token token directive">return</span><span class="token token directive"> </span><span class="token token directive">404</span><span class="token token">;</span>
</span><span><span class="token token">}</span></span></code></pre>
</div>
</div>
<p class="font-claude-response-body break-words whitespace-normal">(applied in <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">/opt/zextras/conf/nginx/templates/nginx.conf.web.https.template</code> and the matching <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">.default.template</code>, then <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">zmproxyctl restart</code>)</p>
<p class="font-claude-response-body break-words whitespace-normal">This let the frontend gracefully fall back instead of hard-failing on the connection reset from the missing backend. Both regular webmail and the admin console (port 6071) now log in and work normally.</p>
<p class="font-claude-response-body break-words whitespace-normal"><strong>Caveat</strong>: this is a workaround, not a real fix — it just disables whatever <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">carbonio-auth</code> was supposed to provide (likely advanced auth policy features, which may not matter for anyone not using 2FA/SSO anyway). If someone knows the actual intended fix, I'd still like to hear it.</p>
<p class="font-claude-response-body break-words whitespace-normal">Environment: Carbonio CE <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">carbonio-core 4.5.12-1jammy</code>, Ubuntu 22.04.</p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-general-thread/">Carbonio General</category>                        <dc:creator>jajaish</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-general-thread/carbonio-auth-service-missing-entirely-no-package-no-registration-no-systemd-unit-causing-502-on-webmail-login-2/#post-12498</guid>
                    </item>
				                    <item>
                        <title>carbonio-auth service missing entirely — no package, no registration, no systemd unit — causing 502 on webmail login</title>
                        <link>https://community.zextras.com/forum/carbonio-general-thread/carbonio-auth-service-missing-entirely-no-package-no-registration-no-systemd-unit-causing-502-on-webmail-login-2/#post-12497</link>
                        <pubDate>Sat, 18 Jul 2026 00:04:54 +0000</pubDate>
                        <description><![CDATA[Running Carbonio CE, carbonio-core 4.5.12-1jammy, Ubuntu 22.04.5.
Webmail/admin login fails with 502 Bad Gateway on GET /zx/login/v3/auth/config. Traced this to the carbonio-proxy upstream ...]]></description>
                        <content:encoded><![CDATA[<p class="font-claude-response-body break-words whitespace-normal">Running Carbonio CE, <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">carbonio-core 4.5.12-1jammy</code>, Ubuntu 22.04.5.</p>
<p class="font-claude-response-body break-words whitespace-normal">Webmail/admin login fails with <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">502 Bad Gateway</code> on <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">GET /zx/login/v3/auth/config</code>. Traced this to the <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">carbonio-proxy</code> upstream <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">carbonio-auth</code>, which routes to <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">127.78.0.1:20008</code> (an Envoy sidecar). The sidecar itself is up and listening, but nothing is registered behind it.</p>
<p class="font-claude-response-body break-words whitespace-normal"><strong>What I've confirmed:</strong></p>
<ul class=":mb-0 :mt-1 :gap-1 :pb-1 :pb-1 list-disc flex flex-col gap-1 pl-8 mb-3">
<li class="font-claude-response-body whitespace-normal break-words pl-2"><code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">consul catalog services</code> shows no <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">carbonio-auth</code> entry at all (not unhealthy — completely absent)</li>
<li class="font-claude-response-body whitespace-normal break-words pl-2">No <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">.hcl</code> file for it exists in <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">/etc/zextras/service-discover/</code> (only <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">carbonio-proxy.hcl</code> references the name, as a destination)</li>
<li class="font-claude-response-body whitespace-normal break-words pl-2">No systemd unit <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">carbonio-auth-sidecar.service</code> exists anywhere on disk</li>
<li class="font-claude-response-body whitespace-normal break-words pl-2"><code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">dpkg -S carbonio-auth-sidecar</code> returns no matching package</li>
<li class="font-claude-response-body whitespace-normal break-words pl-2"><code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">apt-cache search carbonio | grep auth</code> and <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">apt list -a carbonio-auth*</code> show only <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">carbonio-auth-ui</code> (a frontend module), no backend service</li>
<li class="font-claude-response-body whitespace-normal break-words pl-2">Not served directly by mailboxd either (<code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">curl localhost:8080/zx/login/v3/auth/config</code> → 404)</li>
<li class="font-claude-response-body whitespace-normal break-words pl-2">No trace of any process ever attempting to register this service name in <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">mailbox.log</code></li>
<li class="font-claude-response-body whitespace-normal break-words pl-2"><code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">pending-setups -a</code> runs clean, nothing pending</li>
<li class="font-claude-response-body whitespace-normal break-words pl-2">Full <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">zmcontrol restart</code> and individual service restarts don't resolve it</li>
<li class="font-claude-response-body whitespace-normal break-words pl-2">Repointing the proxy upstream to <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">carbonio-user-management</code> (the service that appears to actually handle auth-related SOAP requests) also didn't resolve it — reverted that change</li>
</ul>
<p class="font-claude-response-body break-words whitespace-normal"><strong>What's healthy:</strong> everything else — mail delivery, IMAP, SMTP, LDAP, MTA, proxy itself, mailbox backend. This is isolated to the webmail/admin login flow specifically.</p>
<p class="font-claude-response-body break-words whitespace-normal">Found one other user with the exact same symptom (<code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">community.zextras.com/forum/carbonio-general-thread/carbonio-auth-problem/</code>, Feb 2024) with no public resolution shown.</p>
<p class="font-claude-response-body break-words whitespace-normal">Is <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">carbonio-auth</code> supposed to be provided by a specific package? Was it possibly deprecated/replaced by <code class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded- px-1 py-px text-">carbonio-user-management</code> in a later version and this proxy template just wasn't updated to match? Any pointers appreciated.</p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-general-thread/">Carbonio General</category>                        <dc:creator>jajaish</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-general-thread/carbonio-auth-service-missing-entirely-no-package-no-registration-no-systemd-unit-causing-502-on-webmail-login-2/#post-12497</guid>
                    </item>
							        </channel>
        </rss>
		