Cordapps peers list 在 azure corda 部署中返回自己的节点信息
Cordapps peers list returning own node info in azure corda deployment
我已经按照这些文档在 Azure 门户中创建了一个 corda 网络:
Documentation: https://docs.corda.net/azure-vm.html
我使用的来自 link 的 cordapp jar...
Yo cordapp jar: http://ci-artifactory.corda.r3cev.com/artifactory/cordapp-showcase/yo-4.jar
我在 3 个 corda 节点中安装了相同的 jar。
现在 Web 应用程序是 运行,在 ipaddress:10004,但是 http://ipaddress:10004/api/yo/peers returns
{
"peers" : [ "C=GB,L=London,O=Organisation 4 (Corda 2.0.0)" ]
}
http://ipaddress:10004/api/yo/peers returns
{
"me" : "C=GB,L=London,O=Organisation 4 (Corda 2.0.0)"
}
我不确定我是否遗漏了网络管理器节点上的任何内容。有什么建议么??提前致谢。
在哟! CorDapp,peers
端点被定义为 return 网络上所有对等点的列表,包括你自己。参见 https://github.com/corda/samples/blob/release-V3/yo-cordapp/src/main/kotlin/net/corda/yo/Yo.kt#L72。
您得到的响应表明您看不到网络地图节点。一些尝试:
- 检查您是否可以从您节点的机器 ping 网络映射节点的机器
- 确保 CorDapp 运行 在网络地图节点的机器上正确
- 确保您的节点的
node.conf
文件列出了网络映射节点的正确地址和端口
我已经按照这些文档在 Azure 门户中创建了一个 corda 网络:
Documentation: https://docs.corda.net/azure-vm.html
我使用的来自 link 的 cordapp jar...
Yo cordapp jar: http://ci-artifactory.corda.r3cev.com/artifactory/cordapp-showcase/yo-4.jar
我在 3 个 corda 节点中安装了相同的 jar。
现在 Web 应用程序是 运行,在 ipaddress:10004,但是 http://ipaddress:10004/api/yo/peers returns
{
"peers" : [ "C=GB,L=London,O=Organisation 4 (Corda 2.0.0)" ]
}
http://ipaddress:10004/api/yo/peers returns
{
"me" : "C=GB,L=London,O=Organisation 4 (Corda 2.0.0)"
}
我不确定我是否遗漏了网络管理器节点上的任何内容。有什么建议么??提前致谢。
在哟! CorDapp,peers
端点被定义为 return 网络上所有对等点的列表,包括你自己。参见 https://github.com/corda/samples/blob/release-V3/yo-cordapp/src/main/kotlin/net/corda/yo/Yo.kt#L72。
您得到的响应表明您看不到网络地图节点。一些尝试:
- 检查您是否可以从您节点的机器 ping 网络映射节点的机器
- 确保 CorDapp 运行 在网络地图节点的机器上正确
- 确保您的节点的
node.conf
文件列出了网络映射节点的正确地址和端口