sts4 icon indicating copy to clipboard operation
sts4 copied to clipboard

couldn't create connection to server

Open conquhare opened this issue 1 year ago • 3 comments

Snipaste_2024-01-11_14-34-46 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%

conquhare avatar Jan 11 '24 06:01 conquhare

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.

martinlippert avatar Jan 11 '24 10:01 martinlippert

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: Screenshot 2024-01-11 at 10 21 14 To output Spring Boot Language server log to a file and then try things again and attach the log file here.

BoykoAlex avatar Jan 11 '24 15:01 BoykoAlex

Any additional information from your side @conquhare ?

martinlippert avatar Mar 25 '24 08:03 martinlippert