I built a minimal blockchain project using Ignite and successfully ran Ignite Chain Serve. Sending tokens to addresses as instructed in the tutorial also worked fine. However, the REST API is malfunctioning; accessing any address on port 1317 results in the following error message:
curl xxxx/cosmos/base/tendermint/v1beta1/node_info
{ “code”: 14, “message”: “connection error: desc = “error reading server preface: EOF””, “details”: }
The program appears to be running normally.
Blockchain is running. :
: Alice’s account address: cosmos1gm854qshrd22dj9lrj26sqmvw0at2tr5jqzpmk :
: Bob’s account address: cosmos1nufjqs3qqaj7hhcegtktffyjxvt9es4fecn4l8 :
: Tendermint node: xxxxx :
: Blockchain API: xxxxxx :
: Token faucet: xxxxx⋆ Data directory: /home/mohuang/.checkers ⋆ App binary: /home/mohuang/go/bin/checkersd Press the ‘q’ key to stop serving
What could be causing this? I’ve also checked the app.toml file.
app-db-backend = “”
halt-height = 0
halt-time = 0
iavl-cache-size = 781250
iavl-disable-fastnode = false
index-events =
inter-block-cache = true
min-retain-blocks = 0
minimum-gas-prices = “0stake”
pruning = “default”
pruning-interval = “0”
pruning-keep-recent = “0”
query-gas-limit = “0”[api]
address = “tcp://0.0.0.0:1317”
enable = true
enabled-unsafe-cors = true
#max-open-connections = 1000
#rpc-max-body-bytes = 1000000
#rpc-read-timeout = 10
#rpc-write-timeout = 0
swagger = true[grpc]
address = “0.0.0.0:9090”
enable = true
max-recv-msg-size = “10485760”
max-send-msg-size = “2147483647”[grpc-web]
enable = true[mempool]
max-txs = -1[rpc]
cors_allowed_origins = [“*”][state-sync]
snapshot-interval = 0
snapshot-keep-recent = 2[streaming]
[streaming.abci]
keys =
plugin = “”
stop-node-on-err = true[telemetry]
datadog-hostname = “”
enable-hostname = false
enable-hostname-label = false
enable-service-label = false
enabled = false
global-labels =
metrics-sink = “”
prometheus-retention-time = 0
service-name = “”
statsd-addr = “”
I’ve searched through a lot of information, but I still have no clue.