-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
一台主机拥有多个IP地址时,brook链接失败 #2737
Comments
If you're using a JSON configuration for your federate, you can add |
I have used the json configuration file to specify the IP address, but if there are multiple IP addresses on the same host, the IP address that is not specified in the configuration file may be obtained when the zmq network topology is built, resulting in unsuccessful networking |
For example, in the figure above, I specified 172.21.200.36 in the configuration file, but when zmq is networked, it will obtain another IP address 172.21.200.111 on my host for connection, which will eventually lead to unsuccessful networking |
You can also instantiate your broker and specify the IP address you want it to use: Also try specifying the address as "localhost" or 127.0.0.1 (assuming broker and federates are on the same computer). If you do this, also add the |
Currently the agent and the federation member are on the same server. Today I tried to disable all network cards, only keep the IP address of 172.21.200.36, and only use the address of 172.21.200.36 when configuring, but when the network topology is established, main_broker connect to the local loopback address: 127.0.0.1, and other nodes try to connect to 172.21.200.36, resulting in the network environment initialization failure. |
I'm going to loop in @phlptp to help answer this specific question. |
I'm definitely confused why the IP addresses are causing this much trouble so let's try something else. Can you try changing the HELICS core to TCP ( |
Describe the bug
A clear and conc
ise description of what the bug is.
what is the current behavior
What is the expected behavior?
What is the motivation / use case for changing the behavior?
To Reproduce
Steps to reproduce the behavior:
Please provide a minimal working example of the bug if possible.
Environment (please complete the following information):
Additional context and information
(e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
The text was updated successfully, but these errors were encountered: