【问题标题】:Establishing secure connection delays homepage load (adsense)建立安全连接会延迟主页加载 (adsense)
【发布时间】:2018-10-16 10:47:05
【问题描述】:

只有当我在 index.html 中激活我的两个桌面广告单元时才会发生这种情况(这是唯一的页面,因为它是一个单页网站)。

它随机卡在建立安全连接...(在窗口的左下角)6-15 秒,然后加载页面的其余部分。

我正在使用 google analytics async、adsense async 和 youtube-api(我不会在页面加载时加载视频)。

此外,我在我的网站上都专门使用 https 链接,并且域名显然是在 https 上加载的。

我尝试在<head> 中添加这一行但没有改变:

<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">

发生这种情况时,在控制台中,一旦完成加载,它就会向我抛出此错误:

获取 https://image6.pubmatic.com/AdServer/UCookieSetPug?oid=1&rd=https%3A%2F%2Fcm.g.doubleclick.net [..] net::ERR_TIMED_OUT

或类似:

:ERR_TIMED_OUT UCookieSetPug?:1

【问题讨论】:

  • 你查看过这个关于Chrome keep saying Establishing Secure Connection的谷歌论坛吗?
  • 最后一条评论说“在安装了新 Chrome 的全新 Windows 10 安装上仍然会发生这种情况”我想那里也没有解决?此外,当您从浏览器的角度搜索问题时,我想确保访问我的网站的用户不会发生这种情况,因为我这边发生了一些错误

标签: javascript html https youtube-api adsense


【解决方案1】:

在,

服务 > 加密服务 > 登录 >

确保Log on as: Local system account 被勾选并且不是 This account

【讨论】:

    猜你喜欢
    • 2021-11-01
    • 1970-01-01
    • 2010-11-26
    • 1970-01-01
    • 2013-02-28
    • 1970-01-01
    • 1970-01-01
    • 2014-12-11
    • 2020-10-14
    相关资源
    最近更新 更多