neo4j - .Net 客户端 Neo4J 连接错误 IOException: ... Neo4j 4.0 中的加密设置已更改
问题描述
我尝试使用 .Net 客户端 4.1.6 连接到由 Graphene 托管的 Neo4J 3.5 版数据库,该客户端在 .NET 中使用驱动程序 4.2。我收到此错误:
Connection with the server breaks due to IOException: Unexpected end of stream when performing handshake, read returned 0 Please ensure that your database is listening on the correct host and port and that you have compatible encryption settings both on Neo4j server and driver. Note that the default encryption setting has changed in Neo4j 4.0.
有几点需要注意:
- 我能够使用我的应用程序的旧版本(驱动程序 1.7)连接到数据库,所以我知道数据库是可访问的
- 我能够连接到我的 3.5 数据库的本地副本,所以我知道这不是驱动程序兼容性问题
- 我能够将我的 Neo4J 浏览器远程连接到我的 Graphene 托管数据库,这表明该数据库是可访问的
我无法在我的新应用程序中降级驱动程序的版本。我尝试将加密级别设置为EncryptionLevel.Encrypted
. 关于为什么会发生此错误的任何帮助都会有所帮助。
解决方案
推荐阅读
- javascript - 解开 onMouseEnter、onMouseLeave 和 onClick 中的状态变化
- javascript - 为什么切换的类不会为元素设置动画并且控制台中没有错误
- vba - 在 Microsoft Access 中打开报表中的相应表单
- tensorflow - 使用 Gradient.Tape 计算自定义损失函数的梯度
- flutter - 使容器高度跟随项目
- python - 使用pyinstaller将python文件执行为exe后出错
- hive - hive 查询 presto 创建的表失败
- azure-data-factory - 使用 ADF 在 cosmos db 中记录文件名
- c++ - 如何根据类型制作具有重载函数的模板?
- autoencoder - 低维聚类会比高维更准确吗?