Gateway: how to serve only pinned CIDs

I was not able to reproduce with v0.29.0 either, the CID you used above pins fine with NoFetch.

Perhaps the problem is related to something specific to your setup?

  • Try upgrading to 0.30.0-rc1 to eliminate already fixed libp2p and bitswap bugs. If you run both gateway and storage instances, make sure to upgrade both.
  • Check if your node’s connectivity is correctly set up, namely expose ports defined in Addresses.Swarm, and allow incoming connections.
  • TIP: when you are trying to debug things, and want to ask for help, share your full ipfs config show + CLI / env that you used for running Docker. Without it it is hard to reason about your setup.
1 Like