neo4j连接失败问题

一下午都在处理这个报错neo4j.exceptions.ServiceUnavailable: Unable to retrieve routing information

问了ai无数次,查找了无数次原因,无法解决。

遂使用古法的debug方式,上浏览器找解决办法了。

于是在https://stackoverflow.com/questions/73025684/unable-to-retrieve-routing-information-neo4j

里面看到了答案

This could be due to the certificate error. It worked for me after changing the certificate to self signed SSL. You could try using neo4j+ssc://{IP_address}:{Port} as the link to DB.

证书验证问题

方案1:修改 .env 文件使用 neo4j+ssc://

方案2:使用 bolt+ssc://(备选)

为什么这样可以解决?

  • neo4j+s:// - 需要有效的 SSL 证书验证

  • neo4j+ssc:// - 使用自签名证书(self-signed certificate),跳过证书验证

Neo4j Aura 免费实例使用的是自签名证书,所以需要 +ssc 协议。

相关推荐
亦暖筑序2 天前
GraphRAG vs 传统向量RAG:Spring AI实战对比
知识图谱·neo4j·向量数据库·rag·spring ai·graphrag
i建模3 天前
Milvus 和neo4j对比
neo4j·milvus
哥本哈士奇(aspnetx)4 天前
看完《低智商犯罪》,学习Cypher构建知识图谱
neo4j
子榆.7 天前
CANN TensorFlow适配器:当tf.matmul跑在昇腾NPU上时在底层发生了什么
人工智能·neo4j·llama
lzp07918 天前
基于多模态视觉模型和图文向量模型的工业图像知识库研究与应用(伍)
数据库·学习·neo4j
子榆.9 天前
CANN ATC编译器:模型从Python到达芬奇指令走了多远
开发语言·python·neo4j
程序员清洒9 天前
一个Token的昇腾之旅——从模型输入到硬件执行的完整链路
neo4j·cann
林夕0712 天前
Qt集成AI推理引擎:TensorFlow Lite与ONNX Runtime实战
人工智能·qt·neo4j
格鸰爱童话14 天前
springboot3.2使用neo4j
springboot·neo4j
Yeats_Liao17 天前
智能感知低功耗设计:MCU上的AI异常检测与能效优化
人工智能·单片机·物联网·neo4j