我正在使用Rust开发CQRS DDD模式的微服务,我使用Eventstoredb作为命令服务。但是当grpc想要连接Eventstore docker时,我会遇到这样的错误:
ERROR eventstore::grpc] Error when connecting to https://localhost:2113/: transport error: error trying to connect: received corrupt message我搜索了很多,但没有答案。
发布于 2021-04-05 21:01:14
现在我找到了解决方案。连接字符串具有TLS=true的默认值,您必须在本地主机的连接字符串中手动写入TLS=false。
let settings = "esdb://admin:changeit@localhost:2113?tls=false".parse()?;https://stackoverflow.com/questions/66953462
复制相似问题