Commit c035f10
committed
fix: explicitly peer private-mode IPFS nodes after startup
mDNS auto-discovery has proven unreliable across different Docker
networking environments - verified working on Docker Desktop but not
on a native Linux Docker bridge network (e.g. GitHub Actions runners),
where sibling IPFS nodes never connected to each other despite the
earlier AutoConf/Bootstrap fix, causing shared storage downloads to
hang/time out again.
Query each member's real PeerID via its own IPFS API after containers
start, then call swarm/peering/add on every other member so they
connect to (and persistently reconnect to) each other, regardless of
whether mDNS works in a given environment.
Signed-off-by: Enrique Lacal <enrique.lacal@kaleido.io>1 parent 12206e5 commit c035f10
2 files changed
Lines changed: 45 additions & 111 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
588 | 589 | | |
589 | 590 | | |
590 | 591 | | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
591 | 632 | | |
592 | 633 | | |
593 | 634 | | |
| |||
945 | 986 | | |
946 | 987 | | |
947 | 988 | | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
948 | 993 | | |
949 | 994 | | |
950 | 995 | | |
| |||
0 commit comments