Vscode on ParrotOS INTERNET_DISCONNECTED

I just installed ParrotOS security version and installed VSCODE from the documentation with this line of code :

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sudo sh -c ‘echo “deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main” > /etc/apt/sources.list.d/vscode.list’
sudo apt-get update
sudo apt-get install code

But I can’t load any extensions. If I open the Developer Tools, I can see the following error :
ERR net::ERR_INTERNET_DISCONNECTED: Error: net::ERR_INTERNET_DISCONNECTED

How can I authorize vscode to connect ?

You can also answer on Slack > https://stackoverflow.com/questions/51221089/vscode-on-parrotos-err-internet-disconnected

Hello,
You can fix this issue, open a terminal and enter this cmd “sudo nano /etc/firejail/code.profile”
Then comment the line 16 like that " #net none "
That will unlock the net for vscode

1 Like

You save lives :wink: