Skip to content
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

couldn't create connection to server #1167

Open
conquhare opened this issue Jan 11, 2024 · 3 comments
Open

couldn't create connection to server #1167

conquhare opened this issue Jan 11, 2024 · 3 comments

Comments

@conquhare
Copy link

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%
@martinlippert
Copy link
Member

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.

@BoykoAlex
Copy link
Contributor

BoykoAlex commented Jan 11, 2024

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.

@martinlippert
Copy link
Member

Any additional information from your side @conquhare ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants