Rpc used for avail-light node result in "Method not found" error

I’ve setup a rpc node with flags: --chain turing --name bigrpc --rpc-cors=all --rpc-methods=unsafe --pruning archive -d /home/ubuntu/avail/node-data; But when used it for rpc of light-node, result in error: WARN avail_light::network::rpc::client: Skipping connection with this node host=“wss://avail-turing.tws.im” error=Other error: ErrorObject { code: MethodNotFound, message: “Method not found”, data: None }

What is your config file for the light client?

Should be default config. cmd is ./availup.sh --network turing --app_id 36

if you want to connect to your own rpc node, then it’s best to change the config to add that.

Yes, I have add my rpc node into availup.sh.

change:

TURING_CONFIG_PARAMS=“bootstraps=[‘/dns/bootnode.1.lightclient.turing.avail.so/tcp/37000/p2p/12D3KooWBkLsNGaD3SpMaRWtAmWVuiZg1afdNSPbtJ8M8r9ArGRT’]\nfull_node_ws=[‘wss://avail-turing.public.blastapi.io’,‘wss://turing-testnet.avail-rpc.com’]\nconfidence=80.0\navail_path=‘$HOME/.avail/$NETWORK/data’\nkad_record_ttl=43200\not_collector_endpoint=‘http://otel.lightclient.turing.avail.so:4317’\ngenesis_hash=‘d3d2f3a3495dc597434a99d7d449ebad6616db45e4e4f178f31cc6fa14378b70’\n”

to:

TURING_CONFIG_PARAMS=“bootstraps=[‘/dns/bootnode.1.lightclient.turing.avail.so/tcp/37000/p2p/12D3KooWBkLsNGaD3SpMaRWtAmWVuiZg1afdNSPbtJ8M8r9ArGRT’]\nfull_node_ws=[‘wss://avail-turing.tws.im’]\nconfidence=80.0\navail_path=‘$HOME/.avail/$NETWORK/data’\nkad_record_ttl=43200\not_collector_endpoint=‘http://otel.lightclient.turing.avail.so:4317’\ngenesis_hash=‘d3d2f3a3495dc597434a99d7d449ebad6616db45e4e4f178f31cc6fa14378b70’\n”

then start ./availup.sh --network turing --app_id 36
and result in error: WARN avail_light::network::rpc::client: Skipping connection with this node host=“wss://avail-turing.tws.im” error=Other error: ErrorObject { code: MethodNotFound, message: “Method not found”, data: None }

Maybe try using one of our 3rd party public RPC providers.

wss://avail-turing.public.blastapi.io/

Understood, thanks. But i want to setup a public rpc service for turing