Forum Discussion
Synapse Extension Error in VS Studio code web
- Anonymous1 year ago
Hi smpa01
VS Code web will install some dependency extensions for us automatically when we install the Synapse VS Code - Remote extension. I have just tested that, see my previous reply. And it allows us to install a specific version as we do that in VS Code desktop.
I notice that your screenshot shows that the number of installed extensions in VS Code Web is 0. Did you open the notebook in VS Code (Web) from Fabric Portal directly without installing the Synapse VS Code - Remote extension first? We need to install this extension before opening a Fabric notebook. Please refer to Create and manage Fabric notebooks from VS Code for the Web - Microsoft Fabric | Microsoft Learn
Install the Synapse VS Code extension for the Web
- Go to https://insider.vscode.dev from your browser.
- Select the Extensions icon in the left navigation bar.
- Search for Synapse and select the Synapse VS Code - Remotes extension
- click Install.
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!
Hi smpa01
VS Code web will install some dependency extensions for us automatically when we install the Synapse VS Code - Remote extension. I have just tested that, see my previous reply. And it allows us to install a specific version as we do that in VS Code desktop.
I notice that your screenshot shows that the number of installed extensions in VS Code Web is 0. Did you open the notebook in VS Code (Web) from Fabric Portal directly without installing the Synapse VS Code - Remote extension first? We need to install this extension before opening a Fabric notebook. Please refer to Create and manage Fabric notebooks from VS Code for the Web - Microsoft Fabric | Microsoft Learn
Install the Synapse VS Code extension for the Web
- Go to https://insider.vscode.dev from your browser.
- Select the Extensions icon in the left navigation bar.
- Search for Synapse and select the Synapse VS Code - Remotes extension
- click Install.
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!
Anonymous your solution worked. I was opening the web vesrion directly from the notebook as you predicted.
Can you please advise me on this , I prefer running the visual studio code from my pc rather than web, I am not sure what am I doing wrong.
I keep on hitting a dead end in VS Code Local
same workbook in fabic vs vscode
PySparkLighter.Log gives me this
12:52:24,643 urllib3.connectionpool WARNING Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1007)'))': /common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows.net%2Fcommon%2Foauth2%2Fv2.0%2Fauthorize&api-version=1.0
12:52:24,660 root ERROR Failed to initialize Spark Lighter variables. HTTPSConnectionPool(host='login.microsoftonline.com', port=443): Max retries exceeded with url: /common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows.net%2Fcommon%2Foauth2%2Fv2.0%2Fauthorize&api-version=1.0 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1007)')))
12:52:24,660 root INFO Registering Spark Lighter magics for IPython...
12:52:24,661 root INFO Registered Spark Lighter magics for IPython.
- Anonymous1 year agoNot applicable
Hi smpa01 Are you querying from a normal lakehouse or a dataflow Gen2 staging lakehouse?
- smpa011 year agoCommunity Champion
Anonymous I can confirm that is from a normal lakehouse.
- Anonymous1 year agoNot applicable
Hi smpa01
Can you check in another SparkLighter.log file that whether the remote spark session has been created successfully? If a remote session has been created successfully, you will see something like below. It returns a spark session id.
Otherwise you may refer to my settings in this thread. It might be helpful.
Best Regards,
Jing