-
Notifications
You must be signed in to change notification settings - Fork 1.6k
PlatformIO error Connection to server got closed. Server will not be restarted #6126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm not able to repro. Does it repro with 1.0 still? Can you provide more repro details? Do you have a repro project you can provide? Your first screenshot appears to show that cpptools crashed before the 1st screenshot. Were there other repro steps leading up to that? |
I have the same problem. I am installing the program for the first time. I want to try, but the build of the project does not work. |
I'm not able to repro. I don't remember how did this happen but it was as first time as @Veoramid |
Today I've had one "Connection to server got closed. Server will not be restarted" |
Just FYI, this is a message that a VS Code dependency of ours prints out when the extension process crashes. The message is incorrect because we manage the restart of the extension instead of letting VS Code do it. The message says "Server will not be restarted" because we tell VS Code not to do it for us and that's what they print out as a result. Unless you see the message that says "The language server crashed 5 times in the last 3 minutes. It will not be restarted." the extension should be running. Is IntelliSense (e.g. auto-complete, quick info tooltips, etc) working for you, or are you saying that the extension is broken? |
I have the same problem. "[Error - 4:01:28 PM] Connection to server got closed. Server will not be restarted." I cannot build project, download or start the serial monitor. Please help !!! |
IntelliSense isn't working at all |
This is the first time I installed the program. I pressed "next", "next", "next" ... |
Is anyone able to attach a debugger to the cpptools process before it crashes to get a call stack? https://github.com/microsoft/vscode-cpptools/wiki/Attaching-debugger-to-cpptools-or-cpptools%E2%80%90srv Or does anyone have complete repro steps? |
@t0maszduda 0.25.1 is a year old. It's not obvious what change in 0.26.0 could have caused it (without a call stack of the crash). |
It is for @Veoramid |
I have the message"The language server crashed 5 times in the last 3 minutes. It will not be restarted. source: C/C++(Extension)". Is there anyway can I recover or use cpptools? Try to uninstall and install vscode or uninstall c/c++ extension are not useful. |
@Mingming-Git What version of the C/C++ extension are you using? Are you able to attach a debugger to cpptools before it crashes to get a callstack? Or are you able to provide repro steps that I can follow? I haven't been able to repro this crash yet. |
@sean-mcmanus I'm sorry, my vscode is offline. I can't transfer the log to here. I use vscode ssh remote. It can't go to reference during i modify the code. And it just reports the problem when I restart vscode. The vscode version: 1.49.0(stable) I change the c/c++ extension to 1.0.1(stable), now the problem is "The terminal process failed to launch: a native exception occured during launch(forkpty(3) failed)". This problem maybe affected by linux server,(create process limit?) I will check it. thanks. |
@sean-mcmanus I check the linux server and vscode has many same process. The vscode and extensions works normal when I killed all of them. To all, FYI: |
Hey @sean-mcmanus, this issue might need further attention. @t0maszduda, you can help us out by closing this issue if the problem no longer exists, or adding more information. |
There is no problem with PlatformIO and VSCode now. I reinstalled VSCode and it helped. |
after crash I have "Connection to server got closed. Server will not be restarted"
The text was updated successfully, but these errors were encountered: