【发布时间】:2021-08-22 05:07:32
【问题描述】:
最初,当我使用 neo4j 数据库访问 API 时,它可以正常工作,但一段时间后,当我尝试访问 API 时,出现以下错误:
Failed after retried for 6 times in 30000 ms. Make sure that your database is online and retry again.
我在 API 中使用下面的代码进行数据库连接:
var neo4jClient = new BoltGraphClient(new Uri(connectionUrl), Username, Password);
neo4jClient.ConnectAsync();
services.AddSingleton<IBoltGraphClient>(neo4jClient);
【问题讨论】:
标签: asp.net-core neo4j graph-databases neo4jclient