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

getProxyAgentOptions error #17755

Closed
EdCallahan opened this issue Jul 27, 2023 · 4 comments · Fixed by #17757
Closed

getProxyAgentOptions error #17755

EdCallahan opened this issue Jul 27, 2023 · 4 comments · Fixed by #17757

Comments

@EdCallahan
Copy link

EdCallahan commented Jul 27, 2023

  • MSSQL Extension Version: 1.20.0
  • VSCode Version: 1.80.1
  • OS Version: Win11

Steps to Reproduce:

  1. Upgrade mssql vscode module version from v 1.19.1 to 1.20.0
  2. Try to connect to a SQL server

The following getProxyAgentOptions error is found in the output window

Downgrading to 1.19.1 fixes the problem.

I do have a proxy defined on my workstation (via environmental variables, Internet Connection configuration and settings.json)

Initializing SQL tools service for the mssql extension.
Note: mssql commands will be available after installing the service.

Platform: win32, x86_64 (Windows)

Installing SQL tools service to c:\Users\EVCallahan.vscode\extensions\ms-mssql.mssql-1.20.0\sqltoolsservice\4.8.1.2\Windows.
Downloading https://github.com/Microsoft/sqltoolsservice/releases/download/4.8.1.2/microsoft.sqltools.servicelayer-win-x64-net7.0.zip
[ERROR] TypeError: Cannot read properties of undefined (reading 'getProxyAgentOptions')

@cheenamalhotra
Copy link
Member

Issue has been addressed in #17757.

However, it doesn't seem a recent issue, it likely happened in an earlier release.
You can try to download STS manually from URL above and unzip it in below location, in the meantime:
C:\Users\~\.vscode\extensions\ms-mssql.mssql-1.20.0\sqltoolsservice\4.8.1.2\Windows\
(follow path as v1.19)

@cheenamalhotra cheenamalhotra added this to the September 2023 Release milestone Jul 27, 2023
@harrisadni
Copy link

Issue has been addressed in #17757.

However, it doesn't seem a recent issue, it likely happened in an earlier release. You can try to download STS manually from URL above and unzip it in below location, in the meantime: C:\Users\~\.vscode\extensions\ms-mssql.mssql-1.20.0\sqltoolsservice\4.8.1.2\Windows\ (follow path as v1.19)

This helps.

@cheenamalhotra
Copy link
Member

Re-opening issue for July Hotfix consideration, as it may also be contributing to #17739

@cheenamalhotra
Copy link
Member

Closing as fix has been merged to release branch.

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