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

Getting error "unexpected end of json input" when trying to restart bootnode #1758

Open
kesaviwebsolutions opened this issue Jul 27, 2023 · 2 comments

Comments

@kesaviwebsolutions
Copy link

"unexpected end of json input" when trying to restart bootnode

I am running 6 bootnodes on 3 AWS instances (2 on each). Recently I need to downgrade the instances and I shutdown one of the machines. After downgrading and rebooting the instance when I tried to restart the bootnode, I was faced with error "unexpected end of json input". See the screenshot attached in pastebin link. Have assigned 3 RPC urls to the 3 instances, 1 of which is down ATM. Find the list of all RPC urls on https://chainlist.org/chain/786

https://pastebin.com/4bbnAJsG

Your environment

  • AWS EC2 (Ubuntu 20 LTS).
  • The version of the Polygon Edge.
    (Confirm the version of your Polygon edge client by running the following command: polygon-edge version --grpc-address GRPC_ADDRESS)
  • The branch that causes this issue.
  • AWS.
  • Please confirm if the validators are running under containerized environment (K8s, Docker, etc.).

Steps to reproduce

  • Run 6 bootnodes on 3 instances (2 bootnodes on each), shutdown 2 of them and try restarting the nodes that were shut down
  • ./main server --data-dir ./node1 --chain genesis.json --libp2p 0.0.0.0:1403 --grpc-address 0.0.0.0:10011 --jsonrpc 0.0.0.0:10001 --nat 13.229.38.155 --block-time 6 --seal
  • Provide us with the content of your genesis file.
  • No validators running, only 6 bootnodes.
  • Provide us with the peer list of each of your validators by running the following command: polygon-edge peers list --grpc-address GRPC_ADDRESS.
  • Yes chain is running and producing blocks

Expected behavior

  • Bootnode will start and sync.
  • Got error "unexpected end of json input"
@kesaviwebsolutions
Copy link
Author

2023-07-27 18 32 15

Bootnodes are not running under containarized environment

@begmaroman
Copy link
Contributor

Hey @kesaviwebsolutions!

Could you please share the polygon edge node version that you use and your genesis file?

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

2 participants