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
[BUG] - ChainTransitionError #2725
Comments
I encountered the same problem, if it is solved, please tell me. |
Is it possible to skip this fixed block? |
@maierfelix please post the 4 config files you downloaded.
@ducknessman No, this is not possible. |
Which configuration file do you need to view? |
Config files look fine. Do you still see the |
no, Chain extended, new tip does not exist,the error log is
|
And what happens after that if anything? And what does And what are the machine specs? |
I neither get the |
@ducknessman 32G is more than enough. 8G should be sufficient (at least for now). @maierfelix Machine specs? |
I am resynchronizing now. |
i have a new question, |
No, snapshots are currently not available. |
I'm on Windows 10 and just tried running with Docker, same chain errors. Before, I used Ubuntu 20. 04 on WSL2 using the pre-built binaries and also by building from source, both times it failed with the same errors and stops syncing Machine specs:
|
I have posted this ticket on the internal IOHK Slack. Hoping someone more knowledgable than me can respond. |
can you try with config files here? https://hydra.iohk.io/build/6198010/download/1/index.html A couple changes were made recently for upcoming alonzo era and I want to see if using the configs recommended for 1.27.0 resolves the issue for you. |
This fixed it for me. I put the JSON files on both of my nodes and restarted them. It's syncing again now. Thanks! |
@maierfelix @ducknessman Any feedback on @disassembler's suggestion? Would also be interested in seeing a diff between the files you retrieved and the one that works. |
I just replaced all the config files, and now it has started to synchronize. |
The shelley-genesis.json over at https://hydra.iohk.io/build/6198010/download/1/index.html does not reflect the diff from your screenshot. The last key:value pair in the json is still "securityParam": 2160. @ducknessman where are you getting your config files? |
the link is : |
Did the config file thing work for anyone else? I'm looking at the shelley-genesis over at the links in this thread and neither the testnet nor mainnet files (https://hydra.iohk.io/build/6198010/download/1/testnet-shelley-genesis.json, https://hydra.iohk.io/build/6198010/download/1/mainnet-shelley-genesis.json) look like @ducknessman screenshot. Neither of those files for example has a |
@profd2004 That's because the genesis being referred to in the "latest" builds are in preparation for Alonzo, and the optional parameter |
it's started sync again, but i think it stack again on epoch 267 [51.4%] 25minutes and increasing. Umbelivable how buggy this cod is. I even copy blockchain from a running server and dident work too. Do you have any clue or idea guys how to solve this issue. |
What other bugs are you facing? Have you raised tickets for any of them? Yes, we handled changes to the confg file poorly. That is something we would like to improve. |
Are you sure it is stuck? |
I had issues with 1.27.0 node. after3 days of fight looks like everything works. so happy |
What issues? Did you raise a ticket? We cannot fix what we do not know about. |
I dident rised the ticket, I was looking for help and information on google. The main issue was that 1.27.0 node stopped sync after 14.9%. after swapping files and restarting node. I could not switch the node and when finaly was runnimg after few attempts, just start disappearing and showing again back for 2-3 secends in system monitor. After completely new instaletion of cardano-node started works. |
@erikd Here is my specific issue that is oddly only happening with my test node. I'm using the same build for my test and mainnet node but only the test node is not syncing; hence I thought it was maybe something with the config. I'm getting the exact issue on my remote cloud node as well as my local home node, at the same slotNo.
Should I create an issue somewhere else? |
So this is a test node that runs on mainnet or testnet? If it runs on mainnet I would be very interested in a diff between the configs of the working and non-working nodes. Can I assume that you are running the same git checkout versions? |
Unfortunately I was in the same situation. Node sync stopped at 14.4%. Trying to restart the service after updating the config files, returns this error:
Any idea? Doing a diff on the config files, it seems that |
How are you measuring that? |
gLiveView Adding the missing key back to the config file and cardano-node fails with this new error:
It seems like cardano-node is complaining the config file has changed? Edit: Starting from scratch with the new config file works, you just can't continue syncing if the config file has changed (per my understanding, might be wrong) |
Yeah, config changed to support upcoming Alonzo features. We (IOHK/IOG) probably need to handle dissemination of these files in a better way. They should be locked to a release version instead of whatever is latest on master.
Some changes will not be a problem and others will. Resyncing is probably the best option. |
@erikd I'm currently re-syncing with latest I totally agree that config files should be locked to release, especially if they are subject to change. Thank you a lot for your help! |
I'll get the release manager to add links in the release notes. We're a little spoiled with nix. It handles all the dependencies down to even the config file versions so we never run into the issue of mismatching config files in our deployments since we point to the tagged commit. |
Yes, same git version. Here is my setup: Locally I've always ran and developed against the testnet which was working until I rebooted for 1.26.1. Since then, only production/mainnet works. |
We are moving fast and unfortunately we are breaking things. We need to keep moving fast, but make sure things don't get broken. |
@maierfelix You say:
However, the If you are building a node to run on mainnnet, you should never build from |
@erikd here is that diff: |
@profd2004 One is a testnet config and the other is mainnet. They are different. They are not compatible. |
@erikd, yes they are not compatible. the mainnet confit is running on a mainnet and it works just great. The testnet config is running on a tesnet node, were I am having issues. Both environments running the same 1.27.0 build. None of my testnet nodes are working. |
@profd2004 Ok, testnet may be busted. Please raise a separate ticket about that. |
I am seeing this same issue when running from the cardano-node:1.27.0 Docker image for a db-sync node. |
@bruceharrison1984 is that testnet or mainnet? |
My apologies, it is main-net but a different error. I had to wait for the node to sync again to get the error to appear. You can disregard my +1. For the sake of completion, this is the error I received:
Which is totally unrelated to this topic. |
I may be having this same issue. I am trying to sync the cardano-node using the docker container. I can get up to the Allegra era, and then eventually the docker container exits. And when I try starting the docker container up again, the node.socket is not found in the /ipc directory anymore, where previous to the docker crashing it was available. Here is how the output looks like when I restart the docker, and it just hangs here before the container exits again:
|
Is there an official solution? Nod version that is working on the main net? :) |
Anyone wanting to run the node on mainnet should do so from the latest tagged version (currently They should not use the master branch which has changes related to the upcoming Alonzo release and is not compatible with the current mainnet. |
I did build it form a tag and I have this issue with the synchronization :| Will there be a fix for this? |
@erikd Could you maybe please tell us how to find the correct config files for a specific cardano-node version (for example 1.28.0)? Navigating https://hydra.iohk.io is very confusing. All I find online are specific links to builds but i don't know how to map a build number to a specific cardano-node version. Wouldn't it make sense to commit the config files in the code repo for both the mainnet and testnet? |
So should be running different builds or tags on the testnet vs the mainnet? I thought the I just tried to spin up a brand new 1.29.0 node with config files from https://hydra.iohk.io/build/7366583/download/1/index.html and I'm getting this error when spun on the testnet: I ask about mainnet because I also upgraded my pool's mainnet deployment with the same 1.29.0 build (with mainnet config and command) and it came back up with zero issues. Should I barking a different path? cat of my generated protocolMagicId shows the correct id (1097911063 for the testnet) so I know cardano-node is being passed the correct configuration. At this point I'm just looking for something new to poke at; other than the config files. |
Closing this. If this is still relevant please reopen. |
Internal/External
External
Summary
Unable to synchronize when setting up a new node
Steps to reproduce
1.27.0
and build6413627
)6426791
):Unexpected behavior
The node is syncing properly until about block
4492800
(shelley era begin?) and starts to throw errors. I tried deleting theledger
andvolatile
folders in the database, but the errors still appear. Error log:System info (please complete the following information):
The text was updated successfully, but these errors were encountered: