<?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: Using Databricks Connect with PyCharm behind Proxy in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/using-databricks-connect-with-pycharm-behind-proxy/m-p/86251#M1660</link>
    <description>&lt;P&gt;I managed to solve the problem by including my login and password in the HTTPS_PROXY environment variable.&lt;/P&gt;&lt;P&gt;I set it to something like this HTTPS_PROXY = "&lt;A href="http://username:password@proxy.company.com:port" target="_blank"&gt;http://username:password@proxy.company.com:port&lt;/A&gt;" and databricks-connect can create spark sessions in my pycharm now.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Aug 2024 09:35:10 GMT</pubDate>
    <dc:creator>ADuma</dc:creator>
    <dc:date>2024-08-29T09:35:10Z</dc:date>
    <item>
      <title>Using Databricks Connect with PyCharm behind Proxy</title>
      <link>https://community.databricks.com/t5/administration-architecture/using-databricks-connect-with-pycharm-behind-proxy/m-p/83818#M1621</link>
      <description>&lt;P&gt;I am using Databricks connect with PyCharm in order to locally develop my pipelines before deploying to Databricks. I set up authentication for databricks-connect using the following guide &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/databricks-connect/python/pycharm" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/azure/databricks/dev-tools/databricks-connect/python/pycharm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is working well when I'm working with a normal internet connection. But when I'm working from my office I enter through a company network which prevents access to many services. I can get around this by specifying the HTTPS_PROXY environment variable for many services (git, pip etc.)&lt;/P&gt;&lt;P&gt;But I don't manage to connect to my Databricks cluster through databricks-connect. I just get the following error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;ValueError: default auth: databricks-cli: cannot get access token: Error: oidc: fetch .well-known: Get "https://my_workspace.azuredatabricks.net/oidc/.well-known/oauth-authorization-server": proxyconnect tcp: tls: first record does not look like a TLS handshake. Config: host=https://my_workspace.azuredatabricks.net, profile=my-profile, auth_type=databricks-cli, cluster_id=my_cluster_id&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know how to set the proxy config for databricks-connect? Do I need to set some values in .databrickscfg?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 14:11:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/using-databricks-connect-with-pycharm-behind-proxy/m-p/83818#M1621</guid>
      <dc:creator>ADuma</dc:creator>
      <dc:date>2024-08-21T14:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using Databricks Connect with PyCharm behind Proxy</title>
      <link>https://community.databricks.com/t5/administration-architecture/using-databricks-connect-with-pycharm-behind-proxy/m-p/86251#M1660</link>
      <description>&lt;P&gt;I managed to solve the problem by including my login and password in the HTTPS_PROXY environment variable.&lt;/P&gt;&lt;P&gt;I set it to something like this HTTPS_PROXY = "&lt;A href="http://username:password@proxy.company.com:port" target="_blank"&gt;http://username:password@proxy.company.com:port&lt;/A&gt;" and databricks-connect can create spark sessions in my pycharm now.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 09:35:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/using-databricks-connect-with-pycharm-behind-proxy/m-p/86251#M1660</guid>
      <dc:creator>ADuma</dc:creator>
      <dc:date>2024-08-29T09:35:10Z</dc:date>
    </item>
  </channel>
</rss>

