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

Unable to add Account #25990

Open
bs70916 opened this issue Oct 22, 2024 · 5 comments · May be fixed by #26137
Open

Unable to add Account #25990

bs70916 opened this issue Oct 22, 2024 · 5 comments · May be fixed by #26137

Comments

@bs70916
Copy link

bs70916 commented Oct 22, 2024

Type: Bug

I am unable to Add Linked account.

I click the User button (Bottom Left)

I get "Linked accounts" page with "Add Account" button

I clicked Add Account button,
and get error message

"Error adding account"
"Error: error"

Azure Data Studio version: azuredatastudio 1.44.0 (31bee67, 2023-05-19T16:53:04.348Z)
OS version: Windows_NT x64 10.0.19045
Restricted Mode: No
Preview Features: Enabled
Modes:

System Info
Item Value
CPUs 13th Gen Intel(R) Core(TM) i7-1370P (14 x 2189)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) undefined
Memory (System) 31.66GB (15.56GB free)
Process Argv
Screen Reader no
VM 0%
Extensions: none
Copy link

We need more info to debug your particular issue. If you could attach your logs to the issue (ensure no private data is in them), it would help us fix the issue much faster.

  1. First open the Settings page, find the Mssql: Tracing Level setting and change that to All then restart Azure Data Studio.
  2. Open command palette (Click View -> Command Palette) and run the command Developer: Set Log Level... and set the level to Trace.
  3. Run the repro scenarios.
  4. Collect the following logs:

Console Logs

  • Open Developer Tools (Help -> Toggle Developer Tools)
  • Click the Console tab
  • Click in the log area and select all text (CTRL+A)
  • Save this text into a file named console.log and attach it to this issue.
  • Developer Tools can be closed via Help -> Toggle Developer Tools

Application Logs

  • Open command palette (Click View -> Command Palette)
  • Run the command: Developer: Open Logs Folder
  • This will open the log folder locally. Please zip up this folder and attach it to the issue.
  1. Now you can revert the Log/Tracing levels changes made in step 1 and step 2.

@lewis-sanchez
Copy link
Contributor

Hi @bs70916, I was able to add both my personal and work accounts to Azure Data Studio. Could you please attach application and console logs, so that I can find the cause of the issue you're experiencing? Thank you!

@lewis-sanchez
Copy link
Contributor

lewis-sanchez commented Oct 31, 2024

@bs70916, are you using a proxy? If you are using a proxy, could you turn these two settings off, add an account, and then turn these settings back on right after? Image

If turning off the two settings doesn't work, then could you share the output in the output window (via view -> output) and change the dropdown to Azure Accounts, then going through the process of adding an account again to capture the output.

This is what the output window looks like with Azure Accounts selected: Image

@hmrc87
Copy link

hmrc87 commented Nov 4, 2024

Same problem on Mac OS with 1.49.1. @lewis-sanchez it is not helping. #25986 on Windows has the same issue

@hmrc87
Copy link

hmrc87 commented Nov 4, 2024

It is working when the HTTPS_PROXY and https_proxy variable is NOT set. See this issue from axios
axios/axios#3384

@lewis-sanchez

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

Successfully merging a pull request may close this issue.

4 participants