vscode-azure-account
vscode-azure-account copied to clipboard
"No response from the server" logging in to Azure with v 0.10.0
- VS Code Version: 1.64.2
- Azure Account Extension Version: 0.10.0
- OS Version: Windows 10 Enterprise 19042.1526
Steps to Reproduce:
- VS Code with 0.9.11 extension
- Sign out of Azure Account
- Upgrade extension to 0.10.0
- Sign in to Azure command
- Authenticate in browser
- Get this alert in VS Code "no response from the server"
- In VS Code Output window for Azure Account extension:
OAuth2Client: ERROR: No response from the server
Stack:
Error: No response from the server
at Logger.createError (c:\Users\******\.vscode\extensions\ms-vscode.azure-account-0.10.0\dist\extension.bundle.js:2:788524)
at c:\Users\******\.vscode\extensions\ms-vscode.azure-account-0.10.0\dist\extension.bundle.js:2:801557
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Error: No response from the server
Error: No response from the server
Thanks for filing, @anthonywhite. Does this issue persist when you revert to version 0.9.11 using the method demonstrated here? And does this problem repeatably happen on version 0.10.0?
Please also try signing in with the Azure: Sign In with Device Code
command and let us know if you run into the same issue.
I have a similar issue with version 0.10.0, but the error I get is:
Error: Could Not Connect Description: Could not connect to the server "login.microsoftonline.com".
Reverting to 0.9.11 works. Going back to 0.10.0 and attempting Azure: Sign In with Device Code returns:
**Error: Could Not Connect Description: Could not connect to the server "login.microsoftonline.com".
Error: Get Device Code request returned http error: 502 and server response: "<HTML>\n<HEAD>\n<TITLE>Could Not Connect</TITLE>\n</HEAD>\n\n<BODY BGCOLOR="white" FGCOLOR="black">\n<H1>Could Not Connect</H1>\n<HR>\n\n<FONT FACE="Helvetica,Arial"><B>\nDescription: Could not connect to the server "<EM>login.microsoftonline.com</EM>".\n</B></FONT>\n<HR>\n</BODY>\n" Error: Acquiring user code failed**
@mwilsonray the issue you mentioned is similar but I'm not convinced it's the same issue that @anthonywhite ran into. I filed a new issue to track it: https://github.com/microsoft/vscode-azure-account/issues/450
Thanks for filing, @anthonywhite. Does this issue persist when you revert to version 0.9.11 using the method demonstrated here? And does this problem repeatably happen on version 0.10.0?
Please also try signing in with the
Azure: Sign In with Device Code
command and let us know if you run into the same issue.
@wwlorey Reverting to 0.9.11 all problems disappear. On 0.10.0:
- Sign In behaviour I described above
- Sign In with Device Code does not even open a browser window and gives this error output:
OAuth2Client: ERROR: No response from the server
Stack:
Error: No response from the server
at Logger.createError (c:\Users\*****\.vscode\extensions\ms-vscode.azure-account-0.10.0\dist\extension.bundle.js:2:788524)
at c:\Users\*****\.vscode\extensions\ms-vscode.azure-account-0.10.0\dist\extension.bundle.js:2:803059
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Error: No response from the server
Error: No response from the server
Error: Acquiring user code failed
- All 0.10.0 errors reliably repeatable
@anthonywhite please upgrade to version 0.10.1 and let us know if you're still running into this problem.
@anthonywhite please upgrade to version 0.10.1 and let us know if you're still running into this problem.
Hi @wwlorey still getting same errors...🙁
just an update to confirm latest version 0.11.0 makes no difference...sigh
- VS Code Version: 1.69.0
- Azure Account Extension Version: 0.11.0
- OS Version: Windows 10 Enterprise 19042.1766
Steps to Reproduce:
- VS Code with 0.9.11 extension
- Sign out of Azure Account
- Upgrade extension to 0.11.0
-
Sign in to Azure with Device Code
VS Code command
In VS Code Output window for Azure Account extension:
Attempting to reach URL "https://login.microsoftonline.com/"... Attempting to reach URL "https://login.microsoftonline.com/"... Fri, 08 Jul 2022 09:16:53 GMT:883d31f8-d142-418a-9af9-30d869c28638 - OAuth2Client: ERROR: No response from the server Stack: Error: No response from the server at Logger.createError (c:\Users\******\.vscode\extensions\ms-vscode.azure-account-0.11.0\dist\extension.bundle.js:2:820398) at c:\Users\*******\.vscode\extensions\ms-vscode.azure-account-0.11.0\dist\extension.bundle.js:2:834933 at processTicksAndRejections (node:internal/process/task_queues:96:5) Error: No response from the server Error: No response from the server Acquiring user code failed
Revert to trusty 0.9.11
version, Reload window and all is good again...
====================================================================
For a while now even downgrading to 0.9.11 does not work. "token is invalid"
I am also receiving this error. We do have a proxy, but I've bypassed the proxy and the behavior was the same. I tried installing v0.9.11, but that didn't solve it for me. If I click the https://login.microsoftonline.com/ link and open it in a browser, I authenticate successfully with SSO.
Not sure if this could be the problem, but my Azure account is part of an organizational tenant and I have no current subscriptions or payment methods on file.
OS version: Windows 10 Enterprise 21H2 (OS Build 19044.1889) Azure Account extension version: v0.11.1 VS Code version: 1.70.2
Steps to reproduce:
Using versions listed above, run any of Azure: Sign In
, Sign In with Device Code
, Sign In to Azure Cloud
(specifying our tenant id)
Output from the Azure Account extension:
Attempting to reach URL "https://login.microsoftonline.com/"...
Fri, 26 Aug 2022 16:53:19 GMT:461b0d36-d67d-405e-86e9-b6e8a5b00313 - OAuth2Client: ERROR: No response from the server
Stack:
Error: No response from the server
at Logger.createError (c:\Users\*****\.vscode\extensions\ms-vscode.azure-account-0.11.1\dist\extension.bundle.js:2:820371)
at c:\Users\*****\.vscode\extensions\ms-vscode.azure-account-0.11.1\dist\extension.bundle.js:2:834906
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Error: No response from the server
Error: No response from the server
Acquiring user code failed
I'm facing the same issue (also the some outputs in log) - windows + corporate proxy + the same configuration as @seanstedor. Downgrading the azure extensions to versions before from January-March allowed me to bypass the problem. Microsoft Azure Storage Explorer - connects to Azure account without problems (the same windows machine + corporate proxy). Under linux (the same config but no proxy) - no problems.
I'm facing same error, install 0.9.11 problem solved.
Yep - Same issue here. Since 0.9.11 I can't login. Any news?
@jarach, @touchmii, @scottygarskipton
Any chance you know what software your proxy server is running? (Forcepoint, Squid, etc.)
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
I'm facing same error and behind corporate proxy, reverting to 0.9.11 solved problem.