From 245c642ca8817963d6fb1a7bcf72f86290e9cb85 Mon Sep 17 00:00:00 2001 From: thedavidmeister Date: Tue, 27 Jun 2023 19:41:21 +0400 Subject: [PATCH] remove websockets network --- ipfs/container-init.d/002-set-udp-only.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ipfs/container-init.d/002-set-udp-only.sh b/ipfs/container-init.d/002-set-udp-only.sh index dce7554..5c2fd1d 100644 --- a/ipfs/container-init.d/002-set-udp-only.sh +++ b/ipfs/container-init.d/002-set-udp-only.sh @@ -3,5 +3,7 @@ set -euxo pipefail # https://github.com/ipfs/kubo/issues/3320#issuecomment-1321103079 ipfs config --bool Swarm.Transports.Network.TCP false +# https://github.com/ipfs/kubo/issues/9998 +ipfs config -json Swarm.Transports.Network.Websocket false # https://github.com/ipfs/kubo/blob/master/docs/config.md#addressesswarm ipfs config --json Addresses.Swarm '["/ip4/0.0.0.0/udp/4001/quic","/ip4/0.0.0.0/udp/4001/quic-v1","/ip4/0.0.0.0/udp/4001/quic-v1/webtransport","/ip6/::/udp/4001/quic","/ip6/::/udp/4001/quic-v1","/ip6/::/udp/4001/quic-v1/webtransport"]' \ No newline at end of file