Azure Synapse Analytics Spark Pool error “Kernel could not be launched. Please re-run cells to retry.”

Azhar 96 Reputation points

Azure Synapse Analytics Spark Pool throws error while running notebook cell "Kernel could not be launched. Please re-run cells to retry."

Also displaying message "[launch_kernel_error] Error when launching kernel due to ajax error 401 "

Also tried creating another Synapse Workspace in another region, but facing same issue with spark pools.

Please help how to resolve this issue.

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,692 questions
0 comments No comments
{count} votes

Accepted answer
  1. Azhar 96 Reputation points


    Thank You for all help, I am able to start spark cluster and run notebook now. It was due to vpn I was getting this error message. When I disconnected vpn, I was able to work with spark pool.

1 additional answer

Sort by: Most helpful
  1. Saurabh Sharma 23,791 Reputation points Microsoft Employee

    @Azhar Thanks for using Microsoft Q&A !!

    Sorry for your trouble. In which region you are synapse is ?
    Can you please got to "Activities" under Monitor tab then select the spark session and the notebook -
    Select Logs tab and check if you are getting any errors -

    You can also download the logs to check that in your local computer.

    0 comments No comments