oasisprotocol / nexus

Official indexer for the Oasis Network.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

failed to retrieve remote node's chain context

1921Aaron opened this issue · comments

commented
SUMMARY

./oasis-indexer --config config/local-dev.yml prompt error

ISSUE TYPE
  • Bug Report
STEPS TO REPRODUCE

Modify the rpc in config/local-dev.yml and run ./oasis-indexer --config config/local-dev.yml
The version of my oasis-node is 22.2.8, and the oasis-indexer uses v0.1.3

ACTUAL RESULTS

{"caller":"metrics.go:25","level":"info","module":"metrics","msg":"initializing pull metrics service","ts":"2023-06-25T02:29:14.40321827Z"}
{"caller":"analyzer.go:78","config":{"Node":{"ChainID":"","RPC":"","ChainContext":"","FastStartup":false},"Analyzers":{"Consensus":{"From":8048956,"To":0},"Emerald":{"From":1003298,"To":0},"Sapphire":{"From":0,"To":0},"Cipher":null,"EmeraldEvmTokens":null,"SapphireEvmTokens":null,"EmeraldEvmTokenBalances":null,"SapphireEvmTokenBalances":null,"MetadataRegistry":{"Interval":3600000000000},"AggregateStats":{"TxVolumeInterval":600000000000}},"Storage":{"Endpoint":"postgresql://rwuser:password@localhost:5432/indexer?sslmode=disable","Backend":"postgres","Migrations":"file://storage/migrations","WipeStorage":false}},"level":"info","module":"oasis-indexer","msg":"initializing analysis service","ts":"2023-06-25T02:29:14.40331039Z"}
{"caller":"analyzer.go:100","level":"info","module":"oasis-indexer","msg":"no migrations needed to be applied","ts":"2023-06-25T02:29:14.414917502Z"}
{"caller":"grpc.go:242","err":"rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: missing address\"","level":"error","method":"/oasis-core.Consensus/GetChainContext","module":"grpc/client","msg":"request failed","req_seq":1,"rsp":"","ts":"2023-06-25T02:29:14.415618183Z"}
{"caller":"consensus.go:66","err":"failed to retrieve remote node's chain context: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: missing address\"","level":"error","module":"analysis_service","msg":"error creating client factory","ts":"2023-06-25T02:29:14.415668325Z"}
{"caller":"analyzer.go:112","error":"failed to retrieve remote node's chain context: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: missing address\"","level":"error","module":"oasis-indexer","msg":"service failed to start","ts":"2023-06-25T02:29:14.415687669Z"}
{"caller":"root.go:71","err":"failed to retrieve remote node's chain context: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: missing address\"","level":"error","module":"oasis-indexer","msg":"failed to initialize analysis service","ts":"2023-06-25T02:29:14.41569798Z"}

EXPECTED RESULTS

It should handle data from oasis-node