<?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: VSCode SAS Extension: Viya 4 2022.11 Endpoint Timeout in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/VSCode-SAS-Extension-Viya-4-2022-11-Endpoint-Timeout/m-p/855775#M338182</link>
    <description>&lt;P&gt;Yes this worked!&amp;nbsp; And I was coming from a previous version of Viya.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also note, for those like me who keep k8s pods in an autoscaling mode to allow services to go to 0 and power down off hours.&amp;nbsp; You will have to wait approximately 5min before being able to connect to compute sessions within VSCode.&amp;nbsp; The first session of the day will fire up a compute pod.&amp;nbsp; I'm not sure how long the pod persists.&amp;nbsp; But if you have the symptom of a 60 second timeout, this could be it.&amp;nbsp; Monitor within Lens or kubectl to see when the compute service is fully running.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jan 2023 16:29:52 GMT</pubDate>
    <dc:creator>Steve0verton</dc:creator>
    <dc:date>2023-01-26T16:29:52Z</dc:date>
    <item>
      <title>VSCode SAS Extension: Viya 4 2022.11 Endpoint Timeout</title>
      <link>https://communities.sas.com/t5/SAS-Programming/VSCode-SAS-Extension-Viya-4-2022-11-Endpoint-Timeout/m-p/849731#M335902</link>
      <description>&lt;P&gt;I'm getting a timeout error when trying to start a session in VSCode.&amp;nbsp; The target environment is Viya 4 2022.11.&amp;nbsp; What does the network topology look like behind the scenes so I can make sure the security/firewall configuration is not blocking me??&amp;nbsp; I am getting the web page popup which gives me the authorization approval screen, which does give me the authorization code.&amp;nbsp; It fails after entering the code into VSCode with the timeout error.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 20:06:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/VSCode-SAS-Extension-Viya-4-2022-11-Endpoint-Timeout/m-p/849731#M335902</guid>
      <dc:creator>Steve0verton</dc:creator>
      <dc:date>2022-12-14T20:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: VSCode SAS Extension: Viya 4 2022.11 Endpoint Timeout</title>
      <link>https://communities.sas.com/t5/SAS-Programming/VSCode-SAS-Extension-Viya-4-2022-11-Endpoint-Timeout/m-p/855746#M338166</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/437722"&gt;@Steve0verton&lt;/a&gt;&amp;nbsp;did you have the extension working previously? When the extension was first released you had to add client id and secret to the config file to make a connection. I found that when the new version of the extension was released the connection failed because I had the client id and secret still in the config file. When I removed them and used the browser pop-up to login the issue was resolved.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The profile in your settings.json file should look a bit like the below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"SAS.connectionProfiles"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"activeProfile"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"&amp;lt;profile name&amp;gt;"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"profiles"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"&amp;lt;profile&amp;gt;"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"endpoint"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"&amp;lt;viya host&amp;gt;"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"context"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"SAS Job Execution compute context"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"username"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"&amp;lt;user&amp;gt;"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 Jan 2023 14:42:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/VSCode-SAS-Extension-Viya-4-2022-11-Endpoint-Timeout/m-p/855746#M338166</guid>
      <dc:creator>HarrySnart</dc:creator>
      <dc:date>2023-01-26T14:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: VSCode SAS Extension: Viya 4 2022.11 Endpoint Timeout</title>
      <link>https://communities.sas.com/t5/SAS-Programming/VSCode-SAS-Extension-Viya-4-2022-11-Endpoint-Timeout/m-p/855775#M338182</link>
      <description>&lt;P&gt;Yes this worked!&amp;nbsp; And I was coming from a previous version of Viya.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also note, for those like me who keep k8s pods in an autoscaling mode to allow services to go to 0 and power down off hours.&amp;nbsp; You will have to wait approximately 5min before being able to connect to compute sessions within VSCode.&amp;nbsp; The first session of the day will fire up a compute pod.&amp;nbsp; I'm not sure how long the pod persists.&amp;nbsp; But if you have the symptom of a 60 second timeout, this could be it.&amp;nbsp; Monitor within Lens or kubectl to see when the compute service is fully running.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 16:29:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/VSCode-SAS-Extension-Viya-4-2022-11-Endpoint-Timeout/m-p/855775#M338182</guid>
      <dc:creator>Steve0verton</dc:creator>
      <dc:date>2023-01-26T16:29:52Z</dc:date>
    </item>
  </channel>
</rss>

