Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nodes configured with all versions of quic only starts with webtransport #9510

Closed
3 tasks done
Jorropo opened this issue Dec 15, 2022 · 4 comments
Closed
3 tasks done
Labels
kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization

Comments

@Jorropo
Copy link
Contributor

Jorropo commented Dec 15, 2022

Checklist

Installation method

built from source

Version

Kubo version: 0.18.0-rc1
Repo version: 13
System version: amd64/linux
Golang version: go1.19.4

Config

{
  "API": {
    "HTTPHeaders": {
      "Access-Control-Allow-Methods": [
        "PUT",
        "POST"
      ],
      "Access-Control-Allow-Origin": [
        "http://webui.ipfs.io.ipns.localhost:8080",
        "http://localhost:3000",
        "http://127.0.0.1:5001",
        "https://webui.ipfs.io"
      ]
    }
  },
  "Addresses": {
    "API": "/ip4/127.0.0.1/tcp/5001",
    "Announce": [],
    "AppendAnnounce": null,
    "Gateway": "/ip4/127.0.0.1/tcp/8080",
    "NoAnnounce": [
      "/ip4/10.0.0.0/ipcidr/8",
      "/ip4/100.64.0.0/ipcidr/10",
      "/ip4/169.254.0.0/ipcidr/16",
      "/ip4/172.16.0.0/ipcidr/12",
      "/ip4/192.0.0.0/ipcidr/24",
      "/ip4/192.0.0.0/ipcidr/29",
      "/ip4/192.0.0.8/ipcidr/32",
      "/ip4/192.0.0.170/ipcidr/32",
      "/ip4/192.0.0.171/ipcidr/32",
      "/ip4/192.0.2.0/ipcidr/24",
      "/ip4/192.168.0.0/ipcidr/16",
      "/ip4/198.18.0.0/ipcidr/15",
      "/ip4/198.51.100.0/ipcidr/24",
      "/ip4/203.0.113.0/ipcidr/24",
      "/ip4/240.0.0.0/ipcidr/4",
      "/ip6/100::/ipcidr/64",
      "/ip6/2001:2::/ipcidr/48",
      "/ip6/2001:db8::/ipcidr/32",
      "/ip6/fc00::/ipcidr/7",
      "/ip6/fe80::/ipcidr/10"
    ],
    "Swarm": [
      "/ip4/0.0.0.0/tcp/4001",
      "/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/",
      "/ip6/::/tcp/4001"
    ]
  },
  "AutoNAT": {},
  "Bootstrap": [
    "/dnsaddr/bootstrap.libp2p.io/p2p/QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN",
    "/dnsaddr/bootstrap.libp2p.io/p2p/QmQCU2EcMqAqQPR2i9bChDtGNJchTbq5TbXJJ16u19uLTa",
    "/dnsaddr/bootstrap.libp2p.io/p2p/QmbLHAnMoJPWSCR5Zhtx6BHJX9KiKNN6tpvbUcqanj75Nb",
    "/dnsaddr/bootstrap.libp2p.io/p2p/QmcZf59bWwK5XFi76CZX8cbJ4BhTzzA3gU1ZjYZcYW3dwt",
    "/ip4/104.131.131.82/tcp/4001/p2p/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ",
    "/ip4/104.236.179.241/tcp/4001/p2p/QmSoLPppuBtQSGwKDZT2M73ULpjvfd3aZ6ha4oFGL1KrGM",
    "/ip4/128.199.219.111/tcp/4001/p2p/QmSoLSafTMBsPKadTEgaXctDQVcqN88CNLHXMkTNwMKPnu",
    "/ip4/104.236.76.40/tcp/4001/p2p/QmSoLV4Bbm51jM9C4gDYZQ9Cy3U6aXMJDAbzgu2fzaDs64",
    "/ip4/178.62.158.247/tcp/4001/p2p/QmSoLer265NRgSp2LA3dPaeykiS1J6DifTC88f5uVQKNAd",
    "/ip6/2604:a880:1:20::203:d001/tcp/4001/p2p/QmSoLPppuBtQSGwKDZT2M73ULpjvfd3aZ6ha4oFGL1KrGM",
    "/ip6/2400:6180:0:d0::151:6001/tcp/4001/p2p/QmSoLSafTMBsPKadTEgaXctDQVcqN88CNLHXMkTNwMKPnu",
    "/ip6/2604:a880:800:10::4a:5001/tcp/4001/p2p/QmSoLV4Bbm51jM9C4gDYZQ9Cy3U6aXMJDAbzgu2fzaDs64",
    "/ip6/2a03:b0c0:0:1010::23:1001/tcp/4001/p2p/QmSoLer265NRgSp2LA3dPaeykiS1J6DifTC88f5uVQKNAd",
    "/ip4/138.197.153.52/udp/55855/quic/p2p/Qmc1EqWXLPfKByfeBos65D36XMBvbmPp5E3f7wu2iRgpTL",
    "/ip4/139.178.64.247/udp/4001/quic/p2p/QmVbReJM8RpHxZcMCmdSubBfBX7VdYiCn4piAmFxaGUDmJ",
    "/ip4/139.178.69.15/udp/4001/quic/p2p/QmTg7DdGo519B7KdzFppTaK5i8WGWu9erGhxsLafxRd6gp",
    "/ip4/139.178.69.3/udp/4001/quic/p2p/QmdGQoGuK3pao6bRDqGSDvux5SFHa4kC2XNFfHFcvcbydY",
    "/ip4/147.75.105.219/udp/4001/quic/p2p/QmTtFWmQ3qrp166m96ibL2jW2Doz4tJjo2CwQfYNaFb3XZ",
    "/ip4/147.75.106.163/udp/4001/quic/p2p/QmRdjvsyoNjA2ZfAQBtQ7A2m5NmtSXLgxE55Brn1AUjZ1v",
    "/ip4/147.75.109.65/udp/4001/quic/p2p/QmcYZo7xDLm8sNakKe8UK9AXjoGXGvngpD6apqmTqu7HzU",
    "/ip4/147.75.80.35/udp/4001/quic/p2p/QmU5jkMcfaZ4N1B4MzMXdCZY2pJ3re5YaPB7UjiyqShwT9",
    "/ip4/147.75.84.57/udp/4001/quic/p2p/QmZP8NCi1L2LS8K2DoG175tH4mSe8Z4ygcVXkwFxnyeMLL",
    "/ip4/172.249.155.251/udp/34045/quic/p2p/Qme2cZcZnE8gwyxvpdUKhr2eW6fZjDrXPvRMtJ1RWUNw6T",
    "/ip4/178.128.164.200/udp/59116/quic/p2p/QmcrsAcVXz2BLxmy6HibQVSjRQPpVp7jP4cquRJNLeFtvz",
    "/ip4/185.14.233.88/udp/54284/quic/p2p/QmaLq3EK8egMRD6PKYUKALQET8tp8LdNpnPx67XdiAu17D",
    "/ip4/185.183.147.39/udp/19889/quic/p2p/QmXM6uS1pftKFaXtZNvWLSCPbM9AioRvV2X3bphwRMiNqu",
    "/ip4/212.56.108.81/udp/62997/quic/p2p/QmeCa4B3yhjYn74BbP5PuRuDKFAMqLcPcDJVy8GyUaymXk",
    "/ip4/51.75.35.194/udp/4001/quic/p2p/QmVGX47BzePPqEzpkTwfUJogPZxHcifpSXsGdgyHjtk5t7",
    "/ip4/65.19.134.243/udp/4001/quic/p2p/QmVjnHFzaFvaxfrjTvVVJuit6hbMQXYXTdDfHyWjk73agU",
    "/ip4/80.195.63.245/udp/45287/quic/p2p/QmPxrDjxG7LB2B3j4ZdzfC5gWNE2JqUCCQQMe9eR5LPjmW",
    "/ip4/104.131.131.82/udp/4001/quic/p2p/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ"
  ],
  "DNS": {
    "Resolvers": null
  },
  "Datastore": {
    "BloomFilterSize": 0,
    "GCPeriod": "1h",
    "HashOnRead": false,
    "Spec": {
      "mounts": [
        {
          "child": {
            "path": "blocks",
            "shardFunc": "/repo/flatfs/shard/v1/next-to-last/2",
            "sync": true,
            "type": "flatfs"
          },
          "mountpoint": "/blocks",
          "prefix": "flatfs.datastore",
          "type": "measure"
        },
        {
          "child": {
            "compression": "none",
            "path": "datastore",
            "type": "levelds"
          },
          "mountpoint": "/",
          "prefix": "leveldb.datastore",
          "type": "measure"
        }
      ],
      "type": "mount"
    },
    "StorageGCWatermark": 90,
    "StorageMax": "550GB"
  },
  "Discovery": {
    "MDNS": {
      "Enabled": false,
      "Interval": 10
    }
  },
  "Experimental": {
    "AcceleratedDHTClient": false,
    "FilestoreEnabled": false,
    "GraphsyncEnabled": false,
    "Libp2pStreamMounting": true,
    "P2pHttpProxy": false,
    "StrategicProviding": false,
    "UrlstoreEnabled": false
  },
  "Gateway": {
    "APICommands": [],
    "HTTPHeaders": {
      "Access-Control-Allow-Headers": [
        "X-Requested-With",
        "Range",
        "User-Agent"
      ],
      "Access-Control-Allow-Methods": [
        "GET"
      ],
      "Access-Control-Allow-Origin": [
        "*"
      ]
    },
    "NoDNSLink": false,
    "NoFetch": true,
    "PathPrefixes": [],
    "PublicGateways": null,
    "RootRedirect": "",
    "Writable": false
  },
  "Identity": {
    "PeerID": "12D3KooWAuMTLB3XF8MJKRLqNxZF5cTjHP29LrhCzsr5rAqvRXHG"
  },
  "Internal": {},
  "Ipns": {
    "RecordLifetime": "",
    "RepublishPeriod": "",
    "ResolveCacheSize": 128
  },
  "Migration": {
    "DownloadSources": null,
    "Keep": ""
  },
  "Mounts": {
    "FuseAllowOther": false,
    "IPFS": "/ipfs",
    "IPNS": "/ipns"
  },
  "Peering": {
    "Peers": [
      {
        "Addrs": [],
        "ID": "12D3KooWQpscgjKc5VRMhFCs1ckNLgNAbpbzhSPxd4tAN4HtEKhc"
      },
      {
        "Addrs": [],
        "ID": "12D3KooWAX5YqEMQMaXVskNJBM9k5ryyALPgUB3FLinzEnWjp8oN"
      },
      {
        "Addrs": [
          "/ip4/51.158.153.191/udp/4001/quic",
          "/ip6/2001:bc8:1600:3:208:a2ff:fe0c:7596/udp/4001/quic"
        ],
        "ID": "12D3KooWSYHne66EbyJYrBtRmBMfMTzwba7e6deAzzLHD6FwSYba"
      }
    ]
  },
  "Pinning": {},
  "Plugins": {
    "Plugins": null
  },
  "Provider": {
    "Strategy": ""
  },
  "Pubsub": {
    "DisableSigning": false,
    "Router": ""
  },
  "Reprovider": {},
  "Routing": {},
  "Swarm": {
    "AddrFilters": [
      "/ip4/10.0.0.0/ipcidr/8",
      "/ip4/100.64.0.0/ipcidr/10",
      "/ip4/169.254.0.0/ipcidr/16",
      "/ip4/172.16.0.0/ipcidr/12",
      "/ip4/192.0.0.0/ipcidr/24",
      "/ip4/192.0.0.0/ipcidr/29",
      "/ip4/192.0.0.8/ipcidr/32",
      "/ip4/192.0.0.170/ipcidr/32",
      "/ip4/192.0.0.171/ipcidr/32",
      "/ip4/192.0.2.0/ipcidr/24",
      "/ip4/192.168.0.0/ipcidr/16",
      "/ip4/198.18.0.0/ipcidr/15",
      "/ip4/198.51.100.0/ipcidr/24",
      "/ip4/203.0.113.0/ipcidr/24",
      "/ip4/240.0.0.0/ipcidr/4",
      "/ip6/100::/ipcidr/64",
      "/ip6/2001:2::/ipcidr/48",
      "/ip6/2001:db8::/ipcidr/32",
      "/ip6/fc00::/ipcidr/7",
      "/ip6/fe80::/ipcidr/10"
    ],
    "ConnMgr": {
      "GracePeriod": "1m",
      "HighWater": 3000,
      "LowWater": 2000,
      "Type": "basic"
    },
    "DisableBandwidthMetrics": false,
    "DisableNatPortMap": true,
    "RelayClient": {},
    "RelayService": {},
    "Transports": {
      "Multiplexers": {},
      "Network": {
        "QUIC": false,
        "Websocket": false
      },
      "Security": {}
    }
  }
}

Description

I updated kubo on my server and when I start ipfs daemon I get:

Swarm listening on /ip4/127.0.0.1/tcp/4001
Swarm listening on /ip4/127.0.0.1/udp/4001/quic-v1/webtransport/certhash/uEiC2vES1btZRIMarj_Bo2-2b_kVZe1fjTMwqQmh0kUEIww/certhash/uEiBxCQE941qj0zLKrtvafQWXw6B4e_DTkRDNaFBJ-q1GSA
Swarm listening on /ip4/163.172.31.60/tcp/4001
Swarm listening on /ip4/163.172.31.60/udp/4001/quic-v1/webtransport/certhash/uEiC2vES1btZRIMarj_Bo2-2b_kVZe1fjTMwqQmh0kUEIww/certhash/uEiBxCQE941qj0zLKrtvafQWXw6B4e_DTkRDNaFBJ-q1GSA
Swarm listening on /ip4/172.17.0.1/tcp/4001
Swarm listening on /ip4/172.17.0.1/udp/4001/quic-v1/webtransport/certhash/uEiC2vES1btZRIMarj_Bo2-2b_kVZe1fjTMwqQmh0kUEIww/certhash/uEiBxCQE941qj0zLKrtvafQWXw6B4e_DTkRDNaFBJ-q1GSA
Swarm listening on /ip6/205:7c34:ad8e:5797:7e67:2a05:7e46:9c28/tcp/4001
Swarm listening on /ip6/205:7c34:ad8e:5797:7e67:2a05:7e46:9c28/udp/4001/quic-v1/webtransport/certhash/uEiC2vES1btZRIMarj_Bo2-2b_kVZe1fjTMwqQmh0kUEIww/certhash/uEiBxCQE941qj0zLKrtvafQWXw6B4e_DTkRDNaFBJ-q1GSA
Swarm listening on /ip6/::1/tcp/4001
Swarm listening on /ip6/::1/udp/4001/quic-v1/webtransport/certhash/uEiC2vES1btZRIMarj_Bo2-2b_kVZe1fjTMwqQmh0kUEIww/certhash/uEiBxCQE941qj0zLKrtvafQWXw6B4e_DTkRDNaFBJ-q1GSA
Swarm listening on /p2p-circuit
Swarm announcing /ip4/127.0.0.1/tcp/4001
Swarm announcing /ip4/127.0.0.1/udp/4001/quic-v1/webtransport/certhash/uEiC2vES1btZRIMarj_Bo2-2b_kVZe1fjTMwqQmh0kUEIww/certhash/uEiBxCQE941qj0zLKrtvafQWXw6B4e_DTkRDNaFBJ-q1GSA
Swarm announcing /ip4/163.172.31.60/tcp/4001
Swarm announcing /ip4/163.172.31.60/udp/4001/quic-v1/webtransport/certhash/uEiC2vES1btZRIMarj_Bo2-2b_kVZe1fjTMwqQmh0kUEIww/certhash/uEiBxCQE941qj0zLKrtvafQWXw6B4e_DTkRDNaFBJ-q1GSA
Swarm announcing /ip6/::1/tcp/4001
Swarm announcing /ip6/::1/udp/4001/quic-v1/webtransport/certhash/uEiC2vES1btZRIMarj_Bo2-2b_kVZe1fjTMwqQmh0kUEIww/certhash/uEiBxCQE941qj0zLKrtvafQWXw6B4e_DTkRDNaFBJ-q1GSA
@Jorropo Jorropo added kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization labels Dec 15, 2022
@Jorropo
Copy link
Contributor Author

Jorropo commented Dec 15, 2022

cc @marten-seemann any idea of things I should be looking at here ?

@Jorropo
Copy link
Contributor Author

Jorropo commented Dec 15, 2022

Trying to dial /quic fails (more exactly it succeed but over TCP retry instead), so I don't belive it's a visual bug.

@marten-seemann
Copy link
Member

@Jorropo I extended the integration test that we already had for WebTransport / QUIC support: libp2p/go-libp2p#1957. It now covers exactly (?) the scenario that you're describing, and the test still succeeds.

The most helpful thing would be to reproduce it in that test case :)
The next most helpful thing would be a qlog (enable by setting the QLOGDIR env). Either post it here, or load it into qvis yourself and see why the connection attempt is rejected.

@Jorropo
Copy link
Contributor Author

Jorropo commented Jun 22, 2023

No longer an issue, idk what happend but it works now.

@Jorropo Jorropo closed this as completed Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization
Projects
None yet
Development

No branches or pull requests

2 participants