Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sockets/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
neo4j远程指南错误:TypeError:尝试获取资源时出现NetworkError_Neo4j - Fatal编程技术网

neo4j远程指南错误:TypeError:尝试获取资源时出现NetworkError

neo4j远程指南错误:TypeError:尝试获取资源时出现NetworkError,neo4j,Neo4j,刚刚安装了新版本(community edition 3.4.9),我在neo4j.conf上有此配置: browser.remote_content_hostname_whitelist=* browser.post_connect_cmd=play http://127.0.0.1:80/egov-guide/introduction.html; 我们的想法是运行一个介绍数据库的特定指南。使用以前的版本运行良好,但使用此版本,我会遇到以下错误: Remote guide error: Ty

刚刚安装了新版本(community edition 3.4.9),我在
neo4j.conf
上有此配置:

browser.remote_content_hostname_whitelist=*
browser.post_connect_cmd=play http://127.0.0.1:80/egov-guide/introduction.html;
我们的想法是运行一个介绍数据库的特定指南。使用以前的版本运行良好,但使用此版本,我会遇到以下错误:

Remote guide error: TypeError: NetworkError when attempting to fetch resource.
仅需完成:如果切换到3.4.7或3.4.8,则可以访问教育指南。最后一个可通过IIS访问,web.config如下所示:

    <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
  <httpProtocol>
    <customHeaders>
      <add name="Access-Control-Allow-Origin" value="*" />
      <add name="Access-Control-Allow-Methods" value="GET, PUT, POST, DELETE, HEAD, OPTIONS" />
      <add name="Access-Control-Allow-Credentials" value="true" />
      <add name="Access-Control-Allow-Headers" value="X-Requested-With, origin, content-type, accept" />
    </customHeaders>
  </httpProtocol>
        <staticContent>
            <mimeMap fileExtension=".grass" mimeType="neo4j/style" />
        </staticContent>
</system.webServer>
</configuration>


我不知道我是否做错了什么

neo4j的人解决了这个问题。他们告诉我们必须发送Pragma和Cache控制头以及自neo4j browser 3.4.9以来的请求

因此web.config应该完成,如下所示:

<add name="Access-Control-Allow-Headers" value="X-Requested-With, origin, content-type, accept, Pragma, Cache-Control" />

Hi Joao,命令是:玩,不只是玩,也许就是这样。