Uploaded image for project: 'Blockchain Explorer'
  1. Blockchain Explorer
  2. BE-855

Sync - Error : [ 'Block already in processing' ]

    XMLWordPrintable

Details

    • Bug
    • Status: Complete
    • Highest
    • Resolution: Done
    • v1.1.3
    • None
    • None
    • I checkouted v1.1.4

    Description

      The program always crashes a minute after starting.

      [2021-02-19T08:09:42.319] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>>
      2021-02-19T08:09:42.324Z - warn: [BlockEventSource]: Error notifying listener message=Connection terminated, stack=Error: Connection terminated
          at Connection.con.once (/opt/blockchain/blockchain-explorer/node_modules/pg/lib/client.js:254:9)
          at Object.onceWrapper (events.js:286:20)
          at Connection.emit (events.js:203:15)
          at Socket.<anonymous> (/opt/blockchain/blockchain-explorer/node_modules/pg/lib/connection.js:78:10)
          at Socket.emit (events.js:198:13)
          at TCP._handle.close (net.js:607:12)
      2021-02-19T08:09:42.326Z - warn: [BlockEventSource]: Error notifying listener message=Connection terminated, stack=Error: Connection terminated
          at Connection.con.once (/opt/blockchain/blockchain-explorer/node_modules/pg/lib/client.js:254:9)
          at Object.onceWrapper (events.js:286:20)
          at Connection.emit (events.js:203:15)
          at Socket.<anonymous> (/opt/blockchain/blockchain-explorer/node_modules/pg/lib/connection.js:78:10)
          at Socket.emit (events.js:198:13)
          at TCP._handle.close (net.js:607:12)
      [2021-02-19T08:09:42.319] [ERROR] Sync - Error :  [ 'Block already in processing' ]
      [2021-02-19T08:09:42.319] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>>
      [2021-02-19T08:09:42.323] [ERROR] PgService - [INSERT ERROR] -  Connection terminated
      [2021-02-19T08:09:42.747] [INFO] SyncPlatform - Updating the client network and other details to DB
      [2021-02-19T08:09:42.760] [INFO] SyncServices - SyncServices.synchNetworkConfigToDB client  bingobc  channel_name  order
      [2021-02-19T08:09:42.773] [INFO] FabricUtils - generateBlockHash 0
      [2021-02-19T08:09:42.774] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>>
      [2021-02-19T08:09:42.774] [ERROR] Sync - Error: Client was closed and is not queryable
          at process.nextTick (/opt/blockchain/blockchain-explorer/node_modules/pg/lib/client.js:535:25)
          at process._tickCallback (internal/process/next_tick.js:61:11)
      [2021-02-19T08:09:42.774] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>>
      

      when I change blocksSyncTime in dist/explorerconfig.json to 2, the program whill crash 2 min after starting.

      Attachments

        Activity

          People

            nfrunza Nik Frunza
            mrchar mrchar mrchar
            Atsushi Katada, mrchar mrchar, pouya shojaei, sung il han, Vitor Alves Duarte
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: