Skip to content

SQL connection becomes stale and must restart VS Code to reconnect #22156

@rennyTeachers

Description

@rennyTeachers

Type: Bug

For a couple weeks I've been encountering my SQL connections failing within an hour or so, attempt to reconnect, they either load forever or fail, and only a restart of VS Code will allow me to restablish. Our entra policies are not configured to expire so quickly. I've updated several times since this began and have seen no improvement.

Extension version: 1.42.2
VS Code version: Code 1.118.1 (034f571df509819cc10b0c8129f66ef77a542f0e, 2026-04-29T17:36:44+03:00)
OS version: Windows_NT x64 10.0.26200
Modes:

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 x 2304)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x8086, DEVICE=0x9a60 [Intel(R) UHD Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=32.0.101.7084 ACTIVE
GPU1: VENDOR= 0x10de, DEVICE=0x1fbc [NVIDIA T1200 Laptop GPU], DRIVER_VERSION=32.0.15.8195
GPU2: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8246
Machine model name:
Machine model version:
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_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.73GB (8.65GB free)
Process Argv --file-uri file:///c%3A/Users/Renny.Yeager.TTT/OneDrive%20-%20Teachers%20of%20Tomorrow%2C%20LLC/Documents/SQL%20Queries/SQLServer.code-workspace --crash-reporter-id b088a757-504d-47fd-bf51-a868f60e5443
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
4f60g487:31327383
6abeh943:31336334
envsactivate1:31505457
cloudbuttont:31379625
3efgi100_wstrepl:31403338
839jf696:31457053
ddidtcf:31399634
ec5jj548:31422691
cp_cls_c_966_ss:31454199
inlinechat_v2_hd992725:31505030
4je02754:31466945
8hhj4413:31478653
ge8j1254_inline_auto_hint_haiku:31490510
38bie571_auto:31478677
cp_cls_c_1081:31454833
conptydll_true:31498968
ia-use-proxy-models-svc:31452481
e9c30283:31461165
test_treatment2:31471001
c9b86496:31447327
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
nes-extended-on:31455476
chat:31457767
8hig5102:31480529
7e187181:31503455
i2gc6536:31499202
52612955:31516516
ghj88844:31499326
ddid_t:31478206
hmra_i5g22:31518061
getcmakediagnosticson:31489824
ja75b849:31515466
7df3h592:31512476
pro_large_t:31499376
cp_cls_t_1082:31516087
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_c_632:31517842
852d2892:31506239
56dj4588:31512888
32d76977:31512328
ha629193:31508444
539gd155_c:31506875

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions