Skip to content
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

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant