-
Notifications
You must be signed in to change notification settings - Fork 55
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
No connectivity (V1.3.1) #3250
Comments
@bits-bytes yeah it definitely seems like a container networking issue, though we're more than happy to discuss it here as I'm sure you won't be the only person running into this issue. In light of that, can you provide more details about your setup:
|
Hello, I apologize for the late response. Unfortunately, I no longer have the broken container running. What I do have are:
What stands out, though, is that — even though the container was restarted — the log indicates that a bridge already exists. Also, the “Binds” in container inspect differ, which I think shouldn’t be the case. Can anyone see the connections here? Thank you , |
To answer the remaining questions:
We’re using prebuilt .tar images. The attached files are used for their creation.
No, there are no firewall rules in place that would block specific IP addresses.
It’s one container per machine. |
There are a few things to unpack here, though nothing super obvious just yet.
This isn't that surprising as you're using docker and not kubernetes. Docker (and podman) will generally persiste the container's file system across container restarts, so if the bridge files under
Yes having different mount config under the HostConfig definitely sounds a bit strange, though I'm not sure if that is problematic or not, I'd have to research to see in what scenarios that can occur. Did you happen to do any self updates? From the data you have provided it seems that you are deploying the containers using docker compose (as there are |
Hi,
Honestly, I’m not sure if this issue is related to tedge or something else, like docker. I thought I’d start here to get the specialists' opinions.
Describe the bug
I have tedge running in a docker environment with Portainer and two additional containers. All containers (except for Portainer) use the same network, with IP addresses ranging from 172.18.0.2 to 172.18.0.4. Strangely, although the startup process should be consistent, each container repeatedly receives different IP addresses.
There are three systems, all using the same EDGE device and running exactly the same software. However, one machine occasionally fails to function. I suspect that tedge might be causing this issue. It is not always the same machine, any machine possible.
I've just discovered that, in such cases, the IP address of the tedge container can't even be reached with a ping from other containers. The only solution seems to be deleting and recreating the container, which temporarily resolves the issue.
To Reproduce
I don't have a specific procedure to reproduce the issue. The machines are powered on every morning, and while this situation doesn’t occur every time, randomly one of the machines experiences this problem.
Expected behavior
Connect to the tenant, whatever.
Screenshots
Environment (please complete the following information):
OS [incl. version] - Alpine 3.18.9 (?)
Hardware [incl. revision] - Phönix VL3
System-Architecture [e.g. result of "uname -a"]
Linux 3f4154b4cd33 6.8.0-48-generic 48~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 7 11:24:13 UTC 2 x86_64 Linux
thin-edge.io version [e.g. 1.3.1]
Additional context
Thank you for your time and attention.
Regards, Manfred
The text was updated successfully, but these errors were encountered: