solana-py icon indicating copy to clipboard operation
solana-py copied to clipboard

AsyncClient.is_connected got 404 not found

Open RnMss opened this issue 2 years ago • 1 comments

The function tries to GET /health which does not seem to exist in the current API. The working way to call seems to be POST / with body {"method":"getHealth", "jsonrpc":"2.0", "id": xxx}.

RnMss avatar May 09 '22 05:05 RnMss

you will have to await it. I believe it works. try the example in read me.

crypt0miester avatar May 20 '22 15:05 crypt0miester