<?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 Failed to create Livy session for executing notebook. in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-create-Livy-session-for-executing-notebook/m-p/3626724#M481</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Microsoft Fabric, we are gettting the following types of error when running notebooks in a pipeline.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"traceback":["Exception: Failed to create Livy session for executing notebook. LivySessionId: xxxxxxxx ","--&amp;gt; InvalidHttpRequestToLivy: [Unauthorized] Access token validation failed. HTTP status code: 401."]},"lastCheckedOn":"2024-01-09T11:44:39.1533333Z","metadata":null,"exitValue":null},"message":"Notebook execution is in Failed state, ....."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Access token validation failed is the strange part to me...&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jan 2024 13:40:08 GMT</pubDate>
    <dc:creator>willmasse</dc:creator>
    <dc:date>2024-01-09T13:40:08Z</dc:date>
    <item>
      <title>Failed to create Livy session for executing notebook.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-create-Livy-session-for-executing-notebook/m-p/3626724#M481</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Microsoft Fabric, we are gettting the following types of error when running notebooks in a pipeline.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"traceback":["Exception: Failed to create Livy session for executing notebook. LivySessionId: xxxxxxxx ","--&amp;gt; InvalidHttpRequestToLivy: [Unauthorized] Access token validation failed. HTTP status code: 401."]},"lastCheckedOn":"2024-01-09T11:44:39.1533333Z","metadata":null,"exitValue":null},"message":"Notebook execution is in Failed state, ....."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Access token validation failed is the strange part to me...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 13:40:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-create-Livy-session-for-executing-notebook/m-p/3626724#M481</guid>
      <dc:creator>willmasse</dc:creator>
      <dc:date>2024-01-09T13:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create Livy session for executing notebook.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-create-Livy-session-for-executing-notebook/m-p/3630531#M482</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/663604"&gt;@willmasse&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for using Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;Apologies for the issue that you are facing here.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;&lt;/SPAN&gt;401 Unauthorized Error&lt;SPAN&gt;&amp;nbsp;is an HTTP status code error that represented the request sent by the client to the server that lacks&amp;nbsp;&lt;/SPAN&gt;valid authentication&lt;SPAN&gt;&amp;nbsp;credentials.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Methods to rectify the error:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;The 401 Unauthorized error can be fixed by using any of the following ways:&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Check The URL:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Due to manual errors in typing the URL, the 401 unauthorized error may occur. Hence, checking the URL and rectifying the mistakes in it will fix the 401 error status.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Flush the DNS:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Errors in DNS also creates 401 error status sometimes. Therefore, clearing the DNS will also rectify this error. In Windows, the DNS can be flushed by typing&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ipconfig/flushdns&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in the command prompt and clicking on&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ENTER.&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Clear Browser Cookie:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;In some situations, the cookies may not work smoothly leading to improper server authentication. Thus, by clearing the cookies, the error can be rectified.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Logging out and Logging in again:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;If you're authenticated via a session (like in a web app), it might have expired.&lt;/SPAN&gt;&amp;nbsp;Therefore, logging out and logging in again by providing the credentials may also rectify this error.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I hope this information helps. Please do let us know if you have any further questions.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 13:22:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-create-Livy-session-for-executing-notebook/m-p/3630531#M482</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2024-01-10T13:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create Livy session for executing notebook.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-create-Livy-session-for-executing-notebook/m-p/3630576#M483</link>
      <description>&lt;P&gt;These are Notebooks running in Pipelines. None of those things are applicable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also get these errors as well:&amp;nbsp;&lt;SPAN&gt;SparkCoreError/SessionDidNotEnterIdle: Livy session has failed. Error code: SparkCoreError/SessionDidNotEnterIdle. SessionInfo.State from SparkCore is Error: Session did not enter idle state after 10 minutes.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm getting really frequent errors running Notebooks in Pipelines that all revolve around Livy session. &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 13:30:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-create-Livy-session-for-executing-notebook/m-p/3630576#M483</guid>
      <dc:creator>willmasse</dc:creator>
      <dc:date>2024-01-10T13:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create Livy session for executing notebook.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-create-Livy-session-for-executing-notebook/m-p/3645805#M484</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/663604"&gt;@willmasse&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apologies for the delay in response.&lt;/P&gt;
&lt;P&gt;This seems to be an intermittent issue, can you please try to rerun the pipelines?&lt;/P&gt;
&lt;P&gt;If the issue still persists please do let us know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 11:45:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-create-Livy-session-for-executing-notebook/m-p/3645805#M484</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2024-01-18T11:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create Livy session for executing notebook.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-create-Livy-session-for-executing-notebook/m-p/3650723#M485</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/663604"&gt;@willmasse&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet.&lt;BR /&gt;In case if you have any resolution please do share that same with the community as it can be helpful to others.&lt;BR /&gt;Otherwise, will respond back with the more details and we will try to help.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 05:22:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-create-Livy-session-for-executing-notebook/m-p/3650723#M485</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2024-01-22T05:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create Livy session for executing notebook.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-create-Livy-session-for-executing-notebook/m-p/3654098#M486</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/663604"&gt;@willmasse&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. In case if you have any resolution please do share that same with the community as it can be helpful to others.&lt;BR /&gt;If you have any question relating to the current thread, please do let us know and we will try out best to help you.&lt;BR /&gt;In case if you have any other question on a different issue, we request you to open a new thread.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 13:08:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-create-Livy-session-for-executing-notebook/m-p/3654098#M486</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2024-01-23T13:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create Livy session for executing notebook.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-create-Livy-session-for-executing-notebook/m-p/3655222#M487</link>
      <description>&lt;P&gt;I have run into this error on many occasions and it can often be solved by limiting the number of notebooks running in parallel. It seems to hit a limit of how many notebooks can run at once. Instead of waiting for compute to be available, it just fails.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I've also had this happen when only running a single notebook...&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 00:14:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-create-Livy-session-for-executing-notebook/m-p/3655222#M487</guid>
      <dc:creator>alozovoy</dc:creator>
      <dc:date>2024-01-24T00:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create Livy session for executing notebook.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-create-Livy-session-for-executing-notebook/m-p/3690158#M488</link>
      <description>&lt;P&gt;We've been getting the Livy&amp;nbsp;Session did not enter idle state after 10 minutes Error intermittently. our pipelines tend to run notebooks sequentially, but there can be an overlap once in a while. But.... our notebooks do very little processing. they normally take 3-10s to complete. so how contention is causing this is baffling me.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 07:01:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-create-Livy-session-for-executing-notebook/m-p/3690158#M488</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-09T07:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create Livy session for executing notebook.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-create-Livy-session-for-executing-notebook/m-p/4007588#M2669</link>
      <description>&lt;P&gt;We face a similar problem. Notebook alone needs about 30s to successfully complete. Called in a pipeline it needs over 10 Minutes to return the error mentioned above.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 18:39:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-create-Livy-session-for-executing-notebook/m-p/4007588#M2669</guid>
      <dc:creator>PeterGoertz</dc:creator>
      <dc:date>2024-06-24T18:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create Livy session for executing notebook.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-create-Livy-session-for-executing-notebook/m-p/4007600#M2670</link>
      <description>&lt;P&gt;As a temporarily shortcut a capacity restart works.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 18:51:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-create-Livy-session-for-executing-notebook/m-p/4007600#M2670</guid>
      <dc:creator>PeterGoertz</dc:creator>
      <dc:date>2024-06-24T18:51:36Z</dc:date>
    </item>
  </channel>
</rss>

