Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error fetching eth1-deposits #288

Closed
imnisen opened this issue Oct 12, 2020 · 4 comments
Closed

error fetching eth1-deposits #288

imnisen opened this issue Oct 12, 2020 · 4 comments

Comments

@imnisen
Copy link
Contributor

imnisen commented Oct 12, 2020

Hi, while I am trying to deploy and start the explorer following this guide , I get the following error, any suggestions?

ubuntu@10-8-72-30:~/eth2-beaconchain-explorer$ ./bin/explorer --config ~/eth2-beaconchain-explorer/my-config.yaml
INFO[0000] config file path: /home/ubuntu/eth2-beaconchain-explorer/my-config.yaml
INFO[0000] database connection established
INFO[0000] gRPC connection to backend node established   module=rpc
INFO[0000] exported eth1-deposits                        blockHeight=3561403 depositsSaved=2 duration=31.931345ms fromBlock=3085928 module=exporter toBlock=3086928
ERRO[0005] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
INFO[0010] checking for new blocks/epochs to export      module=exporter
INFO[0010] Retrieving block at slot 495296               module=rpc
INFO[0010] caching assignements for epoch 15477          module=rpc
ERRO[0010] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0015] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0020] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0025] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0030] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0035] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0040] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0045] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0050] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0055] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0060] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0065] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0070] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0075] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0080] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0085] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0090] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0095] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0100] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0105] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0110] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0115] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0120] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0125] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0130] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0135] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0140] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter
ERRO[0145] error fetching eth1-deposits                  error="error getting eth1-blocks: json: cannot unmarshal object into Go value of type []rpc.jsonrpcMessage" module=exporter

Where could I make the wrong things? Thanks!

@guybrush
Copy link
Collaborator

I think this is because our eth1deposit-importer is currently only working with infura.

Will look into this, we definitely want it to work with a regular eth1-node!

@vieyang
Copy link

vieyang commented Nov 7, 2020

I have the same error. I use geth --http as the indexer.eth1Endpoint.

vieyang added a commit to vieyang/eth2-beaconchain-explorer that referenced this issue Nov 7, 2020
@guybrush
Copy link
Collaborator

guybrush commented Nov 11, 2020

@vieyang sorry! totally missed your commit :(

This is also fixed in 0e13c04 (which also includes teludo and handles an infura-error when the result-size is too large)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@guybrush @vieyang @imnisen and others