<?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: &amp;quot;Can't login to databricks socket is closed&amp;quot; when using vsCode Extension in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/quot-can-t-login-to-databricks-socket-is-closed-quot-when-using/m-p/39119#M26878</link>
    <description>&lt;P&gt;I finally solved it!&lt;BR /&gt;I had the same error code as you.&lt;BR /&gt;Running Databricks Extension v1.1.1, vscode 1.79 on Windows 10.&lt;/P&gt;&lt;P&gt;I'm behind a company proxy and the main issue was that vscode didn't have proxy support enabled as default.&lt;BR /&gt;Adding this to my settings.json file in vscode:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"http.proxySupport":"on",
"http.proxy": "http://&amp;lt;company-webproxy&amp;gt;:&amp;lt;port&amp;gt;",&lt;/LI-CODE&gt;&lt;P&gt;I got inspired from here:&lt;BR /&gt;&lt;A href="https://gist.github.com/PSJoshi/0831f635f9f5a7b9c602b80fbbf3125a#setting-up-proxy-support" target="_blank"&gt;https://gist.github.com/PSJoshi/0831f635f9f5a7b9c602b80fbbf3125a#setting-up-proxy-support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;</description>
    <pubDate>Fri, 04 Aug 2023 14:46:04 GMT</pubDate>
    <dc:creator>nkls</dc:creator>
    <dc:date>2023-08-04T14:46:04Z</dc:date>
    <item>
      <title>"Can't login to databricks socket is closed" when using vsCode Extension</title>
      <link>https://community.databricks.com/t5/data-engineering/quot-can-t-login-to-databricks-socket-is-closed-quot-when-using/m-p/35654#M25936</link>
      <description>&lt;P&gt;hello there.&amp;nbsp; I am experiencing a problem using the Databricks Extension with Visual Studio Code, and I wonder if anyone else has experienced this.&lt;/P&gt;&lt;P&gt;First, I have installed the databricks cli, and configured some profiles using tokens.&amp;nbsp; Those profiles and tokens are stored in the .databrickscfg file.&amp;nbsp; I can connect successfully to a databricks workspace, like this :&lt;/P&gt;&lt;P&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;databricks fs ls dbfs:/ --profile DEV&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;FileStore&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;databricks-datasets&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;databricks-results&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;mnt&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;tmp&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;user&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;However, when I run vsCode from the same directory and activate the same python environment, and then connect to the very same databricks profile, using the Databricks Extension, I get this error :&lt;/P&gt;&lt;P&gt;"Can't login to databricks socket is closed"&lt;/P&gt;&lt;P&gt;I can connect with databricks, as described, so this can't be any kind of physical access issue. It' seems particular to the Databricks Extension itself.&amp;nbsp; I'm using the 1.0.0 Databricks extension and vsCode 1.79.&amp;nbsp; The problem is reproducible by other people in my organisation, so I don't think it's peculiar to my windows config either.&lt;/P&gt;&lt;P&gt;Does anyone have any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 08:23:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/quot-can-t-login-to-databricks-socket-is-closed-quot-when-using/m-p/35654#M25936</guid>
      <dc:creator>PaulStuart</dc:creator>
      <dc:date>2023-06-28T08:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: "Can't login to databricks socket is closed" when using vsCode Extension</title>
      <link>https://community.databricks.com/t5/data-engineering/quot-can-t-login-to-databricks-socket-is-closed-quot-when-using/m-p/39119#M26878</link>
      <description>&lt;P&gt;I finally solved it!&lt;BR /&gt;I had the same error code as you.&lt;BR /&gt;Running Databricks Extension v1.1.1, vscode 1.79 on Windows 10.&lt;/P&gt;&lt;P&gt;I'm behind a company proxy and the main issue was that vscode didn't have proxy support enabled as default.&lt;BR /&gt;Adding this to my settings.json file in vscode:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"http.proxySupport":"on",
"http.proxy": "http://&amp;lt;company-webproxy&amp;gt;:&amp;lt;port&amp;gt;",&lt;/LI-CODE&gt;&lt;P&gt;I got inspired from here:&lt;BR /&gt;&lt;A href="https://gist.github.com/PSJoshi/0831f635f9f5a7b9c602b80fbbf3125a#setting-up-proxy-support" target="_blank"&gt;https://gist.github.com/PSJoshi/0831f635f9f5a7b9c602b80fbbf3125a#setting-up-proxy-support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 14:46:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/quot-can-t-login-to-databricks-socket-is-closed-quot-when-using/m-p/39119#M26878</guid>
      <dc:creator>nkls</dc:creator>
      <dc:date>2023-08-04T14:46:04Z</dc:date>
    </item>
  </channel>
</rss>

