pzygmunt wrote: Wed Feb 03, 2021 9:46 am
Aaa... myślałem, że zainstalowałeś mosquitto w wersji standalone, a to wersja dockerowa.
Musisz zweryfikować ustawienia sieci wszystkich kontenerów.
Takie cóś z adresami IP
Code: Select all
br-53377508e9cf: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.19.0.1 netmask 255.255.0.0 broadcast 172.19.255.255
inet6 fe80::42:acff:fe46:7d49 prefixlen 64 scopeid 0x20<link>
ether 02:42:ac:46:7d:49 txqueuelen 0 (Ethernet)
RX packets 184314 bytes 11676240 (11.1 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 222606 bytes 20640498 (19.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
br-5cb44c63016c: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.20.0.1 netmask 255.255.0.0 broadcast 172.20.255.255
inet6 fe80::42:c4ff:fe1f:43a4 prefixlen 64 scopeid 0x20<link>
ether 02:42:c4:1f:43:a4 txqueuelen 0 (Ethernet)
RX packets 1 bytes 28 (28.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 23 bytes 3544 (3.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
br-d11eb1154c0f: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.18.0.1 netmask 255.255.0.0 broadcast 172.18.255.255
inet6 fe80::42:35ff:fefc:c292 prefixlen 64 scopeid 0x20<link>
ether 02:42:35:fc:c2:92 txqueuelen 0 (Ethernet)
RX packets 303 bytes 591767 (577.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 299 bytes 42309 (41.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
inet6 fe80::42:1aff:fe6d:c3ce prefixlen 64 scopeid 0x20<link>
ether 02:42:1a:6d:c3:ce txqueuelen 0 (Ethernet)
RX packets 217 bytes 9328 (9.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 342 bytes 23046 (22.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.16.144.2 netmask 255.255.255.0 broadcast 172.16.144.255
inet6 fe80::2089:4b0c:6ce3:9758 prefixlen 64 scopeid 0x20<link>
ether dc:a6:32:50:78:c0 txqueuelen 1000 (Ethernet)
RX packets 764689 bytes 55107561 (52.5 MiB)
RX errors 0 dropped 1154 overruns 0 frame 0
TX packets 175999 bytes 14238823 (13.5 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 3 bytes 188 (188.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3 bytes 188 (188.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
I takie cóś bez adresów IP
Code: Select all
veth0b1bc58: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 0e:ce:46:2a:7d:83 txqueuelen 0 (Ethernet)
RX packets 71500 bytes 6510158 (6.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 75955 bytes 6238551 (5.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
veth0dc2ecb: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::ec2d:a9ff:fe9c:82b prefixlen 64 scopeid 0x20<link>
ether ee:2d:a9:9c:08:2b txqueuelen 0 (Ethernet)
RX packets 460 bytes 617553 (603.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 486 bytes 618521 (604.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
veth104d335: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::6432:aeff:fef9:a0ce prefixlen 64 scopeid 0x20<link>
inet6 fe80::7808:fe32:a749:b59e prefixlen 64 scopeid 0x20<link>
ether 66:32:ae:f9:a0:ce txqueuelen 0 (Ethernet)
RX packets 75932 bytes 6235007 (5.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 71538 bytes 6516128 (6.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
veth4d9c906: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::6b12:6d39:d550:21e6 prefixlen 64 scopeid 0x20<link>
inet6 fe80::58c7:3aff:fe3e:21a4 prefixlen 64 scopeid 0x20<link>
ether 5a:c7:3a:3e:21:a4 txqueuelen 0 (Ethernet)
RX packets 217 bytes 12366 (12.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 357 bytes 25415 (24.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
veth7d7070b: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::3c02:93ff:fef6:1d49 prefixlen 64 scopeid 0x20<link>
ether 3e:02:93:f6:1d:49 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 31 bytes 3370 (3.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
veth8beafe0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::5cd5:1eff:fe72:2850 prefixlen 64 scopeid 0x20<link>
inet6 fe80::75cb:e9a2:a508:5dd prefixlen 64 scopeid 0x20<link>
ether 5e:d5:1e:72:28:50 txqueuelen 0 (Ethernet)
RX packets 207162 bytes 40602522 (38.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 230480 bytes 30978838 (29.5 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
veth92a6274: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::459:52ff:feab:8b29 prefixlen 64 scopeid 0x20<link>
ether 06:59:52:ab:8b:29 txqueuelen 0 (Ethernet)
RX packets 158 bytes 572965 (559.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 197 bytes 26238 (25.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vethb1f4ab3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::9cba:1bff:fe2c:fd7b prefixlen 64 scopeid 0x20<link>
inet6 fe80::e016:bf39:5d16:97ca prefixlen 64 scopeid 0x20<link>
ether 9e:ba:1b:2c:fd:7b txqueuelen 0 (Ethernet)
RX packets 9 bytes 1324 (1.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 39 bytes 5779 (5.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vethbeaea63: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::1024:50ff:fe92:5fbd prefixlen 64 scopeid 0x20<link>
ether 12:24:50:92:5f:bd txqueuelen 0 (Ethernet)
RX packets 410747 bytes 44678218 (42.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 426067 bytes 60647461 (57.8 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vethc8697e4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::a099:e5ff:fe8f:95bd prefixlen 64 scopeid 0x20<link>
ether a2:99:e5:8f:95:bd txqueuelen 0 (Ethernet)
RX packets 4002 bytes 550835 (537.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3757 bytes 601633 (587.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vethddf0e91: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::448c:92ff:fe59:f048 prefixlen 64 scopeid 0x20<link>
inet6 fe80::71a5:2e43:c118:5211 prefixlen 64 scopeid 0x20<link>
ether 46:8c:92:59:f0:48 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 47 bytes 7101 (6.9 KiB)
TX errors 0 dropped 2 overruns 0 carrier 0 collisions 0
Przy takich kontenerkach
Code: Select all
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8b51bf8b7463 eclipse-mosquitto "/docker-entrypoint.…" 2 days ago Up 4 hours 0.0.0.0:1883->1883/tcp, 0.0.0.0:9001->9001/tcp mosquitto
9d2d8e9f1367 suplascripts_suplascripts "docker-php-entrypoi…" 7 weeks ago Up 4 hours 80/tcp suplascripts
34259131f56f hypriot/rpi-mysql:5.5 "/entrypoint.sh mysq…" 7 weeks ago Up 4 hours 3306/tcp suplascripts-db
f6828192e08d supla/supla-server:arm32v7 "/usr/bin/server-ent…" 7 weeks ago Up 4 hours 0.0.0.0:2015-2016->2015-2016/tcp supla-server
29e77526e5f3 supla/supla-cloud:arm32v7 "docker-php-entrypoi…" 7 weeks ago Up 4 hours 80/tcp supla-cloud
a82dc0441395 hypriot/rpi-mysql:5.5 "/entrypoint.sh mysq…" 7 weeks ago Up 4 hours 3306/tcp supla-db
e740b6e306f9 lesny8/rpi-docker-gen "/usr/local/bin/dock…" 7 weeks ago Up 4 hours nginx-gen
d47af660db17 nginx "/docker-entrypoint.…" 7 weeks ago Up 4 hours 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp nginx-web
d22624935bbf lesny8/rpi-docker-letsencrypt-nginx-proxy-companion "/bin/bash /app/entr…" 7 weeks ago Up 4 hours nginx-letsencrypt
I takich sieciach dockerowych
Code: Select all
NETWORK ID NAME DRIVER SCOPE
1aedf20ec524 bridge bridge local
8ec28ae2d7e2 host host local
f9a32986cd7b none null local
53377508e9cf supla_default bridge local
5cb44c63016c suplascripts_default bridge local
d11eb1154c0f webproxy bridge local
pzygmunt wrote: Wed Feb 03, 2021 9:46 am
[EDIT]
Jak sieć padnie to podłącz się do PI i sprawdź co masz w logach. Najlepiej dmesg
Sprawdzałem, nic nie znalazłem w logach na moment padnięcia sieci
