【发布时间】:2018-06-25 15:05:36
【问题描述】:
我遇到了一个不知道如何解决的 Bolt 身份验证问题。我将在线提供商的备份恢复到本地计算机。我可以启动浏览器并运行“CALL db.schema”,然后查询返回。但是当我尝试只选择一组样本数据时,我在日志中看到了这一点,并且查询永远不会返回。
2018-06-25 14:39:23.778+0000 ERROR Unexpected error detected in bolt session 'ace2d3fffe92e75d-0005b714-00000004-4c1990029792d052-f94315d8'. The client is unauthorized due to authentication failure.
org.neo4j.bolt.v1.runtime.BoltConnectionFatality: The client is unauthorized due to authentication failure.
at org.neo4j.bolt.v1.runtime.BoltStateMachine.handleFailure(BoltStateMachine.java:742)
at org.neo4j.bolt.v1.runtime.BoltStateMachine.handleFailure(BoltStateMachine.java:728)
at org.neo4j.bolt.v1.runtime.BoltStateMachine.access$500(BoltStateMachine.java:62)
at org.neo4j.bolt.v1.runtime.BoltStateMachine$State$1.init(BoltStateMachine.java:435)
at org.neo4j.bolt.v1.runtime.BoltStateMachine.init(BoltStateMachine.java:145)
at org.neo4j.bolt.v1.messaging.BoltMessageRouter.lambda$onInit$0(BoltMessageRouter.java:70)
at org.neo4j.bolt.runtime.MetricsReportingBoltConnection.lambda$enqueue$0(MetricsReportingBoltConnection.java:69)
at org.neo4j.bolt.runtime.DefaultBoltConnection.processNextBatch(DefaultBoltConnection.java:195)
at org.neo4j.bolt.runtime.MetricsReportingBoltConnection.processNextBatch(MetricsReportingBoltConnection.java:87)
at org.neo4j.bolt.runtime.DefaultBoltConnection.processNextBatch(DefaultBoltConnection.java:143)
at org.neo4j.bolt.runtime.ExecutorBoltScheduler.executeBatch(ExecutorBoltScheduler.java:170)
at org.neo4j.bolt.runtime.ExecutorBoltScheduler.lambda$scheduleBatchOrHandleError$2(ExecutorBoltScheduler.java:153)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
在我的配置文件中,我可以关闭安全性:dbms.security.auth_enabled=false,然后一切正常。但我想了解我为什么/如何得到这个错误,所以我不必这样做。在桌面的管理选项卡中,我尝试更改密码并显示成功但错误仍然存在?
【问题讨论】:
-
可能是现有的 Bolt 连接在更改密码后仍处于活动状态。您是否尝试过停止并重新启动 neo4j 浏览器?
-
重启实例失败。我可以关闭数据库,更改密码,重新启动桌面,启动数据库,打开新的浏览器。我可以连接,但我不能查询数据。
-
我也刚刚尝试删除并重新创建我的管理员用户 'neo4j' 用户,但我仍然收到错误。
标签: security authentication neo4j bolt neo4j-desktop