<?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 Databricks app giving 'upstream request timeout ' in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/databricks-app-giving-upstream-request-timeout/m-p/106666#M9587</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;We are developing an app which is based on flask, which is used to download logs from databricks dbfs location. For this useful case we are using databricks inbuilt App feature to deploy our app.&lt;/P&gt;&lt;P&gt;While we pass a smaller file it is getting downloaded without any error, but if we pass a bigger file like 300-400 mb it is giving 'upstream request timeout' after exactly one minute. But when we ran it in local it is working fine.&lt;/P&gt;&lt;P&gt;So we think it may be because of proxy timeout. But we don't have access to our databricks proxy. How can we increase this timeout for the proxy within the app or using env variables.&lt;/P&gt;&lt;P&gt;Please help me with this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jan 2025 14:42:35 GMT</pubDate>
    <dc:creator>Rakeshch007</dc:creator>
    <dc:date>2025-01-22T14:42:35Z</dc:date>
    <item>
      <title>Databricks app giving 'upstream request timeout '</title>
      <link>https://community.databricks.com/t5/get-started-discussions/databricks-app-giving-upstream-request-timeout/m-p/106666#M9587</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;We are developing an app which is based on flask, which is used to download logs from databricks dbfs location. For this useful case we are using databricks inbuilt App feature to deploy our app.&lt;/P&gt;&lt;P&gt;While we pass a smaller file it is getting downloaded without any error, but if we pass a bigger file like 300-400 mb it is giving 'upstream request timeout' after exactly one minute. But when we ran it in local it is working fine.&lt;/P&gt;&lt;P&gt;So we think it may be because of proxy timeout. But we don't have access to our databricks proxy. How can we increase this timeout for the proxy within the app or using env variables.&lt;/P&gt;&lt;P&gt;Please help me with this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 14:42:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/databricks-app-giving-upstream-request-timeout/m-p/106666#M9587</guid>
      <dc:creator>Rakeshch007</dc:creator>
      <dc:date>2025-01-22T14:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks app giving 'upstream request timeout '</title>
      <link>https://community.databricks.com/t5/get-started-discussions/databricks-app-giving-upstream-request-timeout/m-p/106860#M9588</link>
      <description>&lt;P class=""&gt;Hey!&lt;/P&gt;&lt;P class=""&gt;It looks like the issue you’re facing might be related to the proxy timeout when downloading large files from DBFS. Since modifying the proxy settings might not be an option, there are a couple of alternative approaches you could consider to mitigate this issue.&lt;/P&gt;&lt;P class=""&gt;First, instead of downloading the entire file at once, you can try &lt;STRONG&gt;downloading it in smaller chunks&lt;/STRONG&gt; to avoid hitting the request timeout limit.&amp;nbsp;By implementing chunked downloads, you can bypass proxy-imposed limits and improve reliability.&lt;/P&gt;&lt;P class=""&gt;Another effective approach is to &lt;STRONG&gt;store logs directly in an external cloud storage solution&lt;/STRONG&gt;, such as &lt;STRONG&gt;AWS S3, Azure Blob Storage, or Google Cloud Storage&lt;/STRONG&gt;, instead of DBFS. Databricks allows you to configure cluster logging to automatically save logs to these cloud storage solutions, making them easier to access and download without relying on DBFS.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 23:14:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/databricks-app-giving-upstream-request-timeout/m-p/106860#M9588</guid>
      <dc:creator>Isi</dc:creator>
      <dc:date>2025-01-23T23:14:21Z</dc:date>
    </item>
  </channel>
</rss>

