Neo4j的HA集群终点返回404 [英] neo4j HA cluster end points return 404
问题描述
我快4点(2群集节点,2仲裁节点)的Neo4j在AWS EC2(Linux)的内部专用子网2上的虚拟机2.2.5企业集群。我能够启动群集,并有成员加入他们的行列。然而,当我尝试访问健康检查的网址,即使在本地机器上,我收到404错误。我可能错过了一些非常基本的位置,并将AP preciate任何指针。 同样的事情也能正常工作在我的本地机器上。此外,在服务器上的系统时间约2分钟,而在我的本地它出现在秒变得可用。
I'm running a 4 node (2 cluster nodes, 2 arbiter nodes) neo4j 2.2.5 enterprise cluster on 2 virtual machines in a private subnet within AWS EC2 (Linux). I'm able to start the clusters and have members join them. However, when I try to access the health check URLs even on the local machine, I receive a 404 error. I may have missed something very basic here and would appreciate any pointers. The same thing works fine on my local machine. Also, on the server the system takes about 2 minutes to become available while on my local it comes up in seconds.
curl -v http://ip-10-0-1-98:7474/db/manage/server/ha/available
[ec2-user@ip-10-0-2-98 log]$ curl -v http://ip-10-0-1-98:7474/db/manage/server/ha/available
* Trying 10.0.1.98...
* Connected to ip-10-0-1-98 (10.0.1.98) port 7474 (#0)
> GET /db/manage/server/ha/available HTTP/1.1
> User-Agent: curl/7.40.0
> Host: ip-10-0-1-98:7474
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Date: Thu, 24 Sep 2015 13:06:52 GMT
< Content-Type: text/plain
< Access-Control-Allow-Origin: *
< Transfer-Encoding: chunked
< Server: Jetty(9.2.4.v20141103)
<
* Connection #0 to host ip-10-0-1-98 left intact
此外,在配置上面我有残疾DBMS身份验证,因此我不及格的凭据。 谢谢, 理学新手!
Also, in the configuration above I have disabled dbms auth and so am not passing the credentials. Thx, Neo-Newbie!
推荐答案
顺便说一句,这竟然是由于neo4j.properties文件中的错误配置。有一个额外的冒号服务器:端口规范这一行。
Btw, this turned out to be due to a misconfiguration in neo4j.properties file. There was an extra colon in the server:port specification for this line..
ha.server=ip-10-0-2-98::6001
这篇关于Neo4j的HA集群终点返回404的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!