Open liv-io opened 2 months ago
I'm going to bump oura and see if this fixes it. I was already able to sync preprod using cardano_net
without issues.
Is it possible for you to use cardano_net
instead of oura
? That way you can avoid oura and have it go directly through CML instead which can parse everything fine.
I tried running the "Unknown" block cbor reported there through CML directly and it works in 6.0.0 / 5.3.1 / 5.2.0 (I didn't test any older). Generally CML has far fewer parsing problems since the serialization/deserialization part is generated directly from the conway.cddl
file so human error is minimized.
After changing the source.type
from oura
to cardano_net
, I ran into a new error when synchronizing from scratch:
2024-08-29T11:30:25.620308Z INFO carp::sinks::cardano: Starting epoch 50 at block #598073 (268f8210f355e9eb2a2f4a22a774cf6c85f48cca768c69d4ffcab07926716b1b)
2024-08-29T11:31:11.678262Z INFO carp::sinks::cardano: Finished processing epoch 50 after 43s (+2s)
2024-08-29T11:31:11.678278Z INFO carp::sinks::cardano: Starting epoch 51 at block #616080 (9ecca5c54559257ca8bf229a263213077d760b53d495e3d1befdde768bb67f48)
2024-08-29T11:31:53.195443Z INFO carp::sinks::cardano: Finished processing epoch 51 after 39s (+1s)
2024-08-29T11:31:53.195460Z INFO carp::sinks::cardano: Starting epoch 52 at block #633872 (b8e08fa5756a2dbbfa9a0d63ad650e44cffeb8eea2121b230f9e81da28751d51)
2024-08-29T11:32:59.508879Z ERROR carp: Processing loop finished with error, stopping engine error=Error while interacting with the Persistent storage of the Multiverse
The new configuration file is:
source:
type: cardano_net
relay:
- 127.0.0.1
- 30000
sink:
type: cardano
db:
type: postgres
database_url: postgresql://carp:<password>@127.0.0.1:5432/carp
network: preprod # preview / preprod / testnet
start_block:
Can you spot any obvious mistakes in my setup?
Thank you for your help.
I don't think so. I ran it locally with this:
source:
type: cardano_net
relay:
- localhost
- 3001
sink:
type: cardano
db:
type: postgres
database_url: postgresql://carp:<password>@localhost:5432/carp_preprod
network: preprod # preview / preprod / testnet / custom
start_block:
but it looks identical just with localhost
instead of 127.0.0.1
but that just resolves to the same thing in the end. How are you running your cardano node? I was running it from the docker image on 9.0.0
. What version is your node on? Were you re-syncing the DB from scratch or did it have your old blocks in the carp DB from when you were running from oura?
Also what version of carp are you using? Does it still happen with #198?
Thanks for your efforts.
I was running it from the docker image on 9.0.0. What version is your node on?
I am running cardano-node 9.1.0
Also what version of carp are you using?
I am running carp 3.2.0 as stated in the description.
Does it still happen with https://github.com/dcSpark/carp/pull/198?
Do you want me to compile and run carp from this branch?
@rooooooooob I ran into the same error after updating:
I've purged the PostgreSQL and resynced carp (PreProd) from scratch. The error message is:
2024-09-16T08:54:40.967532Z INFO carp::sinks::cardano: Starting epoch 51 at block #616080 (9ecca5c54559257ca8bf229a263213077d760b53d495e3d1befdde768bb67f48)
2024-09-16T08:55:22.104724Z INFO carp::sinks::cardano: Finished processing epoch 51 after 39s (+1s)
2024-09-16T08:55:22.104748Z INFO carp::sinks::cardano: Starting epoch 52 at block #633872 (b8e08fa5756a2dbbfa9a0d63ad650e44cffeb8eea2121b230f9e81da28751d51)
2024-09-16T08:56:27.808463Z ERROR carp: Processing loop finished with error, stopping engine error=Error while interacting with the Persistent storage of the Multiverse
Please let me know if I can test anything with a development branch/release. Thanks for your help.
@ecioppettini any idea what could be causing this? Error while interacting with the Persistent storage of the Multiverse
doesn't sound very descriptive.
Hello,
Since the Chang hard fork (preprod) on Saturday, August 24th, around midnight UTC, the Carp process has been repeatedly crashing. The logs show the following error message:
Resynchronizing Carp from scratch, including completely dropping the PostgreSQL database, did not resolve the issue for me.
Setup
Network
PreProd
Specifications
The hardware specifications are:
Versions
The software versions are:
Configuration
default.yml
Please let me know if I need to provide further details about our setup.
Thank you for your help.