Closed otherpaco closed 4 years ago
The fatal errors during shutdown are not abnormal (the panic has been fixed for the next release). What's happening is after you hit ctrl c, the node attempts to shut down each chain and if the chain times out while shutting down, the node continues to close all of the resources that it's using including the database, network, etc. In the latter case, this results in an unhandled database error and a panic (which has been fixed for the next release to allow a more graceful shutdown).
As for the X Chain not responding to queries, it looks like in both of these cases the X Chain has not finished bootstrapping. You should see a message from the X Chain that says
Bootstrapping finished...
like you can see for the other chains which are responding when the X Chain has finished bootstrapping. After the X Chain finishes bootstrapping, all of the API calls should work normally.
Hello Aaron,
the node ran since Denali Incentivized Testnet 24/7 without any issues.
Then a month ago or so all the RAM was used 8GB plus 16GB swap. So I restarted the node somewhen around that time the X-Chain calls stopped working. Thats why I tried to start with a blank database. But since then the node ran for I think 2 weeks and is still not bootstrapped (Internet con. 100 Mbit/s)?!?
Normally you get a 404 when you make a call to a chain that is not bootstrapped but I dont get any response.
And if I make the call before the /go/src/github.com/ava-labs/gecko/snow/engine/common/bootstrapper.go#166
I get a correct response for older transactions.
Moved on to Everest an 0.6.2 no problems there
Describe the bug When I make API-calls to the X-Chain I don't get any response.
Calls to health, P-Chain... are working.
To Reproduce
Expected behavior get a response
Screenshots If applicable, add screenshots to help explain your problem.
Operating System Ubuntu 20.04. 64 bit on ARM Raspi4 8GB plus 16GB swap gecko 0.5.7 build from source
Additional context I tried to rebuild gecko 0.5.7 I tried 0.5.5 I tried master
It was working before.
I stopped gecko, removed the db folder, started gecko, imported user and accounts
all of the above was not working
I will add logs here. There you can see the following: before " /go/src/github.com/ava-labs/gecko/snow/engine/common/bootstrapper.go#166"
I can make X-Chain API-Calls.
After that line I can make calls to other endpoints.
When I make a call after that line to the X-Chain I dont get any response.
I stopped gecko with ctrl+c
Sometimes I get a different message on stopping. Here I made a getBalance call. I always get one of the two FATALs, I did not find a way to say when I get the first or second case.
By submitting this issue I agree to the Terms and Conditions of the Developer Accelerator Program.