-
Notifications
You must be signed in to change notification settings - Fork 581
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
Login doesn't work when a specific other extension is installed #449
Comments
Oh weird. It looks like the applicationInsights package is breaking things. Maybe this is why other people can't login either... |
I can repro this locally, and this is because docs-articles-templates is using version 0.18 of the ApplicationInsights-nodejs package, when that package's latest release is 1.0.4 and has been mostly rewritten (0.18 is more than a year old). Application Insights looks to be intercepting all requests and parsing the request. It throws on this line: https://github.com/Microsoft/ApplicationInsights-node.js/blob/8d2ce986914d77cd629a1bc5ee477a8d79a23d6f/AutoCollection/ClientRequestParser.ts#L123 - This is likely the root cause of #384 and #403 - there might other packages out there using old versions of application insights, breaking things. I'm trying to figure out if there's some extra data I can pass in to the request that will make this code not throw. Thanks for the spelunking @lumaxis, very nice catch! |
microsoft/vscode-docs-authoring#100 opened upstream. |
@shana Sure thing but the new error logging made this pretty easy to track down 😉 👍 |
I think I might have stumbled over a very strange edge case. When installing a very specific other VS Code extension, login to github.com doesn't work. As soon as I disabled the docs-article-templates extension, sign in starts to work as expected.
To me, the stacktrace looks like a module resolution issue of one of the extension's dependencies but I haven't dug deeper into this.
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: