PlatformIO is Broken for any esp32!

i’ve varified that my permissions are adequate - and even ran vscode as admin - still the same. I noticed that some parts of Github and a bunch of other platforms are down with a 500 error today - could the server Platformio is connecting to during the new-project-creation be malfunctioning or not able to connect to certain urls/repos?

EDIT: Alright, i installed VScode on my wifes laptop - never had ANY ide on it at all, same thing. Exact same errors, and same issue. At this point, i 100% know it is not my machine.

EDIT2: Some time later, i have solved it.

I tried vscode on another machine, same thing. However, when I logged out of my account on the other machine, disabled all extensions but the platformio and c++ extensions required by pio - the issue STILL happened. This told me it was not my machines - but something wrong with my extensions, so I went and checked the c++ extension - it was on the pre-release version. I switched to the release version - problem solved (for now). I am absolutely positive this was the cause of the issue. I tried everything prior, reinstalling vscode, reinstalling platformio (10 times might I add), checking user permissions, disabling windows defender, etc etc. Nothing worked. Check your c++ extension and ensure that it is on the ´release´ version, not the ´pre-release´. Then, delete the contents of the ´.platformio/packages´, ´.platformio/platforms´, ´.platformio/.cache´ folders and rebuild the project.

6 Likes