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

Error occurred while decoding: Null #182

Closed
liv-io opened this issue Mar 28, 2024 · 1 comment
Closed

Error occurred while decoding: Null #182

liv-io opened this issue Mar 28, 2024 · 1 comment

Comments

@liv-io
Copy link

liv-io commented Mar 28, 2024

I am not able to start a fresh carp 3.0.1 instance in preprod. After applying all migrations, carp exits with the following error message:

Applying all pending migrations
...
Migration 'm20240229_000019_add_block_tx_count_column' has been applied
2024-03-28T14:12:32.705102Z  INFO carp::sinks::cardano: Starting epoch 0 at block #1 (1d031daf47281f69cd95ab929c269fd26b1434a56a5bbbd65b7afe85ef96b233)
thread '<unnamed>' panicked at indexer/tasks/src/byron/byron_block.rs:11:1:
called `Result::unwrap()` on an `Err` value: Query("error occurred while decoding: Null")
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at /root/.cargo/git/checkouts/oura-651309f44306a5e9/27fb7e8/src/filters/selection.rs:235:43:
error sending filter message: SendError { .. }
thread '<unnamed>' panicked at /root/.cargo/git/checkouts/oura-651309f44306a5e9/27fb7e8/src/mapper/prelude.rs:78:14:

My setup consists of:

  • Debian 12
  • cardano-node 8.7.3
  • postgresql 15

I also tried cardano-node 8.9.1 without success. Carp 2.4.0 works flawlessly with the exact same setup and configuration.
Please find my default.yml configuration file below:

source:
  type: oura
  socket: "/var/local/cardano-node/db/node.socket"
  bearer: Unix # Unix
sink:
  type: cardano
  db:
    type: postgres
    database_url: postgresql://carp:carp@localhost:5432/carp
  network: preprod # preview / preprod / testnet
start_block:

Any inputs are highly appreciated. Thanks!

@liv-io liv-io changed the title Carp 3.0.1 Error occurred while decoding: Null Mar 28, 2024
@ironmask285
Copy link

:( I got same issue

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