I am running geth --syncmode "light"
When I attempt to communicate with a smart contract already deployed on the mainnet I do the following in the geth console:
>var Contract = eth.contract(abi)
>var myContract = Contract.at(address)
However, when I try to execute a function I get the following:
>myContrant.func.call(3,5)
Error: can't fetch trie key b3658ad28c17c69b3cd0fc2dfebbc66b9223d1c01ec56751ea9dd000cd79b061: no suitable peers available
at web3.js:3143:20
at web3.js:6347:15
at web3.js:5081:36
at web3.js:4102:22
at <anonymous>:1:1
Also:
>myContract.func.sendTransaction(3, 5, {from: eth.accounts[1]})
Error: no suitable peers available
at web3.js:3143:20
at web3.js:6347:15
at web3.js:5081:36
at web3.js:4137:16
at <anonymous>:1:1
Is this a problem of the lightnode and its communication with the peers?
How can this problem be solved?