[UWP] Webview无法显示未知原因的页面 [英] [UWP]Webview cannot display page for unknown reason

查看:89
本文介绍了[UWP] Webview无法显示未知原因的页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我有一个可以显示网页的现有UWP。

I have an existing UWP that would display a webpage.

我使用webview.Navigate()函数来显示它。

I used the webview.Navigate() function to display it.

逻辑本身正在运行。如果我将Uri设置为例如
www.microsoft.com
,然后就可以了。

The logic itself is working. If I set the Uri to e.g. www.microsoft.com, then it works.

如果我将它设置为我的网站,它不起作用。目前该网站在两个城市复制。一个在多伦多,另一个在香港。

If I set it to my site, it does not work. Currently the site is replicated in 2 cities. One being in Toronto and the other is in HK.

我有一个奇怪的事情,如果我将URI设置为Toronot网站,它可以工作。

The strange thing I had is that if I set the URI to Toronot site, it works.

如果我将URI设置为HK网站,则不起作用。

If I set the URI to HK site, it does not works.

由于这2个网站基本上是彼此的复制品,因此内容是相同的。

Since the 2 sites are basically replica of each other, the content are the same.

此外,两个网站都使用来自同一机构(COMODO)的正确SSL证书。

Also, both site are using correct SSL certificates from the same authority (COMODO).

知道为什么会这样吗?

谢谢!

推荐答案

嗨achanhk,

Hi achanhk,

当它不起作用时,你可以给我一些例外吗?你的操作系统构建版本是什么?

Can you give me some exception when it does not work. What's your OS build version?

你能分享我的URI吗?

Can you share me the URI ?

Jerry


这篇关于[UWP] Webview无法显示未知原因的页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆