当通知 compatibilityZoneURL 时,通告的 P2P 消息传递地址发生变化
Advertised P2P messaging addresses changes when compatibilityZoneURL is informed
我正在尝试在不同的机器上设置环境:
- 服务器 1:节点
- 服务器 2:网桥
- 服务器 3:浮动
当我执行节点注册或者:
java -jar corda.jar --just-generate-node-info
nodeInfo-XXX 上的地址已正确生成,指向 Server3 IP(浮动),我已将其放在 node.conf 上的 p2paddress 上。
但是当我将 compatibilityZoneURL 参数通知配置的 Cordite Network Map 服务并启动节点时,nodeInfo-XXX 和 "Advertised P2P messaging addresses" 只是更改为 Server1 IP,尽管该 IP 没有出现在 node.conf.
我的node.conf:
myLegalName="O=Node Test,L=Sao Paulo,C=BR"
p2pAddress="float-server-IP-or-alias:10005"
rpcSettings {
useSsl = false
standAloneBroker = false
address="0.0.0.0:10031"
adminAddress="0.0.0.0:10061"
}
security {
authService {
dataSource {
type=INMEMORY
users=[
{
password=test
permissions=[
ALL
]
user=user1
}
]
}
}
}
useTestClock = false
enterpriseConfiguration = {
externalBridge = false
mutualExclusionConfiguration = {
on = true
updateInterval = 20000
waitInterval = 40000
}
}
devMode=false
compatibilityZoneURL : "http://10.102.32.106:8080/"
keyStorePassword = "cordacadevpass"
trustStorePassword = "trustpass"
Edit: I'm using Corda Enterprise v3.1
您能否尝试将以下行添加到您的 node.conf:
detectPublicIp = false
来自文档:
This flag toggles the auto IP detection behaviour, it is enabled by default. On startup the node will attempt to discover its externally visible IP address first by looking for any public addresses on its network interfaces, and then by sending an IP discovery request to the network map service. Set to false to disable.
让我们知道这是否可行。
我正在尝试在不同的机器上设置环境:
- 服务器 1:节点
- 服务器 2:网桥
- 服务器 3:浮动
当我执行节点注册或者:
java -jar corda.jar --just-generate-node-info
nodeInfo-XXX 上的地址已正确生成,指向 Server3 IP(浮动),我已将其放在 node.conf 上的 p2paddress 上。
但是当我将 compatibilityZoneURL 参数通知配置的 Cordite Network Map 服务并启动节点时,nodeInfo-XXX 和 "Advertised P2P messaging addresses" 只是更改为 Server1 IP,尽管该 IP 没有出现在 node.conf.
我的node.conf:
myLegalName="O=Node Test,L=Sao Paulo,C=BR"
p2pAddress="float-server-IP-or-alias:10005"
rpcSettings {
useSsl = false
standAloneBroker = false
address="0.0.0.0:10031"
adminAddress="0.0.0.0:10061"
}
security {
authService {
dataSource {
type=INMEMORY
users=[
{
password=test
permissions=[
ALL
]
user=user1
}
]
}
}
}
useTestClock = false
enterpriseConfiguration = {
externalBridge = false
mutualExclusionConfiguration = {
on = true
updateInterval = 20000
waitInterval = 40000
}
}
devMode=false
compatibilityZoneURL : "http://10.102.32.106:8080/"
keyStorePassword = "cordacadevpass"
trustStorePassword = "trustpass"
Edit: I'm using Corda Enterprise v3.1
您能否尝试将以下行添加到您的 node.conf:
detectPublicIp = false
来自文档:
This flag toggles the auto IP detection behaviour, it is enabled by default. On startup the node will attempt to discover its externally visible IP address first by looking for any public addresses on its network interfaces, and then by sending an IP discovery request to the network map service. Set to false to disable.
让我们知道这是否可行。