【问题标题】:POST https://localhost:26143/skypectoc/v1/pnr/parse net::ERR_CONNECTION_REFUSEDPOST https://localhost:26143/skypectoc/v1/pnr/parse net::ERR_CONNECTION_REFUSED
【发布时间】:2015-07-04 00:00:54
【问题描述】:

我在我的聚合物站点中使用 DISQUS,我收到了这个错误大约三百,我检查了polymer-project.org,它有同样的问题。

POST https://localhost:26143/skypectoc/v1/pnr/parse net::ERR_CONNECTION_REFUSED

polymer-project.org 网站:

我的网站:

大约有三百个请求!

我像这样使用disqus-commnets 元素:

<core-header-panel mode="waterfall-tall" tallClass="medium-tall"  >
        <div  class="core-header ">{{response[0].title}}</div>
          <div layout horizontal center-justified flex class="contentcontainer">
            <div flex?="{{!phoneScreen}}"></div>
            <div vertical flex four style="background:#ffffff;box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19); color: #555;">
              <div flex  id="content" class="markdown-body"></div>
              <div flex><disqus-comments shortname="myName"></disqus-comments></div>
            </div>
            <div flex?="{{!phoneScreen}}"></div>
          </div>
      </core-header-panel>

是什么原因造成的?下面的这个错误说明了什么?

WebSocket connection to 'wss://realtime.services.disqus.com/ws/2/thread/3704740536?' failed: WebSocket is closed before the connection is established.

而且,DISQUS 甚至不显示在 firefix、safari 和 IE 上,有人有什么想法吗?

【问题讨论】:

    标签: polymer disqus shadow-dom


    【解决方案1】:

    /skypectoc/v1/pnr/parse 它由 Skype 插件(安装在 chrome 上)调用,这就是为什么您只能在 google chrome 中看到 XHR 调用。

    卸载 Skype 插件。

    【讨论】:

    • 是的,删除Skype插件后它们消失了。
    【解决方案2】:

    以前禁用或卸载 Skype 插件的解决方案似乎是一个有效的解决方案,但如果您的网站是面向公众的,那么它就不是了。 你需要的是一个永久的解决方案,无论他们是否安装了插件。一旦你知道了诀窍,永久的解决方案就非常容易。 您所要做的就是将以下代码 sn-p 添加到您的网站头部,它将阻止 Skype click to call 彻底扫描网站!

    <meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" />
    

    【讨论】:

      猜你喜欢
      • 2019-12-23
      • 1970-01-01
      • 2021-03-30
      • 1970-01-01
      • 2021-12-16
      • 2016-07-21
      • 1970-01-01
      • 1970-01-01
      • 2021-07-01
      相关资源
      最近更新 更多