pocket-core icon indicating copy to clipboard operation
pocket-core copied to clipboard

Pocket query nodes times out

Open DragonDmoney opened this issue 2 years ago • 3 comments

Describe the bug If you set up a POKT node following the exact directions by the docs and try 'pocket query nodes' the node will time out and give you no results. This happens even if you set the max per page to 1. You can fix this issue by increasing the RPC timeout, but most users do not know that.

DragonDmoney avatar Mar 22 '22 01:03 DragonDmoney

IMO all functions in pocket-core should be usable without extensive configuration.

DragonDmoney avatar Mar 22 '22 23:03 DragonDmoney

facing same issue so how can one increase the rpc timeout any sample? @DragonDmoney

bashiru98 avatar Apr 09 '22 12:04 bashiru98

"pocket_config": { ...... "rpc_timeout":10000 .... }

the timeout time is in ms so divide by 1000 to get seconds

*for default installations this file is in ~/.pocket/config/config.json

DragonDmoney avatar Apr 15 '22 05:04 DragonDmoney