Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Authentication with Linux causing mssql Extension to crash #18844

Closed
jkupcho opened this issue Mar 28, 2022 · 6 comments
Closed

Windows Authentication with Linux causing mssql Extension to crash #18844

jkupcho opened this issue Mar 28, 2022 · 6 comments

Comments

@jkupcho
Copy link

jkupcho commented Mar 28, 2022

  • Azure Data Studio Version: 1.35.1
  • OS Version: Ubuntu 20.04.4

Steps to Reproduce:

  1. Using a previously configured database (as in before upgrading to 1.35.1), try making connection using Windows Authentication.
  2. After trying to connect, a toast message is presented with "SQL Tools Service component exited unexpectedly. Please restart Azure Data Studio.
  3. In the developer tools there is an error message with the following message:

SQL Tools Service component exited unexpectedly. Please restart Azure Data Studio.
onDidChangeNotification @ workbench.desktop.main.js:1582

Does this issue occur when all extensions are disabled?: Yes

Other notes:

  • If I revert to version 1.34.0 the saved connections begin to work again.
  • The logs do not seem to produce anything of value, even on debug level logging.
@baconapplications
Copy link

+1. 1.34 is working fine 1.35+ trusted authentication via kerberos no longer works. Same error as above.

@Spice-King
Copy link

I'll chip in that I'm getting the same thing on Pop!_OS 21.10. I got a hold of 1.35.0 to test, same issue as 1.35.1. Downgrading to 1.34.0 fixes it.

@Spice-King
Copy link

Kinda forgot about this ticket since it feels very little priority is allocated to it with the issue being kicked down the road twice since I started following it. Here is a small update from my usage after 4 months.

I've since updated to Pop!_OS 22.04 LTS, 1.34.0 no longer opens (the older Electron version has issue with newer libraries or something, adding the --no-sandbox allows it to run, but is explicitly noted as something for testing/development, not production use) and 1.38.0 still has the component crash.

@Noggington
Copy link

Hi Guys - I have been trying this on OpenSuse Tumbleweed, Kubuntu 22.04 and Fedora 36.

I can get kerberos working on each platform mentioned above but Azure data studio will not connect to a local Windows SQL Server using kerberos. I get the same errors the op mentioned above.

Is there any updates to this?

@jkupcho
Copy link
Author

jkupcho commented Aug 8, 2022

No update on my end, only running an older version seems to fix the issue.

@cheenamalhotra
Copy link
Member

cheenamalhotra commented Aug 18, 2022

The issue was reproduced and fix verified with SqlClient update to v3.1.1.
It will be fixed in Azure Data Studio v1.39 (upcoming release).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants