-
Notifications
You must be signed in to change notification settings - Fork 544
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
BTC blockchain cannot get blockheight #398
Comments
Hi, If it is up and running check the logs If you couldn't find out what the problem is, you might send the blockchain logs here. |
Thanks so much for the reply. The first command shows the docker is running. root@vultr:/opendax# docker ps | grep blockchain But the second command returns in error: root@vultr:/opendax# docker compose logs -f blockchian |
@behnammby when I run docker logs opendax_blockchain_1 I get this log. I see a reference to port 8545 but my bitcoin node is running on 8333 (default) and in the opendax admin pannel I did give http://ip:8333 as server. What do you recommend? p/app/services/blockchain_service.rb:18:in |
Sorry it was a typo! blockchain is correct I wrote blockchian!! :-) |
The blockchain service is for all blockchains i.e bitcoin, ethereum etc. From the log we can see the ethereum blockchain has an error too. You can see what errors are for what blockchains from this part: To concentrate on one blockchain only, you can temporary turn off all blockchains but the blockchain you wanna trace by going to tower->settings->blockchains and then review the logs by command: |
@behnammby thanks for your time. My log shows this. My node is has open RPC and have added it to opendax. Here is the log: |
@wahdatw Apparently It seems you are having some trouble with your bitcoin node. A clienterror execution timeout means that your request took too long to complete and was terminated by the server. This could happen for various reasons, such as network issues, heavy load, slow queries, etc. |
@wahdatw I checked your running instance of node using the following command: An I got: So certainly your bitcoin node has a problem. Maybe it isn't configured correctly. Have you opened the port 8332? |
@behnammby Hey boss thanks for taking the time. I am still struggling with bitcoin node. Please check this. I setup my bitcoin.conf like this. rpcuser=wadi4u And I can curl from the server where I have setup my opendax. So with curl I can get blockheight but my opendax is not able to get blockheight. |
@wahdatw could you check the blockchain log now and send me the error? |
Hi guys,
I am trying to add BTC blockchain to the opendax v2.6.66 it fails to get blockheight. Must the btc node be fully synced?
This is how I set it up on the admin panel. Can you please help?
The text was updated successfully, but these errors were encountered: