-
Notifications
You must be signed in to change notification settings - Fork 51
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
COMException reading WebResourceResponse content #3229
Comments
After the computer is started, the first test result of the program is "No class registered" error, and all subsequent test results are "The pipe is being closed. (0x800700E8)" error. |
After testing, it is found that Response.GetContentAsync() will report an error after getting the redirected response body (the response status code is 200, and the response body has data). Redirects include 301, 302, 307, 308 |
Just tested in the 109.0.1518.78 runtime environment, the Response.GetContentAsync code can run normally. Is this an unknown bug of 110.0.1587.x? I have the same error when running on 110.0.1587.46. |
Thanks for reaching out. I've assigned this to a dev that can help follow up on this. |
@ElyssaJyu @novac42 Thanks for following up. |
Hi @m4wayne, could you give a description about your scenario and provide a sample project that I can simply repo the exception? It will be easier to find the root cause. Thanks. |
Hi @ElyssaJyu WebView2: 1.0.1587.40 WebView2Demo usage guide:
|
Hi @m4wayne, thanks for your provided details. I have cloned your project and saw the expception.gif. Also, I saw the comment in issue 1839.
Will this resolve your question? |
Hi @ElyssaJyu,#1839 (comment) didn't solve my problems. |
Hi @m4wayne, we've tracked it internally, and I will sync with you later. Thanks for your provided info. |
Great! Thanks for getting back to me! |
Having a similar issue with win32 webview2 browser. |
This should be fixed in WebView2 runtimes version 116.0.1902.0+. Thanks! |
Thanks all. |
In CoreWebView2.WebResourceResponseReceived EventHandler, I use Response.GetContentAsync to get the response content and get the following error:
-----------------------------------------------------Split line---------------------------------------------------------
These codes were working fine before, and they are not working since yesterday.The error usually received is "The pipe is being closed. (0x800700E8)", the other error "No class registered" is present only once. I've looked at #1839 and #1826 and haven't been able to solve the problem I'm having.
Updated the windows patch yesterday, I still get the same error after uninstalling the patch.
Here is the record I intercepted using Fiddler.Exception An error occurred while intercepting the sequence number 9 response.The response content of serial number 9 is normal when displayed in the browser.
Who can help me, thanks!
WebView2: 1.0.1264.42 and 1.0.1587.40
Runtime: 110.0.1587.50
Framework: .NET6 Winform
OS: Win10 22H2(19045.2604)
Visual Studio:Community 2022 (64 位) - Current版本 17.4.5
The above content was machine translated by Google, so the content may be a little strange.
AB#43494200
The text was updated successfully, but these errors were encountered: