couldn't create connection to server
Type: Bug
运行一会之后,插件就出现错误,重启vscode后,过段时间依然崩溃出错,无法恢复。
Extension version: 1.51.0 VS Code version: Code 1.76.2 (ee2b180d582a7f601fa6ecfdad8d9fd269ab1884, 2023-03-14T17:55:54.936Z) OS version: Windows_NT x64 10.0.19045 Modes: Sandboxed: No
System Info
| Item | Value |
|---|---|
| CPUs | 12th Gen Intel(R) Core(TM) i7-12700 (20 x 2112) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 31.70GB (6.43GB free) |
| Process Argv | |
| Screen Reader | no |
| VM | 50% |
Do I understand the description correctly that the Spring Tools work nicely for a while, and then suddenly the error appears?
I think we need to details here in order to find out what is going on there. If you open the Output view in VSCode, there should be an entry called vscode-spring-boot-debug-log in the dropdown. Does that entry exist and what does it contain?
Also, is there a way to reproduce this? Specific steps that lead to the error? And does it happen independent of the project that you have open, so the error appears for other Java/Spring Boot projects open in VSCode as well?
@BoykoAlex might also have additional ideas which information could be helpful here in order to debug the issue.
I can only re-emphasize that we'd need the spring boot language server log to proceed. Feels like an exception has been thrown while creating response for initialize message or exchange of capabilities between client and server...
I'd find Boot Language server log file setting under Spring Tools settings:
To output Spring Boot Language server log to a file and then try things again and attach the log file here.
Any additional information from your side @conquhare ?