Closed AmrKhaledNowahy closed 2 years ago
Could you reproduce this issue after restart?
Please reopen if you still need help
Could not start PIO Home server: Error: timeout #205
after running pio home, restart IDE, pio loading page stay stuck on :
PlatformIO: IntelliSense Index Rebuild
WIN10 vscode 1.49.1 PIO 2.1.0
i got the same problem as NitrofMtl
can somebody tell me why its not working as it should i been messing with this for a week already reading all kinds of solutions but nothing works like wtf is it so hard to just put a firmware out there that works so noobs like me don't get seriously frustrated
Do you use antivirus software?
Yes its AVG and i had turned it of before and that didnt workVerzonden vanaf mijn Samsung Galaxy-smartphone. -------- Oorspronkelijk bericht --------Van: Ivan Kravets notifications@github.com Datum: 19-10-2020 09:54 (GMT+01:00) Aan: platformio/platformio-vscode-ide platformio-vscode-ide@noreply.github.com Cc: sebby49 sajp.van.swelm@t-mobilethuis.nl, Comment comment@noreply.github.com Onderwerp: Re: [platformio/platformio-vscode-ide] Could not start PIO Home server: Error: timeout (#205) Do you use antivirus software?
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.
It blocks PlatformIO from running PlatformIO home local server.
You can try to run it from PlatformIO CLI
pio home
Does it work?
P.S: there is nothing useful from today’s antivirus software. It damages your machines and walks around your files looking for sweet things. Check Internet what Avast does in user machines.
i already noticed i can turn of the firewall but the AVG engine i can't turn of means i have to uninstal it to shut down also i am a complete noob in coding etc so to me its all gibberisch
now i uninstalled AVG software and this is what i get same thing
Check a debug information, see details in the output window.
hmm
Do you use the latest PlatformIO IDE extension 2.1.3? Please wait for a few seconds when PlatformIO loads, then start debug.
yes i have the latest version and it fails to install the IO core and now the intellisense index rebuild keeps spinning forever
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%/.platformio
folder and restart VSCode.
I recommend to open discussin at https://community.platformio.org/. We don't provide help here.
yo soluciones buscando la carpeta .platformio y pegándola en el disco local de mi sistema operativo. no es crear una carpeta es buscar la carpeta y pegarla.
yo soluciones buscando la carpeta .platformio y pegándola en el disco local de mi sistema operativo. no es crear una carpeta es buscar la carpeta y pegarla.
Buenas, de dónde la copiaste y dónde la pegaste?
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.
Ola!
Não consigo instala a plataformaIO, segue em anexo a falha ... Até desinstalei o python, mas segue dando falha.
Por favor me ajuda!
I was having the same problems and have fixed this on Ubuntu recently upgraded to 21.04:
pip3.9 uninstall semantic-version
sudo rm -rf /usr/lib/python3/dist-packages/semantic_version*
pyenv install 3.7.11
pyenv global 3.7.11
pip install semantic-version platformio
Tenia el mismo problema y me funciono
Lo que hice fue mover la carpeta .PlatformIO en disco local C y despues reinicie.
en mac os lo que me funciono
/Users/usuario/.platformio
la carpeta de platformio no la movi, esa fue la ruta por defecto de la instalación.
I had the same issue on macOS Big Sur Version 11.6. I resolved the issue by downgrading to a previous version of platformIO and then updating to the newest version again. I thought I'd share this, since it might help someone else. 🙂
@JonathanCaes could you update PlatformIO IDE extension to the latest version, removed folders below, and restart VSCode?
~/.platformio/python3
~/.platformio/penv
It seems the issue is linked with the outdated Python 3.8 version.
Does it work now?
I had this issue, and nothing helped. To investigate, I installed with pip:
sudo -H pip install platformio
Then I could run strace pio home
command in the terminal and I noticed it hangs on accessing /run/uuidd/request
- so I removed it:
sudo rm /run/uuidd/request
Then after forcefully killing the process, when I ran pio home
command again, it could finish successfully. I installed PIO in vscode again, and it finally worked!
I "solved" the issue in Kubuntu 20.04 by downgrading from v2.4.0 to the previous version (v2.3.4). It looks like it's working now.
@migueldiago what was your error message?
(Win10) Windows Firewall didn't prompt me to add rules for platformio.exe - doing this manually solved the issue
好像并没有解决
On 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.
[ubuntu 22.04] just install pip from python3 : sudo apt install python3-pip, worked for me! and reinstall the extesion again! pio upgrade gave me the suggestion to install pip
Thank you dear @jonathand03 That worked for me as well.
This worked for me
pip3 install semantic-version platformio
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.
I tried a really long time but now I got PlatformIO working again. A 100% fix is to delete .platformio and .vscode folder in C:\users\
I uninstalled and reinstalled everything many times and "pip3 install semantic-version platformio" worked for me, too. Thank you growolff!!!!
Platform IO Home would lock up when opening VSCode, apparently during Intellisense Index rebuild.
This happened after I deleted my .platformio folder for the first time in a long time. The root cause is actually re-downloading all dependencies.
While dependencies are downloading, there is no output in VSCode. This causes a UX issue, where the user is waiting for a PlatformIO VSCode Task to complete, but the name of the task is unrelated to the actual task being performed by pio.
Waiting for all of the dependencies to install by watching the contents of .platformio/packages slowly fill up gave me enough patience to wait for the task to complete. When it did, my IDE returned back to normal.
Simply, don't bother deleting any other folder than .platformio, and make sure you wait patiently for your libraries to re-download. I suggest monitoring network traffic, or the output folder.
Sorry please. I´m sorry . Upload fail!! Is solved close atom and reopen vscode .
Sorry for the incovenence
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...
Please reopen if you still need help
I am having this problem on Ubuntu 22.04. Latest VScode and latest PIO. It works fine on Win10 but not on Linux.
@Dragondude1960 does it work if you open PlatformIO CLI and type pio home
?
I had this issue, and nothing helped. To investigate, I installed with pip:
sudo -H pip install platformio
Then I could run
strace pio home
command in the terminal and I noticed it hangs on accessing/run/uuidd/request
- so I removed it:sudo rm /run/uuidd/request
Then after forcefully killing the process, when I ran
pio home
command again, it could finish successfully. I installed PIO in vscode again, and it finally worked!
Yess. thanks for that it helps me solve the same problem(Ubuntu 22.04 LTS with Vs Code)
it may due to the UI language, i changed the language to English and the problem solved.
I had the same issue on Ubuntu 22.04 and Visual Code to v1.70.1 (currently the latest). Resolved after sudo apt install platformio
and running command pio home
in shell (Visual Code | PlatformIO Core CLI
) which starts the web browser correctly. Then restart PlatformIO. Thanks!
i had the same issue on windows 7, visual studio code 1.70.2, i tryed every solution but nothing.
A strange fact is that the server always choose the 8008 port, even if i change it manually even if i change the pio home server http port fro
For knowledge, my pc is under a corporate network that use a self signed certificate but i don't think is it because it work well on my laptop.
thanks
I 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 home
again, 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.2
PlatformIO version: 6.1.4
Hello I got this error since I install the Platformio:
Temporary solution
pio home
command, it should force PIO Core to download all required packagesP.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