WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
201291
[curl] Failed to load resource: Stream error in the HTTP/2 framing layer
https://bugs.webkit.org/show_bug.cgi?id=201291
Summary
[curl] Failed to load resource: Stream error in the HTTP/2 framing layer
Fujii Hironori
Reported
2019-08-29 00:17:09 PDT
[curl][MSVC] Failed to load resource: Stream error in the HTTP/2 framing layer 1. Start WinCairo MiniBrowser built by MSVC 2. Open Web Inspector and open console 3. Go to
https://ja.wikipedia.org/
4. Fails to fetch some subresources as "Stream error in the HTTP/2 framing layer". I observed this issue only with MSVC, but not with clang-cl even though both using exactly same libcurl.dll. MSVC Release: NG MSVC Debug: NG Clang Release: OK Clang Debug: OK
Attachments
curl-log.txt (failed, MSVC)
(1.69 KB, text/plain)
2019-08-29 01:13 PDT
,
Fujii Hironori
no flags
Details
curl-log.txt (succeeded, Clang)
(2.38 KB, text/plain)
2019-08-29 02:19 PDT
,
Fujii Hironori
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Fujii Hironori
Comment 1
2019-08-29 00:19:46 PDT
Screenshot:
https://ibb.co/6J6vKxd
Fujii Hironori
Comment 2
2019-08-29 01:13:40 PDT
Created
attachment 377557
[details]
curl-log.txt (failed, MSVC) This issue can be reproduce with WinCairo WK1 MiniBrowser, and by loading single URL. I set the following env vars. $env:DEBUG_CURL=1 $env:CURL_LOG_FILE = "c:/webkit/curl-log.txt" Then, tryied to load the following URL:
https://upload.wikimedia.org/wikipedia/commons/thumb/1/13/HS_VdQ.svg/38px-HS_VdQ.svg.png
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)! * http2 error: Invalid HTTP header field was received: frame type: 1, stream: 1, name: [proxy-connection], value: [close] * HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
Fujii Hironori
Comment 3
2019-08-29 01:29:35 PDT
This can be reproduced with curl command. curl -v -4
https://upload.wikimedia.org/wikipedia/commons/thumb/1/13/HS_VdQ.svg/38px-HS_VdQ.svg.png
* Connection state changed (MAX_CONCURRENT_STREAMS updated)! * http2 error: Invalid HTTP header field was received: frame type: 1, stream: 1, name: [proxy-connection], value: [close] * HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1) * Connection #0 to host upload.wikimedia.org left intact curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1) On the other hand, curl -6 succeeded.
Fujii Hironori
Comment 4
2019-08-29 02:19:31 PDT
Created
attachment 377563
[details]
curl-log.txt (succeeded, Clang)
Fujii Hironori
Comment 5
2019-08-29 02:29:17 PDT
(In reply to Fujii Hironori from
comment #0
)
> I observed this issue only with MSVC, but not with clang-cl even though both > using exactly same libcurl.dll.
Oops. I had a mistake. I was using IPv6 enabled libcurl.dll with clang-cl builds. This is a server issue of IPv4 wikipedia server.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug