go-libp2p
go-libp2p copied to clipboard
autorelay: not reconnecting after a sudden stream close
Problem
I have a relay v2 running on a public accessible server, and an p2p application behind a NAT that uses libp2p. We use the option autorelay.WithStaticRelays in the client app so the autorelay knows where to find a relay to do hole punching with other peers. It connects and start reserving slots without problem. If for some reason the relay on the server gets reseted, then the autorelay deletes that relay with the log:
2022-07-06T17:02:19.491+0200 DEBUG autorelay autorelay/relay_finder.go:142 disconnected from relay {"id": "XXXX"}
and after that never tries to reconnect to that relay.
Expected behavior
I would expect that autorelay sends that failling relay to backoff the same way when it fails to connect.
Related PR's: #1587
Version Information
mintter cloud.google.com/go v0.65.0 cloud.google.com/go/bigquery v1.8.0 cloud.google.com/go/datastore v1.1.0 cloud.google.com/go/pubsub v1.3.1 cloud.google.com/go/storage v1.10.0 crawshaw.io/iox v0.0.0-20181124134642-c51c3df30797 crawshaw.io/sqlite v0.3.2 => ./third_party/sqlite dmitri.shuralyov.com/app/changes v0.0.0-20180602232624-0a106ad413e3 dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9 dmitri.shuralyov.com/html/belt v0.0.0-20180602232347-f7d459c86be0 dmitri.shuralyov.com/service/change v0.0.0-20181023043359-a85b471d5412 dmitri.shuralyov.com/state v0.0.0-20180228185332-28bcc343414c git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999 github.com/99designs/gqlgen v0.17.12 github.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96 github.com/BurntSushi/toml v1.1.0 github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802 github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible github.com/Kubuxu/go-os-helper v0.0.1 github.com/NebulousLabs/fastrand v0.0.0-20181203155948-6fb6489aac4e github.com/NebulousLabs/go-upnp v0.0.0-20180202185039-29b680b06c82 github.com/OneOfOne/xxhash v1.2.2 github.com/Shopify/sarama v1.19.0 github.com/Shopify/toxiproxy v2.1.4+incompatible github.com/Stebalien/go-bitfield v0.0.1 github.com/VividCortex/gohistogram v1.0.0 github.com/Yawning/aez v0.0.0-20211027044916-e49e68abd344 github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da github.com/aead/siphash v1.0.1 github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5 github.com/agnivade/levenshtein v1.1.1 github.com/alecthomas/kong v0.6.1 github.com/alecthomas/repr v0.0.0-20210801044451-80ca428c5142 github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 github.com/andybalholm/brotli v1.0.3 github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 github.com/antihax/optional v1.0.0 github.com/apache/thrift v0.13.0 github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0 github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6 github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a github.com/aws/aws-lambda-go v1.13.3 github.com/aws/aws-sdk-go v1.27.0 github.com/aws/aws-sdk-go-v2 v0.18.0 github.com/benbjohnson/clock v1.3.0 github.com/beorn7/perks v1.0.1 github.com/bgentry/speakeasy v0.1.0 github.com/bradfitz/go-smtpd v0.0.0-20170404230938-deb6d6237625 github.com/btcsuite/btcd v0.23.1 => github.com/btcsuite/btcd v0.23.1 github.com/btcsuite/btcd/btcec/v2 v2.2.0 github.com/btcsuite/btcd/btcutil v1.1.1 github.com/btcsuite/btcd/btcutil/psbt v1.1.4 github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f github.com/btcsuite/btcwallet v0.15.1 github.com/btcsuite/btcwallet/wallet/txauthor v1.2.3 github.com/btcsuite/btcwallet/wallet/txrules v1.2.0 github.com/btcsuite/btcwallet/wallet/txsizes v1.1.0 github.com/btcsuite/btcwallet/walletdb v1.4.0 github.com/btcsuite/btcwallet/wtxmgr v1.5.0 github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd github.com/btcsuite/goleveldb v1.0.0 github.com/btcsuite/snappy-go v1.0.0 github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792 github.com/btcsuite/winsvc v1.0.0 github.com/buger/jsonparser v0.0.0-20181115193947-bf1c66bbce23 github.com/burdiyan/go/kongcli v0.0.0-20200124222818-6f87e0e684b6 github.com/burdiyan/go/mainutil v0.0.0-20200124222818-6f87e0e684b6 github.com/bxcodec/faker/v3 v3.8.0 github.com/casbin/casbin/v2 v2.1.2 github.com/cenkalti/backoff v2.2.1+incompatible github.com/cenkalti/backoff/v4 v4.1.1 github.com/census-instrumentation/opencensus-proto v0.2.1 github.com/cespare/xxhash v1.1.0 github.com/cespare/xxhash/v2 v2.1.2 github.com/cheekybits/genny v1.0.0 github.com/chzyer/logex v1.1.10 github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1 github.com/cilium/ebpf v0.2.0 github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec github.com/client9/misspell v0.3.4 github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4 github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1 github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd github.com/containerd/cgroups v0.0.0-20201119153540-4cbc285b3327 github.com/coreos/etcd v3.3.10+incompatible github.com/coreos/go-etcd v2.0.0+incompatible github.com/coreos/go-semver v0.3.0 github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f github.com/coreos/go-systemd/v22 v22.3.2 github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf github.com/cpuguy83/go-md2man v1.0.10 github.com/cpuguy83/go-md2man/v2 v2.0.1 github.com/crackcomm/go-gitignore v0.0.0-20170627025303-887ab5e44cc3 github.com/creack/pty v1.1.9 github.com/cskr/pubsub v1.0.2 github.com/davecgh/go-spew v1.1.1 github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c github.com/decred/dcrd/crypto/blake256 v1.0.0 github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 github.com/decred/dcrd/lru v1.0.0 github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f github.com/dgraph-io/badger v1.6.2 github.com/dgraph-io/ristretto v0.0.2 github.com/dgrijalva/jwt-go v3.2.0+incompatible github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2 github.com/dgryski/trifles v0.0.0-20200323201526-dd97f9abfb48 github.com/docker/go-units v0.4.0 github.com/dsnet/compress v0.0.1 github.com/dustin/go-humanize v1.0.0 github.com/dvyukov/go-fuzz v0.0.0-20210602112143-b1f3d6f4ef4e github.com/eapache/go-resiliency v1.1.0 github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21 github.com/eapache/queue v1.1.0 github.com/edsrzf/mmap-go v1.0.0 github.com/elastic/gosigar v0.12.0 github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1 github.com/envoyproxy/protoc-gen-validate v0.1.0 github.com/facebookgo/atomicfile v0.0.0-20151019160806-2de1f203e7d5 github.com/fatih/color v1.7.0 github.com/fergusstrange/embedded-postgres v1.10.0 github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 github.com/flynn/noise v1.0.0 github.com/form3tech-oss/jwt-go v3.2.3+incompatible github.com/francoispqt/gojay v1.2.13 github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8 github.com/frankban/quicktest v1.14.3 github.com/fsnotify/fsnotify v1.4.9 github.com/ghodss/yaml v1.0.0 github.com/gin-contrib/sse v0.1.0 github.com/gin-gonic/gin v1.6.3 github.com/gliderlabs/ssh v0.1.1 github.com/go-check/check v0.0.0-20180628173108-788fd7840127 github.com/go-errors/errors v1.0.1 github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1 github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4 github.com/go-kit/kit v0.10.0 github.com/go-kit/log v0.1.0 github.com/go-logfmt/logfmt v0.5.0 github.com/go-playground/assert/v2 v2.0.1 github.com/go-playground/locales v0.13.0 github.com/go-playground/universal-translator v0.17.0 github.com/go-playground/validator/v10 v10.2.0 github.com/go-sql-driver/mysql v1.4.0 github.com/go-stack/stack v1.8.0 github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee github.com/gobwas/pool v0.2.0 github.com/gobwas/ws v1.0.2 github.com/godbus/dbus/v5 v5.0.4 github.com/gogo/googleapis v1.1.0 github.com/gogo/protobuf v1.3.2 github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e github.com/golang/lint v0.0.0-20180702182130-06c8688daad7 github.com/golang/mock v1.6.0 github.com/golang/protobuf v1.5.2 github.com/golang/snappy v0.0.4 github.com/google/btree v1.0.1 github.com/google/go-cmp v0.5.8 github.com/google/go-github v17.0.0+incompatible github.com/google/go-querystring v1.0.0 github.com/google/gofuzz v1.0.0 github.com/google/gopacket v1.1.19 github.com/google/martian v2.1.0+incompatible github.com/google/martian/v3 v3.0.0 github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99 github.com/google/renameio v0.1.0 github.com/google/uuid v1.3.0 github.com/googleapis/gax-go v2.0.0+incompatible github.com/googleapis/gax-go/v2 v2.0.5 github.com/gopherjs/gopherjs v0.0.0-20190430165422-3e4dfb77656c github.com/gorilla/context v1.1.1 github.com/gorilla/mux v1.8.0 github.com/gorilla/websocket v1.5.0 github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 github.com/grpc-ecosystem/grpc-gateway v1.16.0 github.com/grpc-ecosystem/grpc-gateway/v2 v2.5.0 github.com/gxed/hashland/keccakpg v0.0.1 github.com/gxed/hashland/murmur3 v0.0.1 github.com/hashicorp/consul/api v1.3.0 github.com/hashicorp/consul/sdk v0.3.0 github.com/hashicorp/errwrap v1.1.0 github.com/hashicorp/go-cleanhttp v0.5.1 github.com/hashicorp/go-immutable-radix v1.0.0 github.com/hashicorp/go-msgpack v0.5.3 github.com/hashicorp/go-multierror v1.1.1 github.com/hashicorp/go-rootcerts v1.0.0 github.com/hashicorp/go-sockaddr v1.0.0 github.com/hashicorp/go-syslog v1.0.0 github.com/hashicorp/go-uuid v1.0.1 github.com/hashicorp/go-version v1.2.0 github.com/hashicorp/go.net v0.0.1 github.com/hashicorp/golang-lru v0.5.4 github.com/hashicorp/hcl v1.0.0 github.com/hashicorp/logutils v1.0.0 github.com/hashicorp/mdns v1.0.0 github.com/hashicorp/memberlist v0.1.3 github.com/hashicorp/serf v0.8.2 github.com/hpcloud/tail v1.0.0 github.com/hudl/fargo v1.3.0 github.com/huin/goupnp v1.0.2 github.com/huin/goutil v0.0.0-20170803182201-1ca381bf3150 github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6 github.com/improbable-eng/grpc-web v0.15.0 github.com/inconshreveable/mousetrap v1.0.0 github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d github.com/ipfs/bbloom v0.0.4 github.com/ipfs/go-bitswap v0.7.0 github.com/ipfs/go-block-format v0.0.3 github.com/ipfs/go-blockservice v0.3.0 github.com/ipfs/go-cid v0.2.0 github.com/ipfs/go-cidutil v0.1.0 github.com/ipfs/go-datastore v0.5.1 github.com/ipfs/go-detect-race v0.0.1 github.com/ipfs/go-ds-badger v0.3.0 github.com/ipfs/go-ds-leveldb v0.5.0 github.com/ipfs/go-fetcher v1.6.1 github.com/ipfs/go-ipfs-blockstore v1.2.0 github.com/ipfs/go-ipfs-blocksutil v0.0.1 github.com/ipfs/go-ipfs-chunker v0.0.1 github.com/ipfs/go-ipfs-config v0.19.0 github.com/ipfs/go-ipfs-delay v0.0.1 github.com/ipfs/go-ipfs-ds-help v1.1.0 github.com/ipfs/go-ipfs-exchange-interface v0.1.0 github.com/ipfs/go-ipfs-exchange-offline v0.2.0 github.com/ipfs/go-ipfs-files v0.0.8 github.com/ipfs/go-ipfs-posinfo v0.0.1 github.com/ipfs/go-ipfs-pq v0.0.2 github.com/ipfs/go-ipfs-provider v0.7.1 github.com/ipfs/go-ipfs-routing v0.2.1 github.com/ipfs/go-ipfs-util v0.0.2 github.com/ipfs/go-ipld-cbor v0.0.6 github.com/ipfs/go-ipld-format v0.4.0 github.com/ipfs/go-ipld-legacy v0.1.1 github.com/ipfs/go-ipns v0.1.2 github.com/ipfs/go-log v1.0.5 github.com/ipfs/go-log/v2 v2.5.1 github.com/ipfs/go-merkledag v0.6.0 github.com/ipfs/go-metrics-interface v0.0.1 github.com/ipfs/go-path v0.1.1 github.com/ipfs/go-peertaskqueue v0.7.0 github.com/ipfs/go-unixfs v0.2.4 github.com/ipfs/go-verifcid v0.0.1 github.com/ipfs/interface-go-ipfs-core v0.7.0 github.com/ipld/go-codec-dagpb v1.4.1 github.com/ipld/go-ipld-prime v0.17.0 github.com/jackc/chunkreader/v2 v2.0.1 github.com/jackc/pgconn v1.10.0 github.com/jackc/pgio v1.0.0 github.com/jackc/pgpassfile v1.0.0 github.com/jackc/pgproto3/v2 v2.1.1 github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b github.com/jackc/pgtype v1.8.1 github.com/jackc/pgx/v4 v4.13.0 github.com/jackc/puddle v1.1.3 github.com/jackpal/gateway v1.0.5 github.com/jackpal/go-nat-pmp v1.0.2 github.com/jbenet/go-cienv v0.1.0 github.com/jbenet/go-temp-err-catcher v0.1.0 github.com/jbenet/goprocess v0.1.4 github.com/jedib0t/go-pretty/v6 v6.2.7 github.com/jellevandenhooff/dkim v0.0.0-20150330215556-f50fe3d243e1 github.com/jessevdk/go-flags v1.4.0 github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af github.com/jonboulle/clockwork v0.2.2 github.com/jpillora/backoff v1.0.0 github.com/jrick/logrotate v1.0.0 github.com/json-iterator/go v1.1.12 github.com/jstemmer/go-junit-report v0.9.1 github.com/jtolds/gls v4.20.0+incompatible github.com/juju/loggo v0.0.0-20210728185423-eebad3a902c4 github.com/juju/testing v0.0.0-20220203020004-a0ff61f03494 github.com/julienschmidt/httprouter v1.3.0 github.com/kami-zh/go-capturer v0.0.0-20171211120116-e492ea43421d github.com/kevinmbeaulieu/eq-go v1.0.0 github.com/kisielk/errcheck v1.5.0 github.com/kisielk/gotool v1.0.0 github.com/kkdai/bstream v1.0.0 github.com/klauspost/compress v1.15.7 github.com/klauspost/cpuid/v2 v2.0.13 github.com/klauspost/pgzip v1.2.5 github.com/konsorten/go-windows-terminal-sequences v1.0.3 github.com/koron/go-ssdp v0.0.2 github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 github.com/kr/pretty v0.3.0 github.com/kr/pty v1.1.3 github.com/kr/text v0.2.0 github.com/leodido/go-urn v1.2.0 github.com/lib/pq v1.10.3 github.com/libp2p/go-buffer-pool v0.0.2 github.com/libp2p/go-cidranger v1.1.0 github.com/libp2p/go-conn-security-multistream v0.3.0 github.com/libp2p/go-eventbus v0.2.1 github.com/libp2p/go-flow-metrics v0.0.3 github.com/libp2p/go-libp2p v0.20.3 => ./third_party/go-libp2p github.com/libp2p/go-libp2p-asn-util v0.2.0 github.com/libp2p/go-libp2p-blankhost v0.2.0 github.com/libp2p/go-libp2p-circuit v0.6.0 github.com/libp2p/go-libp2p-core v0.17.0 github.com/libp2p/go-libp2p-crypto v0.1.0 github.com/libp2p/go-libp2p-gostream v0.4.0 github.com/libp2p/go-libp2p-host v0.0.3 github.com/libp2p/go-libp2p-interface-connmgr v0.0.5 github.com/libp2p/go-libp2p-kad-dht v0.16.0 github.com/libp2p/go-libp2p-kbucket v0.4.7 github.com/libp2p/go-libp2p-loggables v0.1.0 github.com/libp2p/go-libp2p-mplex v0.5.0 github.com/libp2p/go-libp2p-net v0.0.2 github.com/libp2p/go-libp2p-netutil v0.1.0 github.com/libp2p/go-libp2p-peer v0.2.0 github.com/libp2p/go-libp2p-peerstore v0.7.1 github.com/libp2p/go-libp2p-pnet v0.2.0 github.com/libp2p/go-libp2p-protocol v0.1.0 github.com/libp2p/go-libp2p-quic-transport v0.16.0 github.com/libp2p/go-libp2p-record v0.1.3 github.com/libp2p/go-libp2p-resource-manager v0.3.0 github.com/libp2p/go-libp2p-routing v0.0.1 github.com/libp2p/go-libp2p-routing-helpers v0.2.3 github.com/libp2p/go-libp2p-swarm v0.10.2 github.com/libp2p/go-libp2p-testing v0.9.2 github.com/libp2p/go-libp2p-tls v0.3.0 github.com/libp2p/go-libp2p-transport-upgrader v0.7.0 github.com/libp2p/go-libp2p-xor v0.1.0 github.com/libp2p/go-libp2p-yamux v0.8.1 github.com/libp2p/go-maddr-filter v0.1.0 github.com/libp2p/go-mplex v0.7.0 github.com/libp2p/go-msgio v0.2.0 github.com/libp2p/go-nat v0.1.0 github.com/libp2p/go-netroute v0.2.0 github.com/libp2p/go-openssl v0.0.7 github.com/libp2p/go-reuseport v0.2.0 github.com/libp2p/go-reuseport-transport v0.1.0 github.com/libp2p/go-sockaddr v0.1.0 github.com/libp2p/go-stream-muxer v0.1.0 github.com/libp2p/go-stream-muxer-multistream v0.4.0 github.com/libp2p/go-tcp-transport v0.5.0 github.com/libp2p/go-testutil v0.1.0 github.com/libp2p/go-yamux v1.2.3 github.com/libp2p/go-yamux/v3 v3.1.2 github.com/libp2p/zeroconf/v2 v2.1.1 github.com/lightninglabs/gozmq v0.0.0-20191113021534-d20a764486bf github.com/lightninglabs/neutrino v0.14.2 github.com/lightninglabs/protobuf-hex-display v1.4.3-hex-display github.com/lightningnetwork/lightning-onion v1.0.2-0.20220211021909-bb84a1ccb0c5 github.com/lightningnetwork/lnd v0.15.0-beta.rc6 github.com/lightningnetwork/lnd/cert v1.1.1 github.com/lightningnetwork/lnd/clock v1.1.0 github.com/lightningnetwork/lnd/healthcheck v1.2.2 github.com/lightningnetwork/lnd/kvdb v1.3.1 github.com/lightningnetwork/lnd/queue v1.1.0 github.com/lightningnetwork/lnd/ticker v1.1.0 github.com/lightningnetwork/lnd/tlv v1.0.3 github.com/lightningnetwork/lnd/tor v1.0.1 github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743 github.com/lightstep/lightstep-tracer-go v0.18.1 github.com/logrusorgru/aurora/v3 v3.0.0 github.com/ltcsuite/ltcd v0.0.0-20190101042124-f37f8bf35796 github.com/lucas-clemente/quic-go v0.27.1 github.com/lunixbochs/vtclean v1.0.0 github.com/lyft/protoc-gen-validate v0.0.13 github.com/magiconair/properties v1.8.0 github.com/mailru/easyjson v0.0.0-20190312143242-1de009706dbe github.com/marten-seemann/qpack v0.2.1 github.com/marten-seemann/qtls-go1-15 v0.1.4 github.com/marten-seemann/qtls-go1-16 v0.1.5 github.com/marten-seemann/qtls-go1-17 v0.1.1 github.com/marten-seemann/qtls-go1-18 v0.1.1 github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd github.com/matryer/moq v0.2.7 github.com/mattn/go-colorable v0.1.12 github.com/mattn/go-isatty v0.0.14 github.com/mattn/go-runewidth v0.0.13 github.com/matttproud/golang_protobuf_extensions v1.0.1 github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b github.com/mholt/archiver/v3 v3.5.0 github.com/microcosm-cc/bluemonday v1.0.1 github.com/miekg/dns v1.1.43 github.com/mikioh/tcp v0.0.0-20190314235350-803a9b46060c github.com/mikioh/tcpinfo v0.0.0-20190314235526-30a79bb1804b github.com/mikioh/tcpopt v0.0.0-20190314235656-172688c1accc github.com/minio/blake2b-simd v0.0.0-20160723061019-3f5f724cb5b1 github.com/minio/sha256-simd v1.0.0 github.com/mitchellh/cli v1.0.0 github.com/mitchellh/go-homedir v1.1.0 github.com/mitchellh/go-testing-interface v1.0.0 github.com/mitchellh/gox v0.4.0 github.com/mitchellh/iochan v1.0.0 github.com/mitchellh/mapstructure v1.5.0 github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd github.com/modern-go/reflect2 v1.0.2 github.com/mr-tron/base58 v1.2.0 github.com/multiformats/go-base32 v0.0.4 github.com/multiformats/go-base36 v0.1.0 github.com/multiformats/go-multiaddr v0.5.0 github.com/multiformats/go-multiaddr-dns v0.3.1 github.com/multiformats/go-multiaddr-fmt v0.1.0 github.com/multiformats/go-multiaddr-net v0.2.0 github.com/multiformats/go-multibase v0.1.1 github.com/multiformats/go-multicodec v0.5.0 github.com/multiformats/go-multihash v0.1.0 github.com/multiformats/go-multistream v0.3.3 github.com/multiformats/go-varint v0.0.6 github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f github.com/mwitkow/grpc-proxy v0.0.0-20181017164139-0f1106ef9c76 github.com/nats-io/jwt v0.3.2 github.com/nats-io/nats-server/v2 v2.1.2 github.com/nats-io/nats.go v1.9.1 github.com/nats-io/nkeys v0.1.3 github.com/nats-io/nuid v1.0.1 github.com/neelance/astrewrite v0.0.0-20160511093645-99348263ae86 github.com/neelance/sourcemap v0.0.0-20151028013722-8c68805598ab github.com/nwaples/rardecode v1.1.2 github.com/nxadm/tail v1.4.8 github.com/oklog/oklog v0.3.2 github.com/oklog/run v1.0.0 github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5 github.com/onsi/ginkgo v1.16.4 github.com/onsi/gomega v1.13.0 github.com/op/go-logging v0.0.0-20160315200505-970db520ece7 github.com/opencontainers/runtime-spec v1.0.2 github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492 github.com/opentracing/basictracer-go v1.0.0 github.com/opentracing/opentracing-go v1.2.0 github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5 github.com/openzipkin/zipkin-go v0.2.2 github.com/pact-foundation/pact-go v1.0.4 github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 github.com/pborman/uuid v1.2.0 github.com/pelletier/go-toml v1.2.0 github.com/performancecopilot/speed v3.0.0+incompatible github.com/pierrec/lz4 v2.0.5+incompatible github.com/pierrec/lz4/v4 v4.1.8 github.com/pkg/errors v0.9.1 github.com/pkg/profile v1.2.1 github.com/planetscale/vtprotobuf v0.3.0 github.com/pmezard/go-difflib v1.0.0 github.com/polydawn/refmt v0.0.0-20201211092308-30ac6d18308e github.com/posener/complete v1.1.1 github.com/prometheus/client_golang v1.12.2 github.com/prometheus/client_model v0.2.0 github.com/prometheus/common v0.32.1 github.com/prometheus/procfs v0.7.3 github.com/raulk/clock v1.1.0 github.com/raulk/go-watchdog v1.2.0 github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a github.com/rivo/uniseg v0.2.0 github.com/rogpeppe/fastuuid v1.2.0 github.com/rogpeppe/go-internal v1.6.1 github.com/rs/cors v1.7.0 github.com/russross/blackfriday v1.5.2 github.com/russross/blackfriday/v2 v2.1.0 github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da github.com/sanity-io/litter v1.5.5 github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 github.com/sergi/go-diff v1.1.0 github.com/shurcooL/component v0.0.0-20170202220835-f88ec8f54cc4 github.com/shurcooL/events v0.0.0-20181021180414-410e4ca65f48 github.com/shurcooL/github_flavored_markdown v0.0.0-20181002035957-2122de532470 github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041 github.com/shurcooL/gofontwoff v0.0.0-20180329035133-29b52fc0a18d github.com/shurcooL/gopherjslib v0.0.0-20160914041154-feb6d3990c2c github.com/shurcooL/highlight_diff v0.0.0-20170515013008-09bb4053de1b github.com/shurcooL/highlight_go v0.0.0-20181028180052-98c3abbbae20 github.com/shurcooL/home v0.0.0-20181020052607-80b7ffcb30f9 github.com/shurcooL/htmlg v0.0.0-20170918183704-d01228ac9e50 github.com/shurcooL/httperror v0.0.0-20170206035902-86b7830d14cc github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371 github.com/shurcooL/httpgzip v0.0.0-20180522190206-b1c53ac65af9 github.com/shurcooL/issues v0.0.0-20181008053335-6292fdc1e191 github.com/shurcooL/issuesapp v0.0.0-20180602232740-048589ce2241 github.com/shurcooL/notifications v0.0.0-20181007000457-627ab5aea122 github.com/shurcooL/octicon v0.0.0-20181028054416-fa4f57f9efb2 github.com/shurcooL/reactions v0.0.0-20181006231557-f2e0b4ca5b82 github.com/shurcooL/sanitized_anchor_name v1.0.0 github.com/shurcooL/users v0.0.0-20180125191416-49c67e49c537 github.com/shurcooL/webdavfs v0.0.0-20170829043945-18c3829fa133 github.com/sirupsen/logrus v1.7.0 github.com/smartystreets/assertions v1.0.0 github.com/smartystreets/goconvey v1.6.4 github.com/smola/gocompat v0.2.0 github.com/soheilhy/cmux v0.1.5 github.com/sony/gobreaker v0.4.1 github.com/sourcegraph/annotate v0.0.0-20160123013949-f4cad6c6324d github.com/sourcegraph/syntaxhighlight v0.0.0-20170531221838-bd320f5d308e github.com/spacemonkeygo/openssl v0.0.0-20181017203307-c2dcc5cca94a github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572 github.com/spaolacci/murmur3 v1.1.0 github.com/spf13/afero v1.1.2 github.com/spf13/cast v1.3.0 github.com/spf13/cobra v0.0.5 github.com/spf13/jwalterweatherman v1.0.0 github.com/spf13/pflag v1.0.5 github.com/spf13/viper v1.3.2 github.com/src-d/envconfig v1.0.0 github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271 github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a github.com/stretchr/objx v0.4.0 github.com/stretchr/testify v1.8.0 github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07 github.com/tidwall/tinyqueue v0.1.1 github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802 github.com/tv42/zbase32 v0.0.0-20160707012821-501572607d02 github.com/ugorji/go v1.1.7 github.com/ugorji/go/codec v1.1.7 github.com/ulikunitz/xz v0.5.10 github.com/urfave/cli v1.22.4 github.com/urfave/cli/v2 v2.8.1 github.com/vektah/gqlparser/v2 v2.4.6 github.com/viant/assertly v0.4.8 github.com/viant/toolbox v0.24.0 github.com/wangjia184/sortedset v0.0.0-20160527075905-f5d03557ba30 github.com/warpfork/go-testmark v0.10.0 github.com/warpfork/go-wish v0.0.0-20200122115046-b9ea61034e4a github.com/whyrusleeping/cbor-gen v0.0.0-20220514204315-f29c37e9c44c github.com/whyrusleeping/chunker v0.0.0-20181014151217-fe64bd25879f github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1 github.com/whyrusleeping/go-logging v0.0.0-20170515211332-0457bb6b88fc github.com/whyrusleeping/mafmt v1.2.8 github.com/whyrusleeping/mdns v0.0.0-20190826153040-b9b60ed33aa9 github.com/whyrusleeping/multiaddr-filter v0.0.0-20160516205228-e903e4adabd7 github.com/x-cray/logrus-prefixed-formatter v0.5.2 github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77 github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 github.com/yuin/goldmark v1.4.1 gitlab.com/yawning/bsaes.git v0.0.0-20190805113838-0a714cd429ec go.etcd.io/bbolt v1.3.6 go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738 go.etcd.io/etcd/api/v3 v3.5.0 go.etcd.io/etcd/client/pkg/v3 v3.5.0 go.etcd.io/etcd/client/v2 v2.305.0 go.etcd.io/etcd/client/v3 v3.5.0 go.etcd.io/etcd/pkg/v3 v3.5.0 go.etcd.io/etcd/raft/v3 v3.5.0 go.etcd.io/etcd/server/v3 v3.5.0 go.opencensus.io v0.23.0 go.opentelemetry.io/contrib v0.20.0 => go.opentelemetry.io/contrib v0.20.0 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0 => go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0 go.opentelemetry.io/otel v1.7.0 => go.opentelemetry.io/otel v0.20.0 go.opentelemetry.io/otel/exporters/otlp v0.20.0 => go.opentelemetry.io/otel/exporters/otlp v0.20.0 go.opentelemetry.io/otel/metric v0.20.0 => go.opentelemetry.io/otel/metric v0.20.0 go.opentelemetry.io/otel/oteltest v0.20.0 go.opentelemetry.io/otel/sdk v0.20.0 => go.opentelemetry.io/otel/sdk v0.20.0 go.opentelemetry.io/otel/sdk/export/metric v0.20.0 => go.opentelemetry.io/otel/sdk/export/metric v0.20.0 go.opentelemetry.io/otel/sdk/metric v0.20.0 => go.opentelemetry.io/otel/sdk/metric v0.20.0 go.opentelemetry.io/otel/trace v1.7.0 => go.opentelemetry.io/otel/trace v0.20.0 go.opentelemetry.io/proto/otlp v0.7.0 => go.opentelemetry.io/proto/otlp v0.7.0 go.uber.org/atomic v1.9.0 go.uber.org/dig v1.14.0 go.uber.org/fx v1.17.1 go.uber.org/goleak v1.1.11 go.uber.org/multierr v1.8.0 go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee go.uber.org/zap v1.21.0 go4.org v0.0.0-20180809161055-417644f6feb5 golang.org/x/build v0.0.0-20190111050920-041ab4dc3f9d golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d golang.org/x/exp v0.0.0-20220426173459-3bcf042a4bf5 golang.org/x/image v0.0.0-20190802002840-cff245a6509b golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028 golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 golang.org/x/net v0.0.0-20220517181318-183a9ca12b87 golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c golang.org/x/perf v0.0.0-20180704124530-6e6d33e29852 golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 golang.org/x/text v0.3.7 golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba golang.org/x/tools v0.1.10 golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f google.golang.org/api v0.30.0 google.golang.org/appengine v1.6.6 google.golang.org/genproto v0.0.0-20210617175327-b9e0b3197ced google.golang.org/grpc v1.47.0 google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.2.0 google.golang.org/protobuf v1.28.0 gopkg.in/alecthomas/kingpin.v2 v2.2.6 gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c gopkg.in/cheggaaa/pb.v1 v1.0.25 gopkg.in/errgo.v1 v1.0.1 gopkg.in/errgo.v2 v2.1.0 gopkg.in/fsnotify.v1 v1.4.7 gopkg.in/gcfg.v1 v1.2.3 gopkg.in/inf.v0 v0.9.1 gopkg.in/macaroon-bakery.v2 v2.0.1 gopkg.in/macaroon.v2 v2.0.0 gopkg.in/natefinch/lumberjack.v2 v2.0.0 gopkg.in/resty.v1 v1.12.0 gopkg.in/src-d/go-cli.v0 v0.0.0-20181105080154-d492247bbc0d gopkg.in/src-d/go-log.v1 v1.0.1 gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 gopkg.in/warnings.v0 v0.1.2 gopkg.in/yaml.v2 v2.4.0 gopkg.in/yaml.v3 v3.0.1 grpc.go4.org v0.0.0-20170609214715-11d0a25b4919 honnef.co/go/tools v0.0.1-2020.1.4 lukechampine.com/blake3 v1.1.7 nhooyr.io/websocket v1.8.6 rsc.io/binaryregexp v0.2.0 rsc.io/quote/v3 v3.1.0 rsc.io/sampler v1.3.0 sigs.k8s.io/yaml v1.2.0 sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0 sourcegraph.com/sourcegraph/go-diff v0.5.0 sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4
We probably need to improve static relay handling (also in #1587).
Given that this PR is already reviewed and approved and just waiting for the v0.21 to ship before getting merged, we won't make any changes to it. We'd be happy to accept follow-up PRs to #1587 though (feel free to craft something on top that branch right now, no need to wait until it's actually merged).
Great! I will test that branch and make changes there, if needed. But if that PR is already reviewed, why doesn't it make it to the v0.21 release?
We already started smoke testing the 0.21 release and wanted to make that release with minimal changes. But the 0.22 release will be right around the corner :)
We expect this will be resolved in 0.22 when https://github.com/libp2p/go-libp2p/pull/1587 lands.
#1587 was merged, so I believe this should be fixed now. If not, please feel free to open a new issue.