platformio-vscode-ide: Could not start PIO Home server: Error: timeout
Temporary solution
- Please open PlatformIO IDE Terminal
- Type
pio homecommand, it should force PIO Core to download all required packages - Restart PlatformIO IDE.
P.S: Please check that your OS/Firewall does not block 127.0.0.1:8010 port. PlatformIO Home works on this port.
Description of problem
Leave a comment…
BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN
Configuration
VSCode: 1.25.1 PIO IDE: v0.17.3 System: Windows_NT, 10.0.10240, x64
Exception
Could not start PIO Home server: Error: timeout
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 11
- Comments: 69 (12 by maintainers)
After I install WSL2, PlatformIO doesn’t works.! WSL2 uses 127.0.0.1 as it’s local domain. And PIO also seems to use the same URL.
Then restarted vscode and everything is ok now.
Change Pio Home Server Http Port number to any available port from 0 like this image below.
好像并没有解决
Tenia el mismo problema y me funciono
I was having the same problems and have fixed this on Ubuntu recently upgraded to 21.04:
pip3.9 uninstall semantic-versionsudo rm -rf /usr/lib/python3/dist-packages/semantic_version*pyenv install 3.7.11pyenv global 3.7.11pip install semantic-version platformioI fixed it by disconnected networks.
Step 1 Just disconnected your computer network, then execute
pio home, obviously you will get the error.Step 2 Then reconnected your network, execute
pio homeagain, it’s working.I documented this issue on my blog.
It was confusing, but this action did solve my problem.
My version: VS Code version:
1.70.2PlatformIO version:6.1.4On Window 10, 11, It can be only a network driver error, just restart the network service running as administrator: net stop winnat net start winnat.
I had this issue, and nothing helped. To investigate, I installed with pip:
Then I could run
strace pio homecommand in the terminal and I noticed it hangs on accessing/run/uuidd/request- so I removed it:Then after forcefully killing the process, when I ran
pio homecommand again, it could finish successfully. I installed PIO in vscode again, and it finally worked!I only ran
pip install semantic-version platformioand it works! thxI had the same issue on Ubuntu 22.04 and Visual Code to v1.70.1 (currently the latest). Resolved after
sudo apt install platformioand running commandpio homein shell (Visual Code | PlatformIO Core CLI) which starts the web browser correctly. Then restart PlatformIO. Thanks!I battled this issue for a hot minute. I solved it for windows. I had to uninstall vs code. I then had to delete all files and folder for vs code and platformio. I was then able to reinstall vs code and platformio individually. now it opens and runs…
en mac os lo que me funciono
/Users/usuario/.platformiola carpeta de platformio no la movi, esa fue la ruta por defecto de la instalación.
Lo que hice fue mover la carpeta .PlatformIO en disco local C y despues reinicie.
Sorry, I can’t help here. It seems you broke VSCode configuration. Please open VSCode preferences for PlatformIO IDE and RESET evrything to the default state. Also, you can remove
%HOME_DIR%/.platformiofolder and restart VSCode.I recommend to open discussin at https://community.platformio.org/. We don’t provide help here.