PlatformIO Community

VS Code PIO Home loading problem

Hey,
I’m struggling to open PIO on my office windows 10 computer.
my network is proxy enable and i tried to add proxy different way but failed

Thanks for any help in advance.

Samiul

Do you have a firewall on your local machine?

Thanks for your reply. Yes i have a active firewall on my computer. And after your comment i added and allowed visual studio code on my machine firewall. But still no luck

Does any of the information here help at all? Maybe the proxy bypass command-line parameter (since PIO Home is served from that machine, so shouldn’t need to go through the proxy)?

You need to add to whitelist %USER_HOME/.platformio folder.

1 Like

Thanks for your reply, what i add to whitelist i don’t understand. can you please clear more.

I’m trying to find the problem. For just check i opened platformio’s index.html file, link is “C:\Users\basher_samiul.platformio\packages\contrib-piohome\index.html”

Then error come with WebSocket connection to ‘ws://127.0.0.1:8008/wsrpc’. Maybe PlatformIO Team will help me to fixed this problem.

I think Ivan means to whitelist the %USERPROFILE%\.platformio folder in your anti-virus, in case it is playing up.

What happens if you run pio home from the VSCode terminal? Do you get any errors, or permission popups from your firewall? Is port 8008 allowed? Do the WebSocket errors go away if you reload the index.html page then (ie. the errors you got if the mini platformio home page web server isn’t running or you’re not connecting to it).

1 Like

Thank you for your kind help. using vs code terminal also got error.

1 Like

I had similar problem and the cause was Kaspersky Anti-Virus. Windows Defender doesn’t have any issues with PlatformIO.

1 Like