Open skandupmanyu opened 2 years ago
sorry for the inconvenience. If you are trying to use Synapse pyspark interactive , please use synapse studio instead, thanks. Since it's dependency will not be maintained anymore, it will also not be maintained. Currently, we are updating doc.
So the VSCode connectivity to Synapse would no longer be supported?
Now that VSCode extension is retiring as mentioned in the doc, what are the plans to use PyCharm/VSCode to develop .py scripts instead of notebooks on Synapse?
It seems the message has changed when a Token in azure synapse expires. In the past I scanned for "ExpiredAuthenticationToken" now I see only the message "AuthenticationFailed". Did they change the response messages?
I am using the extension to connect to Azure Synapse Interactive PySpark session. The session expires every 1-1.5 hour with the following error message:
An error was encountered: Invalid status code '401' from https://syn-hdmc-az1-data-platform-dev.dev.azuresynapse.net/livyApi/versions/2019-11-01-preview/sparkPools/spkpooldscimd/sessions/180 with error payload: {"code":"ExpiredAuthenticationToken","message":"Token Authentication failed with SecurityTokenExpiredException - IDX10223: Lifetime validation failed. The token is expired. ValidTo: '[PII is hidden]', Current time: '[PII is hidden]'."}
It looks like the bearer token for Livy API is not getting refreshed.