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

Add option to disable proxy certificate verification #49

Closed
chrmarti opened this issue Apr 4, 2018 · 9 comments
Closed

Add option to disable proxy certificate verification #49

chrmarti opened this issue Apr 4, 2018 · 9 comments
Assignees

Comments

@chrmarti
Copy link
Contributor

chrmarti commented Apr 4, 2018

From @glstream on March 13, 2018 21:32

  • VSCode Version: 1.21
  • OS Version:Mac OSX 10.12.6

Steps to Reproduce:

  1. Open VS Code, down load Azure Accoutn Sign In and Azure Data lake tools.
  2. See warning that says "The binary dependencies are being downloaded, please wait until it completes".
  3. Never can sign into Azure.

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

Copied from original issue: microsoft/vscode#45699

@chrmarti chrmarti self-assigned this Apr 4, 2018
@chrmarti
Copy link
Contributor Author

chrmarti commented Apr 4, 2018

@glstream Do you see the 'Azure: Sign In' command in the command palette? What happens when you run that? Is there anything logged to the console (Help > Toggle Developer Tools)?

@chrmarti
Copy link
Contributor Author

chrmarti commented Apr 4, 2018

From @glstream on March 14, 2018 18:10

After clicking the 'Azure: Sign In' in the command palette here is the
responses.

Here is the error in the program:

The binary dependencies are being downloaded, please wait until it completes

And here is the error in the console:

console.ts:136 [Extension Host] Error: self signed certificate in
certificate chain at TLSSocket. (_tls_wrap.js:1088:38) at
emitNone (events.js:86:13) at TLSSocket.emit (events.js:188:7) at
TLSSocket._finishInit (_tls_wrap.js:610:8) at TLSWrap.ssl.onhandshakedone
(_tls_wrap.js:440:38)

console.ts:136 [Extension Host] Error: Acquiring user code failed at
/Users/gstream/.vscode/extensions/ms-vscode.azure-account-0.3.2/out/src/azure-account.js:573:28
at Request._callback (
/Users/gstream/.vscode/extensions/ms-vscode.azure-account-0.3.2/node_modules/adal-node/lib/util.js:119:7)
at self.callback (
/Users/gstream/.vscode/extensions/ms-vscode.azure-account-0.3.2/node_modules/request/request.js:188:22)
at emitOne (events.js:96:13) at Request.emit (events.js:191:7) at
Request.onRequestError (
/Users/gstream/.vscode/extensions/ms-vscode.azure-account-0.3.2/node_modules/request/request.js:884:8)
at emitOne (events.js:96:13) at ClientRequest.emit (events.js:191:7) at
TLSSocket.socketErrorListener (_http_client.js:358:9) at emitOne
(events.js:96:13) at TLSSocket.emit (events.js:191:7) at emitErrorNT
(net.js:1283:8) at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
t.log @ console.ts:136
t._logExtensionHostMessage @ extensionHost.ts:400
(anonymous) @ extensionHost.ts:213
emitTwo @ events.js:106
emit @ events.js:194
process.nextTick @ internal/child_process.js:766
_combinedTickCallback @ internal/process/next_tick.js:73
_tickCallback @ internal/process/next_tick.js:104

@chrmarti
Copy link
Contributor Author

chrmarti commented Apr 4, 2018

Are you using a HTTP proxy with a self-signed certificate?

@chrmarti
Copy link
Contributor Author

chrmarti commented Apr 4, 2018

From @glstream on March 15, 2018 7:30

Christof, I am using VS code on my Mac to connect to azure, thats all I know man. I just downloaded the extensions, "Are you using a HTTP proxy with a self-signed certificate”, I have no idea what that means, I am using VScode and a connection to the internet. I have a team of analysts that need to run u-sql queries against our data lake using a mac. If not in Vscode please let me know how.

On Mar 15, 2018, at 12:15 AM, Christof Marti notifications@github.com wrote:

Are you using a HTTP proxy with a self-signed certificate?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub microsoft/vscode#45699 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/AG1roiXylAJdVYe2P3GbdyxEgSEzppolks5tehUTgaJpZM4SpfF2.

@chrmarti
Copy link
Contributor Author

chrmarti commented Apr 4, 2018

Can you check if you have the HTTP_PROXY or HTTPS_PROXY environment variables set? (Run echo $HTTP_PROXY; echo $HTTPS_PROXY from a terminal. Not that this could include a password, so don't just post the values here.)

@chrmarti
Copy link
Contributor Author

chrmarti commented Apr 4, 2018

From @glstream on March 15, 2018 17:0

Yes I have https proxy variables set up and all the dependencies.

On Thu, Mar 15, 2018 at 1:55 AM, Christof Marti notifications@github.com
wrote:

Can you check if you have the HTTP_PROXY or HTTPS_PROXY environment
variables set? (Run echo $HTTP_PROXY; echo $HTTPS_PROXY from a terminal.
Not that this could include a password, so don't just post the values here.)


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
microsoft/vscode#45699 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG1rovt7mndAAF1u2U6_CfVxzoR-RVX-ks5teixpgaJpZM4SpfF2
.

@chrmarti chrmarti changed the title Azure Account Sign in Button not working Add option to disable certificate verification Apr 4, 2018
@chrmarti chrmarti changed the title Add option to disable certificate verification Add option to disable proxy certificate verification Apr 4, 2018
@chrmarti
Copy link
Contributor Author

Node.js uses a hardcoded list of certificates.

@mungojam
Copy link

A better workaround for Windows now is the newly released win-ca extension which lights up any extensions that need to use internal trusted SSL certificates

@chrmarti
Copy link
Contributor Author

Closing since there is a workaround. microsoft/vscode#52880 tracks the possibility of including win-ca in VS Code.

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

2 participants