vscode-copilot-release icon indicating copy to clipboard operation
vscode-copilot-release copied to clipboard

Error Code: net::ERR_HTTP2_PROTOCOL_ERROR

Open luchinango opened this issue 7 months ago • 4 comments

Type: Bug

Sorry, your request failed. Please try again. Request id: dd9ef7d2-b581-4aa1-98c9-850593a9f251

Reason: Please check your firewall rules and network connection then try again. Error Code: net::ERR_HTTP2_PROTOCOL_ERROR.

Extension version: 0.27.2 VS Code version: Code 1.100.2 (848b80aeb52026648a8ff9f7c45a9b0a80641e2e, 2025-05-14T21:47:40.416Z) OS version: Windows_NT x64 10.0.19045 Modes:

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i7-12700 (20 x 2112)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.75GB (16.20GB free)
Process Argv --crash-reporter-id 123e8893-5ffb-4ad8-86f9-3f9d052c628b
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt551:31249599
vscod805:30301674
binariesv615:30325510
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupyter:31046869
pythonrstrctxt:31112756
nativeloc1:31192215
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31222730
e5gg6876:31282496
pythoneinst12:31285622
bgtreat:31268568
4gafe986:31271826
c7cif404:31314491
996jf627:31283433
pythonrdcb7cf:31303019
usemplatestapi:31297334
0aa6g176:31307128
7bj51361:31289155
747dc170:31275177
pylancecolor:31314202
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
gendocf:31295004
9d2cg352:31309727

luchinango avatar May 30 '25 04:05 luchinango

exception.message:  Request Entity Too Large
http.response.status_code:  413

@lramos15 Do you know why we don't get the http status codes, but a net::ERR_HTTP2_PROTOCOL_ERROR instead?

@deepak1556 I guess this is not a limitation in Chromium?

chrmarti avatar Jun 10 '25 15:06 chrmarti

@chrmarti it could be the error happened at the time of initiating the request, let me double check the cases in which net::ERR_HTTP2_PROTOCOL_ERROR is thrown during request creation.

deepak1556 avatar Jun 11 '25 05:06 deepak1556

Sometimes the "Request Entity Too Large" error does bubble up: https://github.com/microsoft/vscode-copilot-release/issues/11958

chrmarti avatar Jun 11 '25 07:06 chrmarti

The error is sourced from the following file https://source.chromium.org/chromium/chromium/src/+/main:net/spdy/spdy_session.cc and it can happen for cases where error code is not available. There are different cases in that file request/response header parsing, frame related cases, session shutdown case. Netlog will contain additional error description for each of these cases, so the best path to understand the error would be to capture a netlog.

@luchinango can you start the application with --log-net-log=<path>/netlog.json replace <path> with some absolute writable path, repro the error and exit the application. Please forward the logs to [email protected]

deepak1556 avatar Jun 11 '25 09:06 deepak1556

This issue has been closed as it has been labeled with info-needed and has not received the additional information that was requested from the issue author. It has been labeled as info-needed for 7 days.