<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Both Databricks Apps Returning 502 Bad Gateway in Generative AI</title>
    <link>https://community.databricks.com/t5/generative-ai/both-databricks-apps-returning-502-bad-gateway/m-p/169374#M2086</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;A 502 at the app URL means the Databricks reverse proxy can reach the platform but not your app process. Two things to check first, because both apps failing at once points to something common rather than a bug in either one.&lt;/P&gt;&lt;P&gt;First, and this is my guess given the gmail account: if this is a Free Edition workspace, the docs say "Apps run for up to 24 hours after being started, updated, or redeployed. After that, the app is automatically stopped." Open each app in the workspace, look at the status in the Overview tab (Running / Stopped / Deploying / Crashed), and if it says Stopped just start it again. The 24 hour clock restarts on every start or deploy.&lt;BR /&gt;&lt;A href="https://docs.databricks.com/aws/en/getting-started/free-edition-limitations" target="_blank"&gt;https://docs.databricks.com/aws/en/getting-started/free-edition-limitations&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/databricks-apps/key-concepts" target="_blank"&gt;https://docs.databricks.com/aws/en/dev-tools/databricks-apps/key-concepts&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Second, if the status is Crashed, read the logs before restarting: Logs tab in the app page, or append /log to the app URL, or from the CLI databricks apps logs your-app-name --tail-lines 200. Logs are not kept once the compute stops, so grab them right after a failed start. The most common self-inflicted cause of 502 in my experience is the app not binding to 0.0.0.0 on the port in DATABRICKS_APP_PORT, which the docs list as a hard requirement.&lt;BR /&gt;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/databricks-apps/monitor" target="_blank"&gt;https://docs.databricks.com/aws/en/dev-tools/databricks-apps/monitor&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/databricks-apps/best-practices" target="_blank"&gt;https://docs.databricks.com/aws/en/dev-tools/databricks-apps/best-practices&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Sep 2026 22:45:28 GMT</pubDate>
    <dc:creator>ThomazNeto</dc:creator>
    <dc:date>2026-09-21T22:45:28Z</dc:date>
    <item>
      <title>Both Databricks Apps Returning 502 Bad Gateway</title>
      <link>https://community.databricks.com/t5/generative-ai/both-databricks-apps-returning-502-bad-gateway/m-p/169020#M2078</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;I am experiencing an issue with &lt;STRONG&gt;both of my Databricks Apps&lt;/STRONG&gt;. Both applications are currently unavailable and are returning the same &lt;STRONG&gt;502 Bad Gateway&lt;/STRONG&gt; error.&lt;/P&gt;&lt;P&gt;This is affecting both applications, so I would appreciate it if you could investigate whether there is a workspace, deployment, networking, or Databricks Apps platform-related issue.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;App 1: #&lt;A href="https://vidhai-base-7474644715059240.aws.databricksapps.com/?utm_source=chatgpt.com" target="_blank"&gt;https://vidhai-base-7474644715059240.aws.databricksapps.com/?utm_source=chatgpt.com&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Username:&lt;/STRONG&gt; &lt;A href="mailto:jeneive.dhanapalan@gmail.com" target="_blank" rel="noopener"&gt;jeneive.dhanapalan@gmail.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt; Both Apps are returning &lt;STRONG&gt;502 Bad Gateway&lt;/STRONG&gt; and are not accessible&lt;/P&gt;&lt;P&gt;This issue is currently blocking my work, and I would appreciate &lt;STRONG&gt;immediate assistance&lt;/STRONG&gt; in identifying and resolving the problem&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 17 Sep 2026 19:11:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/both-databricks-apps-returning-502-bad-gateway/m-p/169020#M2078</guid>
      <dc:creator>Jeneive</dc:creator>
      <dc:date>2026-09-17T19:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Both Databricks Apps Returning 502 Bad Gateway</title>
      <link>https://community.databricks.com/t5/generative-ai/both-databricks-apps-returning-502-bad-gateway/m-p/169374#M2086</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;A 502 at the app URL means the Databricks reverse proxy can reach the platform but not your app process. Two things to check first, because both apps failing at once points to something common rather than a bug in either one.&lt;/P&gt;&lt;P&gt;First, and this is my guess given the gmail account: if this is a Free Edition workspace, the docs say "Apps run for up to 24 hours after being started, updated, or redeployed. After that, the app is automatically stopped." Open each app in the workspace, look at the status in the Overview tab (Running / Stopped / Deploying / Crashed), and if it says Stopped just start it again. The 24 hour clock restarts on every start or deploy.&lt;BR /&gt;&lt;A href="https://docs.databricks.com/aws/en/getting-started/free-edition-limitations" target="_blank"&gt;https://docs.databricks.com/aws/en/getting-started/free-edition-limitations&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/databricks-apps/key-concepts" target="_blank"&gt;https://docs.databricks.com/aws/en/dev-tools/databricks-apps/key-concepts&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Second, if the status is Crashed, read the logs before restarting: Logs tab in the app page, or append /log to the app URL, or from the CLI databricks apps logs your-app-name --tail-lines 200. Logs are not kept once the compute stops, so grab them right after a failed start. The most common self-inflicted cause of 502 in my experience is the app not binding to 0.0.0.0 on the port in DATABRICKS_APP_PORT, which the docs list as a hard requirement.&lt;BR /&gt;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/databricks-apps/monitor" target="_blank"&gt;https://docs.databricks.com/aws/en/dev-tools/databricks-apps/monitor&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/databricks-apps/best-practices" target="_blank"&gt;https://docs.databricks.com/aws/en/dev-tools/databricks-apps/best-practices&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2026 22:45:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/both-databricks-apps-returning-502-bad-gateway/m-p/169374#M2086</guid>
      <dc:creator>ThomazNeto</dc:creator>
      <dc:date>2026-09-21T22:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Both Databricks Apps Returning 502 Bad Gateway</title>
      <link>https://community.databricks.com/t5/generative-ai/both-databricks-apps-returning-502-bad-gateway/m-p/169866#M2109</link>
      <description>&lt;P&gt;Thank you for the detailed guidance. The issue has been resolved, and both applications are now working fine.&lt;/P&gt;&lt;P&gt;My assumption is that the issue was related to the application authentication check. The apps are now working independently without requiring authentication.&lt;/P&gt;&lt;P&gt;I appreciate your help and the troubleshooting suggestions.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2026 19:26:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/both-databricks-apps-returning-502-bad-gateway/m-p/169866#M2109</guid>
      <dc:creator>Jeneive</dc:creator>
      <dc:date>2026-09-25T19:26:54Z</dc:date>
    </item>
  </channel>
</rss>

