vscode-azure-blockchain-ethereum
vscode-azure-blockchain-ethereum copied to clipboard
No prompt to connect to Infura
Problem
I get no interactive prompt to type in my credentials to connect to Infura when clicking Sign in to Infura account. I know I should be getting a prompt, after watching this video (go to 1:50).
Setup
Local
- VS Code
1.55.0-insider - Local machine: macOS Big Sur
11.2.1(M1 chip)
Remote
- Remote machine (through
Remote-SSH): Ubuntu20.04 - Blockchain Development Kit for Ethereum
1.6.0 - npm
6.14.4 - git
2.25.1 - nodejs
10.19.0 - truffle
5.2.6 - Web3.js
1.2.9 - Solidity
0.5.16 - Ganache CLI
v6.12.2(ganache-core:2.13.2)
Steps to replicate
After connecting to remote machine via Remote-SSH I press:
I get no interactive prompt to login whatsoever and on the bottom of the screen I see:
This keeps pending until it times out. If I click on it before timing out, I get:
Happy to provide more details if needed.
Thank you @pcko1 for this. I just validated the login with Infura, albeit on a Windows based machine with success. The proper flow would be:
- Initiate the login to Infura, as you did above.
- The users default browser is then opened navigating to the infura login.
- User logs in with their credentials and on success is then told to close the browser and come back to the IDE.
- User sees the login in the status bar and can use the projects / integration to Infura.
The problem may be with Mac platform specifically, I will need to do some more testing there to confirm.
A short demo of this is below:

I did notice that a new captcha has been added to the login with Infura that does seem to be hidden, which means you need to login to Infura out of band and then login via the extension. I will investigate this on another thread.
I think the problem is the remote Ubuntu server that I am SSHing to. I found out that the supported OS for Blockchain Development Kit for Ethereum is either Windows or macOS:
Bit sad 😞
I have just installed it locally on my Mac (without firstly connecting to my remote Ubuntu machine via Remote-SSH extension) and the behavior is nominal (similar to the one you showcased above). Would be awesome to support Ubuntu in the future :)
Ah, ok, I think we are limited there because we are popping the default browser from the VS Code extension api. I will look into this, and see if we have any alternatives. Worst case we could possibly give you link and ask you to go login with a code (device code flow).
I have the same issue but am using Ubuntu 20.04 via WSL 2 on Windows 10.
@caleteeter is this extension being abandonware?
Not at all, we are working a new version of this. Apologies on the lag on response here, not great. I will take a look at this and see if we can patch.
@caleteeter thanks for a quick response. The more important functionality of this extension, debugging Smart Contracts, is broken, so when that release will be out?