GRPCwebProxy 和 Iroha

GRPCwebProxy and Iroha

我在本地 ubuntu 机器上 运行 使用 docker 连接了 IROHA 节点,我能够 运行 使用 docker shell.

我想要 Iroha 的 JS 实现,所以我有 运行 GRPC 的 docker 文件,但它无法连接到 IROHA, 错误:

WARN[1672] [core] grpc: addrConn.createTransport failed to connect to {dev.localdomain:50051 dev.localdomain:50051 <nil> 0 <nil>}. Err: connection error: desc = "transport: Error while dialing dial tcp 127.0.0.1:50051: connect: connection refused". Reconnecting... system=system
[GRPC console][2]

我通过对已经提供的解决方案进行一些更改来解决 GrpcWebProxy,现在您可以在这里看到它:

https://github.com/AqeelKazmi/IrohaDockerServices