Replies: 1 comment 7 replies
-
I am not aware of any meaningful difference between pasta and slirp4netns in that regard. I am not aware of slirp4nents waiting for connections, maybe it was just slower to set up which meant the container did already bound the port? Maybe @sbrivio-rh has more insights in how a connection is established. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I have a kind of a strange issue, that I'm not sure if this is expected or a misconfiguration somewhere on my side, but since it seems since I switched from slirp4netns to paste for my container network, have have an minor issue with my network setup.
I have e.g. 2 containers starting up at the same time, one is an RabbitMQ Broker, the other one is an example application that as part of the startup establishes an connection to the RabbitMQ.
Obviously the RabbitMQ container needs some time to successfully start, so the example application is faster in calling connect (TCP connection). With slirp4netns it waited until the RabbitMQ came online before it proceeded, or timed out doing so. With Pasta it seems that the connection is established almost immediately, and the example application as part of the connection setup to rabbitmq issues its first read on the socket, which fails, as the RabbitMQ server hasn't come up yet.
This left me wondering, is there a functional difference between how pasta and slirp4netns deal with connection establishment between containers when the server isn't accepting any requests yet or am I having some other strange issue that I do not see clearly yet?
Any help is appreciated!
Beta Was this translation helpful? Give feedback.
All reactions