libp2p / go-libp2p

libp2p implementation in Go
MIT License
6.12k stars 1.08k forks source link

Libp2p now loses all peers when upgrading to 0.26.2 from 0.24.0 #2202

Closed Giulio2002 closed 1 year ago

Giulio2002 commented 1 year ago

Description

Hello, I am from the Erigon team, one of the Ethereum clients, I am trying to build a consensus client and I am having issues after upgrading libp2p to 26.2. What seems to happen is that after the upgrade I lose all the peers I have and get kicked out of the network eventually. I found a work around that seems to somehow fix this as long as I do not do any request which is calling host.RemoveStreamHandler("/p2p/id/delta/1.0.0") . If I do that when I only subscribe and publish to gossip it seems to not give any issue, however if I repeatedly make requests to the network, I will get kicked out from the network (or at least lose all peers and be unable to reconnect).

``` System Information: Ubuntu 22.04.1 LTS x86_64 Kernel: 5.15.0-50-generic CPU: AMD Ryzen 7 3700X (16) @ 3.600GHz GPU: NVIDIA GeForce GT 710 Memory: 64 GB No VPN is being used ``` I get kicked out after a while from the ETH 2.0 network after upgrading libp2p version.
go list -m all:

github.com/ledgerwatch/erigon
cloud.google.com/go v0.105.0
cloud.google.com/go/accessapproval v1.5.0
cloud.google.com/go/accesscontextmanager v1.4.0
cloud.google.com/go/aiplatform v1.27.0
cloud.google.com/go/analytics v0.12.0
cloud.google.com/go/apigateway v1.4.0
cloud.google.com/go/apigeeconnect v1.4.0
cloud.google.com/go/appengine v1.5.0
cloud.google.com/go/area120 v0.6.0
cloud.google.com/go/artifactregistry v1.9.0
cloud.google.com/go/asset v1.10.0
cloud.google.com/go/assuredworkloads v1.9.0
cloud.google.com/go/automl v1.8.0
cloud.google.com/go/baremetalsolution v0.4.0
cloud.google.com/go/batch v0.4.0
cloud.google.com/go/beyondcorp v0.3.0
cloud.google.com/go/bigquery v1.44.0
cloud.google.com/go/billing v1.7.0
cloud.google.com/go/binaryauthorization v1.4.0
cloud.google.com/go/certificatemanager v1.4.0
cloud.google.com/go/channel v1.9.0
cloud.google.com/go/cloudbuild v1.4.0
cloud.google.com/go/clouddms v1.4.0
cloud.google.com/go/cloudtasks v1.8.0
cloud.google.com/go/compute v1.15.1
cloud.google.com/go/compute/metadata v0.2.3
cloud.google.com/go/contactcenterinsights v1.4.0
cloud.google.com/go/container v1.7.0
cloud.google.com/go/containeranalysis v0.6.0
cloud.google.com/go/datacatalog v1.8.0
cloud.google.com/go/dataflow v0.7.0
cloud.google.com/go/dataform v0.5.0
cloud.google.com/go/datafusion v1.5.0
cloud.google.com/go/datalabeling v0.6.0
cloud.google.com/go/dataplex v1.4.0
cloud.google.com/go/dataproc v1.8.0
cloud.google.com/go/dataqna v0.6.0
cloud.google.com/go/datastore v1.10.0
cloud.google.com/go/datastream v1.5.0
cloud.google.com/go/deploy v1.5.0
cloud.google.com/go/dialogflow v1.19.0
cloud.google.com/go/dlp v1.7.0
cloud.google.com/go/documentai v1.10.0
cloud.google.com/go/domains v0.7.0
cloud.google.com/go/edgecontainer v0.2.0
cloud.google.com/go/errorreporting v0.3.0
cloud.google.com/go/essentialcontacts v1.4.0
cloud.google.com/go/eventarc v1.8.0
cloud.google.com/go/filestore v1.4.0
cloud.google.com/go/firestore v1.9.0
cloud.google.com/go/functions v1.9.0
cloud.google.com/go/gaming v1.8.0
cloud.google.com/go/gkebackup v0.3.0
cloud.google.com/go/gkeconnect v0.6.0
cloud.google.com/go/gkehub v0.10.0
cloud.google.com/go/gkemulticloud v0.4.0
cloud.google.com/go/gsuiteaddons v1.4.0
cloud.google.com/go/iam v0.8.0
cloud.google.com/go/iap v1.5.0
cloud.google.com/go/ids v1.2.0
cloud.google.com/go/iot v1.4.0
cloud.google.com/go/kms v1.6.0
cloud.google.com/go/language v1.8.0
cloud.google.com/go/lifesciences v0.6.0
cloud.google.com/go/logging v1.6.1
cloud.google.com/go/longrunning v0.3.0
cloud.google.com/go/managedidentities v1.4.0
cloud.google.com/go/maps v0.1.0
cloud.google.com/go/mediatranslation v0.6.0
cloud.google.com/go/memcache v1.7.0
cloud.google.com/go/metastore v1.8.0
cloud.google.com/go/monitoring v1.8.0
cloud.google.com/go/networkconnectivity v1.7.0
cloud.google.com/go/networkmanagement v1.5.0
cloud.google.com/go/networksecurity v0.6.0
cloud.google.com/go/notebooks v1.5.0
cloud.google.com/go/optimization v1.2.0
cloud.google.com/go/orchestration v1.4.0
cloud.google.com/go/orgpolicy v1.5.0
cloud.google.com/go/osconfig v1.10.0
cloud.google.com/go/oslogin v1.7.0
cloud.google.com/go/phishingprotection v0.6.0
cloud.google.com/go/policytroubleshooter v1.4.0
cloud.google.com/go/privatecatalog v0.6.0
cloud.google.com/go/pubsub v1.27.1
cloud.google.com/go/pubsublite v1.5.0
cloud.google.com/go/recaptchaenterprise/v2 v2.5.0
cloud.google.com/go/recommendationengine v0.6.0
cloud.google.com/go/recommender v1.8.0
cloud.google.com/go/redis v1.10.0
cloud.google.com/go/resourcemanager v1.4.0
cloud.google.com/go/resourcesettings v1.4.0
cloud.google.com/go/retail v1.11.0
cloud.google.com/go/run v0.3.0
cloud.google.com/go/scheduler v1.7.0
cloud.google.com/go/secretmanager v1.9.0
cloud.google.com/go/security v1.10.0
cloud.google.com/go/securitycenter v1.16.0
cloud.google.com/go/servicecontrol v1.5.0
cloud.google.com/go/servicedirectory v1.7.0
cloud.google.com/go/servicemanagement v1.5.0
cloud.google.com/go/serviceusage v1.4.0
cloud.google.com/go/shell v1.4.0
cloud.google.com/go/spanner v1.41.0
cloud.google.com/go/speech v1.9.0
cloud.google.com/go/storagetransfer v1.6.0
cloud.google.com/go/talent v1.4.0
cloud.google.com/go/texttospeech v1.5.0
cloud.google.com/go/tpu v1.4.0
cloud.google.com/go/trace v1.4.0
cloud.google.com/go/translate v1.4.0
cloud.google.com/go/video v1.9.0
cloud.google.com/go/videointelligence v1.9.0
cloud.google.com/go/vision/v2 v2.5.0
cloud.google.com/go/vmmigration v1.3.0
cloud.google.com/go/vmwareengine v0.1.0
cloud.google.com/go/vpcaccess v1.5.0
cloud.google.com/go/webrisk v1.7.0
cloud.google.com/go/websecurityscanner v1.4.0
cloud.google.com/go/workflows v1.9.0
crawshaw.io/iox v0.0.0-20181124134642-c51c3df30797
crawshaw.io/sqlite v0.3.3-0.20220618202545-d1964889ea3c
dmitri.shuralyov.com/app/changes v0.0.0-20180602232624-0a106ad413e3
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
filippo.io/edwards25519 v1.0.0-rc.1
git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999
github.com/99designs/gqlgen v0.17.26
github.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96
github.com/BurntSushi/toml v1.2.1
github.com/Giulio2002/bls v0.0.0-20230217173148-c87a29266b6c
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible
github.com/RoaringBitmap/roaring v1.2.3
github.com/Shopify/sarama v1.19.0
github.com/Shopify/toxiproxy v2.1.4+incompatible
github.com/VictoriaMetrics/fastcache v1.12.1
github.com/VictoriaMetrics/metrics v1.23.1
github.com/VividCortex/gohistogram v1.0.0
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/ajwerner/btree v0.0.0-20211221152037-f427b3e689c0
github.com/alecthomas/assert/v2 v2.0.0-alpha3
github.com/alecthomas/atomic v0.1.0-alpha2
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/alexflint/go-arg v1.4.3
github.com/alexflint/go-scalar v1.1.0
github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156
github.com/anacrolix/args v0.5.1-0.20220509024600-c3b77d0b61ac
github.com/anacrolix/bargle v0.0.0-20220630015206-d7a4d433886a
github.com/anacrolix/chansync v0.3.0
github.com/anacrolix/dht/v2 v2.19.2-0.20221121215055-066ad8494444
github.com/anacrolix/envpprof v1.2.1
github.com/anacrolix/fuse v0.2.0
github.com/anacrolix/generics v0.0.0-20220618083756-f99e35403a60
github.com/anacrolix/go-libutp v1.2.0
github.com/anacrolix/log v0.13.2-0.20221123232138-02e2764801c3
github.com/anacrolix/lsan v0.0.0-20211126052245-807000409a62
github.com/anacrolix/missinggo v1.3.0
github.com/anacrolix/missinggo/perf v1.0.0
github.com/anacrolix/missinggo/v2 v2.7.0
github.com/anacrolix/mmsg v1.0.0
github.com/anacrolix/multiless v0.3.0
github.com/anacrolix/publicip v0.2.0
github.com/anacrolix/squirrel v0.4.1-0.20220122230132-14b040773bac
github.com/anacrolix/stm v0.4.0
github.com/anacrolix/sync v0.4.0
github.com/anacrolix/tagflag v1.3.0
github.com/anacrolix/torrent v1.48.1-0.20230219022425-e8971ea0f1bf
github.com/anacrolix/upnp v0.1.3-0.20220123035249-922794e51c96
github.com/anacrolix/utp v0.1.0
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883
github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239
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/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/bahlo/generic-list-go v0.2.0
github.com/benbjohnson/clock v1.3.0
github.com/benbjohnson/immutable v0.3.0
github.com/benesch/cgosymbolizer v0.0.0-20190515212042-bec6fe6e597b
github.com/beorn7/perks v1.0.1
github.com/bgentry/speakeasy v0.1.0
github.com/bits-and-blooms/bitset v1.2.2
github.com/bradfitz/go-smtpd v0.0.0-20170404230938-deb6d6237625
github.com/bradfitz/iter v0.0.0-20191230175014-e8f45d346db8
github.com/btcsuite/btcd v0.22.0-beta
github.com/btcsuite/btcd/btcec/v2 v2.2.1
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1
github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f
github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce
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/c2h5oh/datasize v0.0.0-20220606134207-859f65c6625b
github.com/casbin/casbin/v2 v2.1.2
github.com/cenkalti/backoff v2.2.1+incompatible
github.com/cenkalti/backoff/v4 v4.1.3
github.com/census-instrumentation/opencensus-proto v0.4.1
github.com/cespare/xxhash v1.1.0
github.com/cespare/xxhash/v2 v2.2.0
github.com/chzyer/readline v1.5.0
github.com/cilium/ebpf v0.9.1
github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec
github.com/client9/misspell v0.3.4
github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe
github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b
github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa
github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd
github.com/consensys/bavard v0.1.8-0.20210406032232-f3452dc9b572
github.com/consensys/gnark-crypto v0.4.1-0.20210426202927-39ac3d4b3f1f
github.com/containerd/cgroups v1.1.0
github.com/coreos/go-semver v0.2.0
github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d
github.com/coreos/go-systemd/v22 v22.5.0
github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf
github.com/cpuguy83/go-md2man/v2 v2.0.2
github.com/crate-crypto/go-ipa v0.0.0-20221111143132-9aa5d42120bc
github.com/creack/pty v1.1.9
github.com/davecgh/go-spew v1.1.1
github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c
github.com/deckarep/golang-set v1.8.0
github.com/deckarep/golang-set/v2 v2.2.0
github.com/decred/dcrd/crypto/blake256 v1.0.0
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0
github.com/decred/dcrd/lru v1.0.0
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/trifles v0.0.0-20200323201526-dd97f9abfb48
github.com/dlclark/regexp2 v1.4.1-0.20201116162257-a2a8dda75c91
github.com/docker/docker v20.10.17+incompatible
github.com/docker/go-units v0.5.0
github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815
github.com/dop251/goja v0.0.0-20220405120441-9037c2b61cbf
github.com/dop251/goja_nodejs v0.0.0-20210225215109-d91c329300e7
github.com/dustin/go-humanize v1.0.1
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.1.0
github.com/elastic/gosigar v0.14.2
github.com/elliotchance/orderedmap v1.4.0
github.com/emicklei/dot v1.0.0
github.com/emirpasic/gods v1.18.1
github.com/envoyproxy/go-control-plane v0.10.3
github.com/envoyproxy/protoc-gen-validate v0.9.1
github.com/fatih/color v1.7.0
github.com/fjl/gencodec v0.0.0-20220412091415-8bb9e558978c
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568
github.com/flynn/noise v1.0.0
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.4
github.com/fsnotify/fsnotify v1.5.4
github.com/garslo/gogen v0.0.0-20170307003452-d6ebae628c7c
github.com/gballet/go-verkle v0.0.0-20221121182333-31427a1f2d35
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/glycerine/go-unsnap-stream v0.0.0-20190901134440-81cf024a9e0a
github.com/glycerine/goconvey v0.0.0-20190410193231-58a59202ab31
github.com/go-errors/errors v1.0.1
github.com/go-kit/kit v0.10.0
github.com/go-kit/log v0.2.1
github.com/go-logfmt/logfmt v0.5.1
github.com/go-logr/logr v1.2.3
github.com/go-logr/stdr v1.2.2
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-sourcemap/sourcemap v2.1.3+incompatible
github.com/go-sql-driver/mysql v1.4.0
github.com/go-stack/stack v1.8.1
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/goccy/go-json v0.9.7
github.com/godbus/dbus/v5 v5.1.0
github.com/gofrs/flock v0.8.1
github.com/gogo/googleapis v1.1.0
github.com/gogo/protobuf v1.3.2
github.com/golang-jwt/jwt/v4 v4.5.0
github.com/golang/glog v1.0.0
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.1.2
github.com/google/go-cmp v0.5.9
github.com/google/go-github v17.0.0+incompatible
github.com/google/go-querystring v1.0.0
github.com/google/gofuzz v1.1.1-0.20200604201612-c04b05f3adfa
github.com/google/gopacket v1.1.19
github.com/google/martian v2.1.0+incompatible
github.com/google/pprof v0.0.0-20230207041349-798e818bf904
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.3
github.com/gopherjs/gopherjs v0.0.0-20190910122728-9d188e94fb99
github.com/gorilla/context v1.1.1
github.com/gorilla/mux v1.7.3
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.9.5
github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0
github.com/hashicorp/consul/api v1.3.0
github.com/hashicorp/consul/sdk v0.3.0
github.com/hashicorp/errwrap v1.0.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.0.0
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.5-0.20210104140557-80c98217689d
github.com/hashicorp/golang-lru/v2 v2.0.1
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/hexops/gotextdiff v1.0.3
github.com/holiman/uint256 v1.2.1
github.com/hpcloud/tail v1.0.0
github.com/huandu/xstrings v1.4.0
github.com/hudl/fargo v1.3.0
github.com/huin/goupnp v1.1.0
github.com/huin/goutil v0.0.0-20170803182201-1ca381bf3150
github.com/ianlancetaylor/cgosymbolizer v0.0.0-20220405231054-a1ae3e4bba26
github.com/ianlancetaylor/demangle v0.0.0-20220319035150-800ac71e25c2
github.com/inconshreveable/mousetrap v1.0.1
github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d
github.com/ipfs/go-cid v0.3.2
github.com/ipfs/go-datastore v0.6.0
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-ipfs-util v0.0.2
github.com/ipfs/go-log/v2 v2.5.1
github.com/jackpal/go-nat-pmp v1.0.2
github.com/jbenet/go-temp-err-catcher v0.1.0
github.com/jbenet/goprocess v0.1.4
github.com/jellevandenhooff/dkim v0.0.0-20150330215556-f50fe3d243e1
github.com/jessevdk/go-flags v1.5.0
github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af
github.com/jonboulle/clockwork v0.1.0
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.0.0-20190106144839-af01ea7f8024
github.com/jtolds/gls v4.20.0+incompatible
github.com/julienschmidt/httprouter v1.3.0
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
github.com/kevinburke/go-bindata v3.21.0+incompatible
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 v0.0.0-20161212061736-f391b8402d23
github.com/klauspost/compress v1.15.15
github.com/klauspost/cpuid/v2 v2.2.3
github.com/konsorten/go-windows-terminal-sequences v1.0.1
github.com/koron/go-ssdp v0.0.3
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
github.com/kr/pretty v0.3.1
github.com/kr/pty v1.1.3
github.com/kr/text v0.2.0
github.com/kylelemons/godebug v0.0.0-20170224010052-a616ab194758
github.com/leanovate/gopter v0.2.9
github.com/ledgerwatch/erigon-lib v0.0.0-20230313075942-ae07c2744483
github.com/ledgerwatch/erigon-snapshot v1.1.1-0.20230306083105-1391330d62a3
github.com/ledgerwatch/interfaces v0.0.0-20230306115306-76f49663a127
github.com/ledgerwatch/log/v3 v3.7.0
github.com/ledgerwatch/secp256k1 v1.0.0
github.com/ledgerwatch/trackerslist v1.1.0
github.com/leodido/go-urn v1.2.0
github.com/libp2p/go-buffer-pool v0.1.0
github.com/libp2p/go-cidranger v1.1.0
github.com/libp2p/go-flow-metrics v0.1.0
github.com/libp2p/go-libp2p v0.26.2
github.com/libp2p/go-libp2p-asn-util v0.2.0
github.com/libp2p/go-libp2p-pubsub v0.9.2
github.com/libp2p/go-libp2p-testing v0.12.0
github.com/libp2p/go-mplex v0.7.0
github.com/libp2p/go-msgio v0.3.0
github.com/libp2p/go-nat v0.1.0
github.com/libp2p/go-netroute v0.2.1
github.com/libp2p/go-reuseport v0.2.0
github.com/libp2p/go-sockaddr v0.0.2
github.com/libp2p/go-yamux/v4 v4.0.0
github.com/libp2p/zeroconf/v2 v2.2.0
github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743
github.com/lightstep/lightstep-tracer-go v0.18.1
github.com/lispad/go-generics-tools v1.1.0
github.com/logrusorgru/aurora/v3 v3.0.0
github.com/lunixbochs/vtclean v1.0.0
github.com/lyft/protoc-gen-validate v0.0.13
github.com/magiconair/properties v1.8.6
github.com/mailru/easyjson v0.0.0-20190312143242-1de009706dbe
github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd
github.com/maticnetwork/crand v1.0.2
github.com/maticnetwork/polyproto v0.0.2
github.com/matryer/moq v0.3.1
github.com/mattn/go-colorable v0.1.13
github.com/mattn/go-isatty v0.0.17
github.com/mattn/go-runewidth v0.0.2
github.com/mattn/go-sqlite3 v1.14.16
github.com/matttproud/golang_protobuf_extensions v1.0.4
github.com/microcosm-cc/bluemonday v1.0.1
github.com/miekg/dns v1.1.50
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.0.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/mschoch/smat v0.2.0
github.com/multiformats/go-base32 v0.1.0
github.com/multiformats/go-base36 v0.2.0
github.com/multiformats/go-multiaddr v0.8.0
github.com/multiformats/go-multiaddr-dns v0.3.1
github.com/multiformats/go-multiaddr-fmt v0.1.0
github.com/multiformats/go-multibase v0.1.1
github.com/multiformats/go-multicodec v0.8.0
github.com/multiformats/go-multihash v0.2.1
github.com/multiformats/go-multistream v0.4.1
github.com/multiformats/go-varint v0.0.7
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f
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/nxadm/tail v1.4.9-0.20211216163028-4472660a31a6
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.5
github.com/onsi/ginkgo/v2 v2.8.0
github.com/onsi/gomega v1.25.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.1.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.9.5
github.com/pelletier/go-toml/v2 v2.0.7
github.com/performancecopilot/speed v3.0.0+incompatible
github.com/philhofer/fwd v1.0.0
github.com/pierrec/lz4 v2.0.5+incompatible
github.com/pion/datachannel v1.5.2
github.com/pion/dtls/v2 v2.2.4
github.com/pion/ice/v2 v2.2.6
github.com/pion/interceptor v0.1.11
github.com/pion/logging v0.2.2
github.com/pion/mdns v0.0.5
github.com/pion/randutil v0.1.0
github.com/pion/rtcp v1.2.9
github.com/pion/rtp v1.7.13
github.com/pion/sctp v1.8.2
github.com/pion/sdp/v3 v3.0.5
github.com/pion/srtp/v2 v2.0.9
github.com/pion/stun v0.4.0
github.com/pion/transport v0.13.1
github.com/pion/transport/v2 v2.0.0
github.com/pion/turn/v2 v2.0.8
github.com/pion/udp v0.1.4
github.com/pion/webrtc/v3 v3.1.42
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e
github.com/pkg/errors v0.9.1
github.com/pkg/profile v1.2.1
github.com/pmezard/go-difflib v1.0.0
github.com/posener/complete v1.1.1
github.com/prometheus/client_golang v1.14.0
github.com/prometheus/client_model v0.3.0
github.com/prometheus/common v0.39.0
github.com/prometheus/procfs v0.9.0
github.com/protolambda/eth2-shuffle v1.1.0
github.com/prysmaticlabs/go-bitfield v0.0.0-20210809151128-385d8c5e3fb7
github.com/prysmaticlabs/gohashtree v0.0.2-alpha
github.com/quasilyte/go-ruleguard/dsl v0.3.22
github.com/quic-go/qpack v0.4.0
github.com/quic-go/qtls-go1-18 v0.2.0
github.com/quic-go/qtls-go1-19 v0.2.1
github.com/quic-go/qtls-go1-20 v0.1.1
github.com/quic-go/quic-go v0.33.0
github.com/quic-go/webtransport-go v0.5.2
github.com/raulk/go-watchdog v1.3.0
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec
github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af
github.com/rogpeppe/go-internal v1.9.0
github.com/rs/cors v1.8.3
github.com/rs/dnscache v0.0.0-20211102005908-e0241e321417
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/ryszard/goskiplist v0.0.0-20150312221310-2dfbae5fcf46
github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da
github.com/sclevine/agouti v3.0.0+incompatible
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.8.1
github.com/smartystreets/assertions v0.0.0-20190215210624-980c5ac6f3ac
github.com/smartystreets/goconvey v1.6.4
github.com/soheilhy/cmux v0.1.4
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/spaolacci/murmur3 v1.1.0
github.com/spf13/cobra v1.6.1
github.com/spf13/pflag v1.0.5
github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271
github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a
github.com/stretchr/objx v0.5.0
github.com/stretchr/testify v1.8.2
github.com/supranational/blst v0.3.10
github.com/syndtr/goleveldb v1.0.0
github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07
github.com/tendermint/go-amino v0.14.1
github.com/tendermint/tendermint v0.31.12 => github.com/bnb-chain/tendermint v0.31.12
github.com/thomaso-mirodin/intmath v0.0.0-20160323211736-5dc6d854e46e
github.com/tidwall/btree v1.6.0
github.com/tinylib/msgp v1.1.2
github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8
github.com/torquem-ch/mdbx-go v0.27.10
github.com/ugorji/go v1.1.13
github.com/ugorji/go/codec v1.1.13
github.com/ugorji/go/codec/codecgen v1.1.13
github.com/urfave/cli v1.22.2
github.com/urfave/cli/v2 v2.25.0
github.com/valyala/fastjson v1.6.4
github.com/valyala/fastrand v1.1.0
github.com/valyala/histogram v1.2.0
github.com/vektah/gqlparser/v2 v2.5.1
github.com/viant/assertly v0.4.8
github.com/viant/toolbox v0.24.0
github.com/willf/bitset v1.1.10
github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673
github.com/xsleonard/go-merkle v1.1.0
github.com/yuin/goldmark v1.4.13
go.etcd.io/bbolt v1.3.6
go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738
go.opencensus.io v0.22.3
go.opentelemetry.io/otel v1.8.0
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.8.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.8.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.8.0
go.opentelemetry.io/otel/sdk v1.8.0
go.opentelemetry.io/otel/trace v1.8.0
go.opentelemetry.io/proto/otlp v0.18.0
go.uber.org/atomic v1.10.0
go.uber.org/dig v1.16.1
go.uber.org/fx v1.19.1
go.uber.org/goleak v1.1.12
go.uber.org/multierr v1.9.0
go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee
go.uber.org/zap v1.24.0
go4.org v0.0.0-20180809161055-417644f6feb5
golang.org/x/build v0.0.0-20190111050920-041ab4dc3f9d
golang.org/x/crypto v0.7.0
golang.org/x/exp v0.0.0-20230307190834-24139beb5833
golang.org/x/lint v0.0.0-20200302205851-738671d3881b
golang.org/x/mod v0.9.0
golang.org/x/net v0.8.0
golang.org/x/oauth2 v0.4.0
golang.org/x/perf v0.0.0-20180704124530-6e6d33e29852
golang.org/x/sync v0.1.0
golang.org/x/sys v0.6.0
golang.org/x/term v0.6.0
golang.org/x/text v0.8.0
golang.org/x/time v0.3.0
golang.org/x/tools v0.7.0
golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f
google.golang.org/api v0.3.1
google.golang.org/appengine v1.6.7
google.golang.org/genproto v0.0.0-20230202175211-008b39050e57
google.golang.org/grpc v1.53.0
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0
google.golang.org/protobuf v1.29.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.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/resty.v1 v1.12.0
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
gotest.tools/v3 v3.3.0
grpc.go4.org v0.0.0-20170609214715-11d0a25b4919
honnef.co/go/tools v0.1.3
lukechampine.com/blake3 v1.1.7
lukechampine.com/uint128 v1.2.0
modernc.org/cc/v3 v3.40.0
modernc.org/ccgo/v3 v3.16.13
modernc.org/ccorpus v1.11.6
modernc.org/httpfs v1.0.6
modernc.org/libc v1.22.3
modernc.org/mathutil v1.5.0
modernc.org/memory v1.5.0
modernc.org/opt v0.1.3
modernc.org/sqlite v1.21.0
modernc.org/strutil v1.1.3
modernc.org/tcl v1.15.1
modernc.org/token v1.1.0
modernc.org/z v1.7.0
nhooyr.io/websocket v1.8.7
pgregory.net/rapid v0.5.5
sigs.k8s.io/yaml v1.1.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

Giulio2002 commented 1 year ago

Tried to downgrade to 0.25 as well but same issue there too

MarcoPolo commented 1 year ago

We removed identify delta in v0.25:

I found a work around that seems to somehow fix this as long as I do not do any request which is calling host.RemoveStreamHandler("/p2p/id/delta/1.0.0")

I don't understand. A request is asking you to remove that stream handler? Or do you mean there are requests on the network for /p2p/id/delta/1.0.0 and as long as you handle them you don't get kicked out?

What if you had a no-op implementation for /p2p/id/delta/1.0.0, would that workaround the problem? This isn't a fix, just a way to debug the issue.

e.g.:

host.SetStreamHandler("/p2p/id/delta/1.0.0", func(s network.Stream) {
    s.Close()
})
Giulio2002 commented 1 year ago

I mean that removing that handler somehow makes it work again but only for gossip, if I do requests i start getting disconnected. NOTE: I am not sure if it is me banning somehow or them banning me, what I know is that after 8-9 hours of sending requests I lose all my peers and cannot reconnect again

Giulio2002 commented 1 year ago

Could it be that the other clients of the network uses a lower libp2p version and that is causing issues, perhaps? because none of them are running the latests in any release. If you are wondering how I came out with the identify.IdDelta fixup was that I compared it to prysm (another ETH 2.0 client) and it seems that they did remove IdDelta. So i just hardcoded the value and it just worked for as long as I do not make any requests, before it just randomly used to disconnect. Also I am now testing your snippet.

Giulio2002 commented 1 year ago

still dies with handler

MarcoPolo commented 1 year ago

I mean that removing that handler somehow makes it work again but only for gossip

This is strange. We don't have that handler registered so removing it should be a no-op?

MarcoPolo commented 1 year ago

Prysm is on go-libp2p v0.26.2 and we haven't gotten an issue from them yet. This might be an issue with your specific setup. Maybe some action is negatively affecting your gossipsub peer score?

Giulio2002 commented 1 year ago

mmmh, i see... I will see what I can do, If I find something out I will write it here, you can close this issue if you wish btw :)

Giulio2002 commented 1 year ago

Ok but hold up a second, this commit https://github.com/ledgerwatch/erigon/commit/d5bb42453acf0d5a1a1bba24b238310d86d59030 (do not worry this is just the dep upgrade) broke it for me with no change to the configuration at all and to my setup. Even if prysm has not found an issue yet, I do not see how this is expected behaviour for an upgrade to be breaking on any config. this commit is broken the one before is fine. i am very confused by this.

MarcoPolo commented 1 year ago

Can you run with GOLOG_LOG_LEVEL=debug on the working and non-working version and share the logs? You can email the logs privately to me if you like at the email on my GitHub profile.

MarcoPolo commented 1 year ago

I wonder what the difference is in those logs.

Giulio2002 commented 1 year ago

Update: it seems that disbabling pubsub makes the request not kick me again, i think it is a libp2p-go pubsub issue. should I move it to their repo?

MarcoPolo commented 1 year ago

Yes please. Tag me there as well and reference this issue.

Giulio2002 commented 1 year ago

btw i have the feelings that these logs are going to be long, should I cut them? It will take a few days as my application needs to run for 12 hours before dying

Giulio2002 commented 1 year ago

here is a taste though of the broken version logs:

2023-03-27T21:36:00.376Z        DEBUG   swarm2  swarm/limiter.go:167    [limiter] executing dial; peer: 16Uiu2HAmUfAvMBgqb9JhzXKj2SbXJhiHiYzjY3LC2KbUVJ7w2w2Z; addr: /ip4/17>
2023-03-27T21:36:00.376Z        DEBUG   swarm2  swarm/swarm_dial.go:485 16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs swarm dialing 16Uiu2HAmUfAvMBgqb9JhzXKj2SbXJhi>
2023-03-27T21:36:00.377Z        DEBUG   swarm2  swarm/limiter.go:73     [limiter] freeing FD token; waiting: 0; consuming: 34
2023-03-27T21:36:00.377Z        DEBUG   swarm2  swarm/limiter.go:100    [limiter] freeing peer token; peer 16Uiu2HAkutpUFRHunr8E1sE1TjT9MFE5gFe6T6hVHA9YgqDxHagH; addr: /ip4>
2023-03-27T21:36:00.377Z        DEBUG   net/identify    identify/id.go:388      error opening identify stream   {"peer": "16Uiu2HAkutpUFRHunr8E1sE1TjT9MFE5gFe6T6hVHA9YgqDxH>
2023-03-27T21:36:00.377Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAkutpUFRHunr8E1sE1TjT9MFE5gFe6T6hVHA9YgqDxHagH: session shut down
2023-03-27T21:36:00.377Z        DEBUG   basichost       basic/basic_host.go:735 host 16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs finished dialing 16Uiu2HAkutpUFRH>
2023-03-27T21:36:00.377Z        DEBUG   swarm2  swarm/swarm.go:362      [16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs] opening stream to peer [16Uiu2HAkutpUFRHunr8>
2023-03-27T21:36:00.377Z        DEBUG   swarm2  swarm/limiter.go:201    [limiter] clearing all peer dials: 16Uiu2HAkutpUFRHunr8E1sE1TjT9MFE5gFe6T6hVHA9YgqDxHagH
2023-03-27T21:36:00.377Z        DEBUG   swarm2  swarm/swarm_dial.go:243 dialing peer    {"from": "16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs", "to": "16Uiu2HAkut>
2023-03-27T21:36:00.377Z        DEBUG   basichost       basic/basic_host.go:718 host 16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs dialing 16Uiu2HAkutpUFRHunr8E1sE1>
2023-03-27T21:36:00.377Z        DEBUG   swarm2  swarm/swarm_dial.go:243 dialing peer    {"from": "16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs", "to": "16Uiu2HAkut>
2023-03-27T21:36:00.377Z        DEBUG   swarm2  swarm/limiter.go:193    [limiter] adding a dial job through limiter: /ip4/162.55.235.29/tcp/9000
2023-03-27T21:36:00.377Z        DEBUG   swarm2  swarm/limiter.go:161    [limiter] taking FD token: peer: 16Uiu2HAkutpUFRHunr8E1sE1TjT9MFE5gFe6T6hVHA9YgqDxHagH; addr: /ip4/1>
2023-03-27T21:36:00.377Z        DEBUG   swarm2  swarm/limiter.go:167    [limiter] executing dial; peer: 16Uiu2HAkutpUFRHunr8E1sE1TjT9MFE5gFe6T6hVHA9YgqDxHagH; addr: /ip4/16>
2023-03-27T21:36:00.377Z        DEBUG   swarm2  swarm/swarm_dial.go:485 16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs swarm dialing 16Uiu2HAkutpUFRHunr8E1sE1TjT9MFE>
2023-03-27T21:36:00.379Z        DEBUG   swarm2  swarm/limiter.go:73     [limiter] freeing FD token; waiting: 0; consuming: 34
2023-03-27T21:36:00.379Z        DEBUG   swarm2  swarm/limiter.go:100    [limiter] freeing peer token; peer 16Uiu2HAmUfAvMBgqb9JhzXKj2SbXJhiHiYzjY3LC2KbUVJ7w2w2Z; addr: /ip4>
2023-03-27T21:36:00.379Z        DEBUG   swarm2  swarm/limiter.go:201    [limiter] clearing all peer dials: 16Uiu2HAmUfAvMBgqb9JhzXKj2SbXJhiHiYzjY3LC2KbUVJ7w2w2Z
2023-03-27T21:36:00.379Z        DEBUG   net/identify    identify/id.go:388      error opening identify stream   {"peer": "16Uiu2HAmUfAvMBgqb9JhzXKj2SbXJhiHiYzjY3LC2KbUVJ7w2>
2023-03-27T21:36:00.379Z        DEBUG   basichost       basic/basic_host.go:718 host 16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs dialing 16Uiu2HAmUfAvMBgqb9JhzXKj>
2023-03-27T21:36:00.379Z        DEBUG   swarm2  swarm/swarm_dial.go:243 dialing peer    {"from": "16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs", "to": "16Uiu2HAmUf>
2023-03-27T21:36:00.379Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAmUfAvMBgqb9JhzXKj2SbXJhiHiYzjY3LC2KbUVJ7w2w2Z: session shut down
2023-03-27T21:36:00.379Z        DEBUG   basichost       basic/basic_host.go:735 host 16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs finished dialing 16Uiu2HAmUfAvMBg>
2023-03-27T21:36:00.379Z        DEBUG   swarm2  swarm/limiter.go:193    [limiter] adding a dial job through limiter: /ip4/176.9.22.143/tcp/9000
2023-03-27T21:36:00.379Z        DEBUG   swarm2  swarm/swarm.go:362      [16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs] opening stream to peer [16Uiu2HAmUfAvMBgqb9J>
2023-03-27T21:36:00.379Z        DEBUG   swarm2  swarm/limiter.go:161    [limiter] taking FD token: peer: 16Uiu2HAmUfAvMBgqb9JhzXKj2SbXJhiHiYzjY3LC2KbUVJ7w2w2Z; addr: /ip4/1>
2023-03-27T21:36:00.379Z        DEBUG   swarm2  swarm/limiter.go:167    [limiter] executing dial; peer: 16Uiu2HAmUfAvMBgqb9JhzXKj2SbXJhiHiYzjY3LC2KbUVJ7w2w2Z; addr: /ip4/17>
2023-03-27T21:36:00.379Z        DEBUG   swarm2  swarm/swarm_dial.go:243 dialing peer    {"from": "16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs", "to": "16Uiu2HAmUf>
2023-03-27T21:36:00.379Z        DEBUG   swarm2  swarm/swarm_dial.go:485 16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs swarm dialing 16Uiu2HAmUfAvMBgqb9JhzXKj2SbXJhi>
2023-03-27T21:36:00.380Z        DEBUG   swarm2  swarm/limiter.go:73     [limiter] freeing FD token; waiting: 0; consuming: 34
2023-03-27T21:36:00.380Z        DEBUG   swarm2  swarm/limiter.go:100    [limiter] freeing peer token; peer 16Uiu2HAkutpUFRHunr8E1sE1TjT9MFE5gFe6T6hVHA9YgqDxHagH; addr: /ip4>
2023-03-27T21:36:00.380Z        DEBUG   swarm2  swarm/swarm.go:362      [16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs] opening stream to peer [16Uiu2HAkutpUFRHunr8>
2023-03-27T21:36:00.380Z        DEBUG   pubsub  go-libp2p-pubsub@v0.9.0/comm.go:117     opening new stream to peer: session shut down16Uiu2HAkutpUFRHunr8E1sE1TjT9MFE5gFe6T6>
2023-03-27T21:36:00.380Z        DEBUG   swarm2  swarm/swarm.go:362      [16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs] opening stream to peer [16Uiu2HAkutpUFRHunr8>
2023-03-27T21:36:00.380Z        INFO    net/identify    identify/id.go:399      failed negotiate identify protocol with peer    {"peer": "16Uiu2HAkutpUFRHunr8E1sE1TjT9MFE5g>
2023-03-27T21:36:00.380Z        DEBUG   swarm2  swarm/swarm_dial.go:243 dialing peer    {"from": "16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs", "to": "16Uiu2HAkut>
2023-03-27T21:36:00.380Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAkutpUFRHunr8E1sE1TjT9MFE5gFe6T6hVHA9YgqDxHagH: session shut down
UN92XjaJntZkQE8q2023-03-27T21:36:00.380Z        DEBUG   swarm2  swarm/limiter.go:201    [limiter] clearing all peer dials: 16Uiu2HAkutpUFRHunr8E1sE1TjT9MFE5gFe6T6hVHA9YgqDx
Giulio2002 commented 1 year ago
4Dnwuy1otS1tQn4AdRpuzGDhpRht1ZQkqodb
2023-03-28T09:21:32.093Z        DEBUG   basichost       basic/basic_host.go:718 host 16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs dialing 16Uiu2HAkwchwTCd44Dnwuy1otS1tQn4AdRpuzGDhpRht1ZQkqodb
2023-03-28T09:21:32.093Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAkwchwTCd44Dnwuy1otS1tQn4AdRpuzGDhpRht1ZQkqodb: session shut down
2023-03-28T09:21:32.093Z        DEBUG   swarm2  swarm/swarm.go:362      [16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs] opening stream to peer [16Uiu2HAkwchwTCd44Dnwuy1otS1tQn4AdRpuzGDhpRht1ZQkqodb]
2023-03-28T09:21:32.093Z        DEBUG   swarm2  swarm/swarm_dial.go:243 dialing peer    {"from": "16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs", "to": "16Uiu2HAkwchwTCd44Dnwuy1otS1tQn4AdRpuzGDhpRht1ZQkqodb"}
2023-03-28T09:21:32.093Z        DEBUG   swarm2  swarm/swarm_dial.go:243 dialing peer    {"from": "16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs", "to": "16Uiu2HAkwchwTCd44Dnwuy1otS1tQn4AdRpuzGDhpRht1ZQkqodb"}
2023-03-28T09:21:32.093Z        DEBUG   swarm2  swarm/limiter.go:201    [limiter] clearing all peer dials: 16Uiu2HAkwchwTCd44Dnwuy1otS1tQn4AdRpuzGDhpRht1ZQkqodb
2023-03-28T09:21:32.093Z        DEBUG   swarm2  swarm/limiter.go:193    [limiter] adding a dial job through limiter: /ip4/65.109.144.95/tcp/9000
2023-03-28T09:21:32.093Z        DEBUG   swarm2  swarm/limiter.go:161    [limiter] taking FD token: peer: 16Uiu2HAkwchwTCd44Dnwuy1otS1tQn4AdRpuzGDhpRht1ZQkqodb; addr: /ip4/65.109.144.95/tcp/9000; prev consuming: 65
2023-03-28T09:21:32.093Z        DEBUG   swarm2  swarm/limiter.go:167    [limiter] executing dial; peer: 16Uiu2HAkwchwTCd44Dnwuy1otS1tQn4AdRpuzGDhpRht1ZQkqodb; addr: /ip4/65.109.144.95/tcp/9000; FD consuming: 66; waiting: 0
2023-03-28T09:21:32.093Z        DEBUG   swarm2  swarm/swarm_dial.go:485 16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs swarm dialing 16Uiu2HAkwchwTCd44Dnwuy1otS1tQn4AdRpuzGDhpRht1ZQkqodb /ip4/65.109.144.95/tcp/9000
2023-03-28T09:21:32.095Z        DEBUG   swarm2  swarm/limiter.go:73     [limiter] freeing FD token; waiting: 0; consuming: 66
2023-03-28T09:21:32.095Z        DEBUG   swarm2  swarm/limiter.go:100    [limiter] freeing peer token; peer 16Uiu2HAmGiyWEJj8L2kBND1DkZBoq1z28kKNLUPEynGU11koYvb7; addr: /ip4/98.39.65.125/tcp/9504; active for peer: 1; waiting on peer limit: 0
2023-03-28T09:21:32.095Z        DEBUG   basichost       basic/basic_host.go:735 host 16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs finished dialing 16Uiu2HAmGiyWEJj8L2kBND1DkZBoq1z28kKNLUPEynGU11koYvb7
2023-03-28T09:21:32.095Z        DEBUG   basichost       basic/basic_host.go:718 host 16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs dialing 16Uiu2HAmGiyWEJj8L2kBND1DkZBoq1z28kKNLUPEynGU11koYvb7
2023-03-28T09:21:32.095Z        DEBUG   net/identify    identify/id.go:388      error opening identify stream   {"peer": "16Uiu2HAmGiyWEJj8L2kBND1DkZBoq1z28kKNLUPEynGU11koYvb7", "error": "session shut down"}
2023-03-28T09:21:32.095Z        DEBUG   swarm2  swarm/swarm_dial.go:243 dialing peer    {"from": "16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs", "to": "16Uiu2HAmGiyWEJj8L2kBND1DkZBoq1z28kKNLUPEynGU11koYvb7"}
2023-03-28T09:21:32.095Z        DEBUG   swarm2  swarm/limiter.go:201    [limiter] clearing all peer dials: 16Uiu2HAmGiyWEJj8L2kBND1DkZBoq1z28kKNLUPEynGU11koYvb7
2023-03-28T09:21:32.095Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAmGiyWEJj8L2kBND1DkZBoq1z28kKNLUPEynGU11koYvb7: session shut down
2023-03-28T09:21:32.095Z        DEBUG   swarm2  swarm/swarm.go:362      [16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs] opening stream to peer [16Uiu2HAmGiyWEJj8L2kBND1DkZBoq1z28kKNLUPEynGU11koYvb7]
2023-03-28T09:21:32.095Z        DEBUG   swarm2  swarm/swarm_dial.go:243 dialing peer    {"from": "16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs", "to": "16Uiu2HAmGiyWEJj8L2kBND1DkZBoq1z28kKNLUPEynGU11koYvb7"}
2023-03-28T09:21:32.095Z        DEBUG   swarm2  swarm/limiter.go:193    [limiter] adding a dial job through limiter: /ip4/98.39.65.125/tcp/9504
2023-03-28T09:21:32.095Z        DEBUG   swarm2  swarm/limiter.go:161    [limiter] taking FD token: peer: 16Uiu2HAmGiyWEJj8L2kBND1DkZBoq1z28kKNLUPEynGU11koYvb7; addr: /ip4/98.39.65.125/tcp/9504; prev consuming: 65
2023-03-28T09:21:32.095Z        DEBUG   swarm2  swarm/limiter.go:167    [limiter] executing dial; peer: 16Uiu2HAmGiyWEJj8L2kBND1DkZBoq1z28kKNLUPEynGU11koYvb7; addr: /ip4/98.39.65.125/tcp/9504; FD consuming: 66; waiting: 0
2023-03-28T09:21:32.095Z        DEBUG   swarm2  swarm/swarm_dial.go:485 16Uiu2HAmS1pR12jQg4LygeZFK148mTy25hKCUYcoiYaX8Yf3ZDZs swarm dialing 16Uiu2HAmGiyWEJj8L2kBND1DkZBoq1z28kKNLUPEynGU11koYvb7 /ip4/98.39.65.125/tcp/9504

post death. full log file is 29 GB so probably it is better cut.

MarcoPolo commented 1 year ago

Anything stand out to you? Maybe log at a warn level instead?

Giulio2002 commented 1 year ago

warn:

2023-03-28T20:13:42.441Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAkvYZx4VmB2TDYZnWLVdtLccBgsYwras2E9wq68YXBNf6U: stream reset
2023-03-28T20:13:42.509Z        WARN    mplex   go-mplex@v0.7.0/multiplex.go:271        error writing data: write tcp4 142.132.137.22:43722->135.181.129.149:9000: use of closed network connection
2023-03-28T20:13:42.509Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAm8ZBgh8HWRtxiSghUjmjEthR7E46uijcHMg5Uzf8RkdYx: session shut down
2023-03-28T20:13:42.562Z        WARN    mplex   go-mplex@v0.7.0/multiplex.go:271        error writing data: write tcp4 142.132.137.22:53456->149.28.16.106:9002: use of closed network connection
2023-03-28T20:13:42.562Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAmMuE2Utb9M24vNL4fgUuwu83xC4BnNASaoov6Mp1MuRqJ: stream reset
2023-03-28T20:13:42.611Z        WARN    mplex   go-mplex@v0.7.0/multiplex.go:271        error writing data: session shut down
2023-03-28T20:13:42.611Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAm8ZBgh8HWRtxiSghUjmjEthR7E46uijcHMg5Uzf8RkdYx: session shut down
2023-03-28T20:13:42.713Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAm8ZBgh8HWRtxiSghUjmjEthR7E46uijcHMg5Uzf8RkdYx: session shut down
2023-03-28T20:13:42.815Z        WARN    mplex   go-mplex@v0.7.0/multiplex.go:271        error writing data: session shut down
2023-03-28T20:13:42.815Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAm8ZBgh8HWRtxiSghUjmjEthR7E46uijcHMg5Uzf8RkdYx: stream reset
2023-03-28T20:13:42.820Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAmQ9K7QATL5iUXKrSQQXcrVo78Dg2kkMnEMkh9GTZKHkCJ: session shut down
2023-03-28T20:13:42.893Z        WARN    mplex   go-mplex@v0.7.0/multiplex.go:271        error writing data: session shut down
2023-03-28T20:13:42.893Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAmMcFb2knmUUxSPRcWX96Qdu6xbU8FWnRxHfTVLxGU3JpK: session shut down
2023-03-28T20:13:42.916Z        WARN    mplex   go-mplex@v0.7.0/multiplex.go:271        error writing data: session shut down
2023-03-28T20:13:42.916Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAm8ZBgh8HWRtxiSghUjmjEthR7E46uijcHMg5Uzf8RkdYx: stream reset
2023-03-28T20:13:43.018Z        WARN    mplex   go-mplex@v0.7.0/multiplex.go:271        error writing data: write tcp4 142.132.137.22:43784->135.181.129.149:9000: use of closed network connection
2023-03-28T20:13:43.018Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAm8ZBgh8HWRtxiSghUjmjEthR7E46uijcHMg5Uzf8RkdYx: stream reset
2023-03-28T20:13:43.120Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAm8ZBgh8HWRtxiSghUjmjEthR7E46uijcHMg5Uzf8RkdYx: session shut down
2023-03-28T20:13:43.192Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAmQ9K7QATL5iUXKrSQQXcrVo78Dg2kkMnEMkh9GTZKHkCJ: stream reset
2023-03-28T20:13:43.230Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAm8ZBgh8HWRtxiSghUjmjEthR7E46uijcHMg5Uzf8RkdYx: session shut down
2023-03-28T20:13:43.332Z        WARN    mplex   go-mplex@v0.7.0/multiplex.go:271        error writing data: write tcp4 142.132.137.22:43820->135.181.129.149:9000: use of closed network connection
2023-03-28T20:13:43.332Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAm8ZBgh8HWRtxiSghUjmjEthR7E46uijcHMg5Uzf8RkdYx: stream reset
2023-03-28T20:13:43.349Z        WARN    mplex   go-mplex@v0.7.0/multiplex.go:271        error writing data: session shut down
2023-03-28T20:13:43.349Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAmMcFb2knmUUxSPRcWX96Qdu6xbU8FWnRxHfTVLxGU3JpK: session shut down
2023-03-28T20:13:43.434Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAm8ZBgh8HWRtxiSghUjmjEthR7E46uijcHMg5Uzf8RkdYx: session shut down
2023-03-28T20:13:43.536Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAm8ZBgh8HWRtxiSghUjmjEthR7E46uijcHMg5Uzf8RkdYx: stream reset
2023-03-28T20:13:43.638Z        WARN    mplex   go-mplex@v0.7.0/multiplex.go:271        error writing data: write tcp4 142.132.137.22:43854->135.181.129.149:9000: use of closed network connection
2023-03-28T20:13:43.638Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAm8ZBgh8HWRtxiSghUjmjEthR7E46uijcHMg5Uzf8RkdYx: stream reset
2023-03-28T20:13:43.646Z        WARN    mplex   go-mplex@v0.7.0/multiplex.go:271        error writing data: write tcp4 142.132.137.22:53846->54.172.175.182:9000: use of closed network connection
2023-03-28T20:13:43.646Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAmQ9K7QATL5iUXKrSQQXcrVo78Dg2kkMnEMkh9GTZKHkCJ: stream reset
2023-03-28T20:13:43.740Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAm8ZBgh8HWRtxiSghUjmjEthR7E46uijcHMg5Uzf8RkdYx: session shut down
2023-03-28T20:13:43.793Z        WARN    mplex   go-mplex@v0.7.0/multiplex.go:271        error writing data: write tcp4 142.132.137.22:55748->108.39.88.12:9001: use of closed network connection
2023-03-28T20:13:43.793Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAmMcFb2knmUUxSPRcWX96Qdu6xbU8FWnRxHfTVLxGU3JpK: stream reset
2023-03-28T20:13:43.842Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAm8ZBgh8HWRtxiSghUjmjEthR7E46uijcHMg5Uzf8RkdYx: session shut down
2023-03-28T20:13:44.012Z        WARN    net/identify    identify/id.go:374      failed to identify 16Uiu2HAmQ9K7QATL5iUXKrSQQXcrVo78Dg2kkMnEMkh9GTZKHkCJ: stream reset

for broken

2023-03-28T20:17:15.443Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmBq9YbXpha8RqUpM55dQ8B7jJa8RhaqYb8jZERauWnci1: session shut down
2023-03-28T20:17:15.446Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmBq9YbXpha8RqUpM55dQ8B7jJa8RhaqYb8jZERauWnci1: session shut down
2023-03-28T20:17:15.446Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmBq9YbXpha8RqUpM55dQ8B7jJa8RhaqYb8jZERauWnci1: session shut down
2023-03-28T20:17:15.449Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmBq9YbXpha8RqUpM55dQ8B7jJa8RhaqYb8jZERauWnci1: session shut down
2023-03-28T20:17:15.449Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmBq9YbXpha8RqUpM55dQ8B7jJa8RhaqYb8jZERauWnci1: session shut down
2023-03-28T20:17:15.449Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmBq9YbXpha8RqUpM55dQ8B7jJa8RhaqYb8jZERauWnci1: session shut down
2023-03-28T20:17:15.453Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmBq9YbXpha8RqUpM55dQ8B7jJa8RhaqYb8jZERauWnci1: session shut down
2023-03-28T20:17:15.453Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmBq9YbXpha8RqUpM55dQ8B7jJa8RhaqYb8jZERauWnci1: session shut down
2023-03-28T20:17:15.453Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmBq9YbXpha8RqUpM55dQ8B7jJa8RhaqYb8jZERauWnci1: session shut down
2023-03-28T20:17:15.457Z        WARN    mplex   go-mplex@v0.7.0/multiplex.go:271        error writing data: write tcp4 142.132.137.22:37346->148.251.133.208:9000: use of closed network connection
2023-03-28T20:17:15.457Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmBq9YbXpha8RqUpM55dQ8B7jJa8RhaqYb8jZERauWnci1: session shut down
2023-03-28T20:17:15.457Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmBq9YbXpha8RqUpM55dQ8B7jJa8RhaqYb8jZERauWnci1: session shut down
2023-03-28T20:17:15.457Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmBq9YbXpha8RqUpM55dQ8B7jJa8RhaqYb8jZERauWnci1: session shut down
2023-03-28T20:17:15.460Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmBq9YbXpha8RqUpM55dQ8B7jJa8RhaqYb8jZERauWnci1: session shut down
2023-03-28T20:17:15.463Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmBq9YbXpha8RqUpM55dQ8B7jJa8RhaqYb8jZERauWnci1: session shut down
2023-03-28T20:17:15.466Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmBq9YbXpha8RqUpM55dQ8B7jJa8RhaqYb8jZERauWnci1: session shut down
2023-03-28T20:17:15.466Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmBq9YbXpha8RqUpM55dQ8B7jJa8RhaqYb8jZERauWnci1: session shut down
2023-03-28T20:17:15.469Z        WARN    mplex   go-mplex@v0.7.0/multiplex.go:271        error writing data: write tcp4 142.132.137.22:37384->148.251.133.208:9000: use of closed network connection
2023-03-28T20:17:15.469Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmBq9YbXpha8RqUpM55dQ8B7jJa8RhaqYb8jZERauWnci1: session shut down
2023-03-28T20:17:15.469Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmBq9YbXpha8RqUpM55dQ8B7jJa8RhaqYb8jZERauWnci1: session shut down
2023-03-28T20:17:15.469Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmBq9YbXpha8RqUpM55dQ8B7jJa8RhaqYb8jZERauWnci1: session shut down
2023-03-28T20:17:15.501Z        WARN    mplex   go-mplex@v0.7.0/multiplex.go:271        error writing data: write tcp4 142.132.137.22:36574->34.91.62.48:13000: use of closed network connection
2023-03-28T20:17:15.777Z        WARN    mplex   go-mplex@v0.7.0/multiplex.go:271        error writing data: session shut down
2023-03-28T20:17:15.777Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmCtWopxoZgqykenbcESTMRtspSGWgJxefvP9MvfM8UFSU: session shut down
2023-03-28T20:17:15.781Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmCir1J5dRM3DxfTKFND8indwtZgEraqKhXvhUJUTyksdc: session shut down
2023-03-28T20:17:16.133Z        WARN    net/identify    identify/id.go:437      error reading identify message: stream reset
2023-03-28T20:17:16.133Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAm64nAebwsCtqiPt4ySuTB2yR2McMineQy4RcSoAumgH2N: stream reset
2023-03-28T20:17:16.144Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmCir1J5dRM3DxfTKFND8indwtZgEraqKhXvhUJUTyksdc: session shut down
2023-03-28T20:17:16.144Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmCir1J5dRM3DxfTKFND8indwtZgEraqKhXvhUJUTyksdc: session shut down
2023-03-28T20:17:16.503Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmCir1J5dRM3DxfTKFND8indwtZgEraqKhXvhUJUTyksdc: session shut down
2023-03-28T20:17:16.625Z        WARN    mplex   go-mplex@v0.7.0/multiplex.go:271        error writing data: session shut down
2023-03-28T20:17:16.625Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmCtWopxoZgqykenbcESTMRtspSGWgJxefvP9MvfM8UFSU: session shut down
2023-03-28T20:17:16.746Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmLuzqEx653drpfYVhpwvQ4Yr1MAX5GLRg9Hm2oM5w3SZp: session shut down
2023-03-28T20:17:16.862Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmCir1J5dRM3DxfTKFND8indwtZgEraqKhXvhUJUTyksdc: session shut down
2023-03-28T20:17:16.862Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmCir1J5dRM3DxfTKFND8indwtZgEraqKhXvhUJUTyksdc: session shut down
2023-03-28T20:17:16.985Z        WARN    mplex   go-mplex@v0.7.0/multiplex.go:271        error writing data: write tcp4 142.132.137.22:49538->198.44.136.104:56964: use of closed network connection
2023-03-28T20:17:16.985Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmCtWopxoZgqykenbcESTMRtspSGWgJxefvP9MvfM8UFSU: session shut down
2023-03-28T20:17:16.985Z        WARN    net/identify    identify/id.go:334      failed to identify 16Uiu2HAmCtWopxoZgqykenbcESTMRtspSGWgJxefvP9MvfM8UFSU: session shut down

for not broken

Giulio2002 commented 1 year ago

same thing pretty much. i think I will try to test all pubsub version until implosion in beetwen

vyzo commented 1 year ago

look, this is not a pubsub issue, it is a libp2p regression that breaks pubsub.

Giulio2002 commented 1 year ago

Anyway at this point I will just use Prysm config where possible even though It is quite messy. will leave open for closure in case.

MarcoPolo commented 1 year ago

look, this is not a pubsub issue, it is a libp2p regression that breaks pubsub.

What regression?

vyzo commented 1 year ago

the only thing that has changed is libp2p, which keeps changing too fast for not particularly good reasons and without proper regression testing... and now that network is broken.

MarcoPolo commented 1 year ago

@Giulio2002 if you want to hop on a call to pair debug this I’m happy to do so. We can coordinate on filecoin slack: https://filecoin.io/slack

Giulio2002 commented 1 year ago

DMed you, text me whenever... i think we are on different timezones though

MarcoPolo commented 1 year ago

Per our out of band discussion, this isn't losing peers. Rather the "subscription to gossip seems not to count new peers after a while". I think we can close this issue, but can maybe reopen another issue when we root cause the issue.