Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
santh00
Frequent Visitor

Notebook Session Issue

I have a notebook in my Microsoft Fabric Synapse Data Engineering environment. Whenever I run the notebook after a period of inactivity, it throws an error with a standard session. However, if I run it with a high concurrency session, it does not throw an error. How can I overcome this issue so that running it after a period of inactivity with a standard session does not result in an error? Is it possible to achieve this?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @santh00 ,

Thanks for using Fabric Community.

There are a few ways you might be able to overcome the error you're encountering

1. Check for Connection Timeouts: Standard sessions might have lower connection timeouts compared to high concurrency sessions.

2. Refresh Connections: Another possibility is that the notebook loses its connection to external resources during inactivity. You can try adding a code block at the beginning of your notebook that refreshes the connections before running the main logic

Hope this is helpful. Please do let me know incase of further queries.

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @santh00 ,

Thanks for using Fabric Community.

There are a few ways you might be able to overcome the error you're encountering

1. Check for Connection Timeouts: Standard sessions might have lower connection timeouts compared to high concurrency sessions.

2. Refresh Connections: Another possibility is that the notebook loses its connection to external resources during inactivity. You can try adding a code block at the beginning of your notebook that refreshes the connections before running the main logic

Hope this is helpful. Please do let me know incase of further queries.

Anonymous
Not applicable

Hi @santh00 ,

We haven’t heard from you on the last response and was just checking back to see if your query was answered.
Otherwise, will respond back with the more details and we will try to help .

Thanks

Hi @Anonymous, 

How to I add a code block to refresh connection can you give me a example.

Anonymous
Not applicable

Hi @santh00 ,

I mean you can always create connections at the start of the code. So incase if any failure occur you can re execute that code cell for connections.

Anonymous
Not applicable

Hi @santh00 ,

We haven’t heard from you on the last response and was just checking back to see if your query was answered.
Otherwise, will respond back with the more details and we will try to help .

Thanks

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugFabric_Carousel

Fabric Monthly Update - August 2024

Check out the August 2024 Fabric update to learn about new features.

August Carousel

Fabric Community Update - August 2024

Find out what's new and trending in the Fabric Community.