XRPLF / rippled

Decentralized cryptocurrency blockchain daemon implementing the XRP Ledger protocol in C++
https://xrpl.org
ISC License
4.52k stars 1.47k forks source link

Issue with clio setup #4211

Closed mounikakun closed 2 years ago

mounikakun commented 2 years ago

Issue Description

Trying to setup clio in clio-devnet-local but there's an issue while running: terminate called after throwing an instance of 'boost::wrapexcept<std::invalid_argument>'

Steps to Reproduce

Follow https://github.com/XRPLF/clio/blob/develop/README.md and then ran ./build/clio_server example-config.json from clio.

Expected Result

Clio should be running and get in sync with rippled

Actual Result

{
  "database":
  {
    "type":"cassandra",
    "cassandra":
    {
      "contact_points":"127.0.0.1",
      "port":9042,
      "keyspace":"clio",
      "replication_factor":1,
      "table_prefix":"",
      "max_requests_outstanding":25000,
      "threads":8
    }
  },
  "etl_sources":
  [
    {
      "ip":"127.0.0.1",
      "ws_port":"6006",
      "grpc_port":"50051"
    }
  ],
  "dos_guard":
  {
    "whitelist":["127.0.0.1"]
  },
  "server":{
    "ip":"0.0.0.0",
    "port":51233
  },
  "log_level":"debug",
  "log_to_console": true,
  "log_to_file": true,
  "log_directory":"./clio_log",
  "log_rotation_size": 2048,
  "log_directory_max_size": 51200,
  "log_rotation_hour_interval": 12,
  "online_delete":0,
  "extractor_threads":8,
  "read_only":false
}

terminate called after throwing an instance of 'boost::wrapexcept<std::invalid_argument>'
 what(): not a uint64
Aborted (core dumped)
cjcobb23 commented 2 years ago

Please move this issue to the clio repo: https://github.com/XRPLF/clio