Skip to content

Error: Sync failed on block 0 #3

Description

@i5hi

Hello.
I am trying to use eos-node-watcher on the Jungle Testnet to monitor transfer actions on my account.

This is my config.json:

{
  "watchInterval": 500,
  "eosApi": "http://dev.cryptolions.io:38888",
  "eosHistoryApi": "http://dev.cryptolions.io:38888",
  "apiTimeout": 3000,
  "initialBlock": 0,
  "accounts": {
    "stestnettbit": [],
    "eosio.token": [
      {
        "name": "transfer",
        "data": { "to": "stestnettbit" }
      }
    ]
  },
  "mongodb": {
    "isActive": true,
    "address": "mongodb://localhost:27017",
    "database": "eos_node_watcher",
    "prefix": "enw_"
  },
  "zeromq": {
    "isActive": false,
    "address": "tcp://*:60400"
  },
  "amqp": {
    "isActive": true,
    "address": "amqp://localhost",
    "channel": "eosnodewatcher"
  }
}

When I run node index.js, console outputs:

18:31:43.463 INFO Blocks were never synced, starting from 699999
(node:10102) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
18:31:43.644 INFO Syncing block 699999
18:31:44.109 ERROR Sync failed on block 699999 >>> Request failed with status code 404
18:31:44.109 INFO Syncing block 699999
18:31:44.514 ERROR Sync failed on block 699999 >>> Request failed with status code 404
18:31:44.515 INFO Syncing block 699999
18:31:44.927 ERROR Sync failed on block 699999 >>> Request failed with status code 404
18:31:44.928 INFO Syncing block 699999
...
...

I have tried changing the initialBlock variable and all values give the same type of error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions