ericet/cosmos-learn

meet a 404 errror

hapiman opened this issue · 0 comments

var error = new Error(message);
^
Error: Request failed with status code 404
at createError (/Users/pengjian/Desktop/cosmos-learn/node_modules/@cosmjs/tendermint-rpc/node_modules/axios/lib/core/createError.js:16:15)
at settle (/Users/pengjian/Desktop/cosmos-learn/node_modules/@cosmjs/tendermint-rpc/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/Users/pengjian/Desktop/cosmos-learn/node_modules/@cosmjs/tendermint-rpc/node_modules/axios/lib/adapters/http.js:269:11)
at IncomingMessage.emit (node:events:538:35)
at endReadableNT (node:internal/streams/readable:1345:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
config: {
url: 'https://rpc.cosmos.network',
method: 'post',
data: '{"jsonrpc":"2.0","id":582153966657,"method":"status","params":{}}',
headers: {
Accept: 'application/json, text/plain, /',
'Content-Type': 'application/json',
'User-Agent': 'axios/0.21.4',
'Content-Length': 65
},

is https://rpc.cosmos.network api unavaliable?