Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Run sample project WinFormsWebView2, but the webpage is blank #140

Open
Wennie-Li opened this issue Sep 6, 2023 · 0 comments
Open

Run sample project WinFormsWebView2, but the webpage is blank #140

Wennie-Li opened this issue Sep 6, 2023 · 0 comments

Comments

@Wennie-Li
Copy link

In the project WinFormsWebView2, we only modify the Authority as "https://demo.duendesoftware.com/" in Form1.cs, because the old one is out of maintain.

Authority = "https://demo.duendesoftware.com/",
ClientId = "interactive.public",
Scope = "openid email api offline_access",
RedirectUri = "http://localhost/winforms.client",
Browser = new WinFormsWebView()

Then we build the project and run it. The expected behavior is that authorization page can load successfully. But in our one machine, the page can not loaded, it shows a blank page.

This issue only occurs on one machine. On other machines with the same os and webview2 version, this sample project can work normally.
OS: Windows Server 2019 version 1809(OS Build 17763.2300)
webview2 runtime: 115.0.1901.203(also tried version 116.0.1938.62)

We also use Fiddler to troubleshoot this issue. Fiddler shows the authorization login page is accessed by the sample code, but seems webview2 didn't loaded the page visually.

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

No branches or pull requests

1 participant