Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

How to properly test bootnodes with light clients #1957

@pmensik

Description

@pmensik

Hello, I hope I am asking in the right repository :-) I wanted to set up a bootnode for Polkadot/Kusama/Westend networks and I ran into an issue - how to test that the websocket configuration with my own certificate is really working? I didn't find any documentation on this so I thought I will ask here. This is what I have tried

  1. I tested the bootnode on other node running with custom polkadot.json spec which lists only my bootnode. This works both for IP and DNS records of my bootnode
  2. I tried to test the light client connection with disabling all the other bootnodes in Substrate Connect browser extension and allowing only mine - this seems to work but I know that light clients work even without extension so it's not really conclusive. Also the extension by which bootnode is connected to the network doesn't show which specific RPC/bootnode is used for connection.
  3. I cloned smoldot repository and edited chainspec again in bin/polkadot.json - the weird issue is that sometimes even official Parity bootnodes won't work so it doesn't produce conclusive results as well. I actually tried to test various bootnodes while was at it and again, most of them didn't work - Polkadot JS times out while connecting to the RPC.

So now I am pretty much lost and wondering what would be the best to conclusively test that my bootnode configuration for WSS is working before I create PR to the polkadot repository. FYI, the bootnode I am trying to set up is

/dns/polkadot-bootnode.polkadotters.com/tcp/30333/p2p/12D3KooWCgNAXvn3spYBeieVWeZ5V5jcMha5Qq1hLMtGTcFPk93Y
/dns/polkadot-bootnode.polkadotters.com/tcp/30334/ws/p2p/12D3KooWCgNAXvn3spYBeieVWeZ5V5jcMha5Qq1hLMtGTcFPk93Y

Thanks a lot for any hints!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions