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

Update HTTP Proxy to fix telemetry #9828

Closed

Conversation

lramos15
Copy link
Member

@lramos15 lramos15 commented Sep 1, 2022

This should fix the lack of telemetry caused by the new key.

After a deep dive into the C++ extension code it appears that the older versions of https-proxy-agent would rewrite the https module in a way that was non standard to what the node docs would have. Therefore the use of the https module within @vscode/extension-telemetry was throwing an error when it was in fact syntactically correct. This updates the module and I now see data flowing correctly via the new key into the extension data tables. I still recommend testing all other use cases of the https-proxy-agent.

Ref: microsoft/vscode#93167 (comment)

TS Config Update Ref: TooTallNate/node-agent-base#56

cc @Colengms @bobbrow

@bobbrow
Copy link
Member

bobbrow commented Sep 1, 2022

Actually, I don't think we use those download functions anymore. Can we just remove https-proxy-agent and the now unused functions that call it?

@Colengms @sean-mcmanus

@Colengms
Copy link
Collaborator

Colengms commented Sep 1, 2022

Actually, I don't think we use those download functions anymore. Can we just remove https-proxy-agent and the now unused functions that call it?

Shall we abandon this PR, and go with this one instead?

@lramos15 lramos15 closed this Sep 6, 2022
@lramos15 lramos15 deleted the lramos15/telemetryPackageFix branch September 6, 2022 13:27
@github-actions github-actions bot locked and limited conversation to collaborators Oct 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants