uaktags / explorer

An open source block explorer
BSD 3-Clause "New" or "Revised" License
6 stars 8 forks source link

Unable to connect to explorer API #51

Closed razerrazer closed 4 years ago

razerrazer commented 4 years ago

[2019-11-07T18:06:28.975] [INFO] default - Workers needed: 1. NumThreads: 8. BlocksToGet 2. Per Worker: 2000 1 -1 [2019-11-07T18:06:28.983] [INFO] default - There are 1 workers (node:11313) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor. [2019-11-07T18:06:29.777] [INFO] Workers.Master - Worker [0] 11313 is starting, start at index -1 and end at index 1 [2019-11-07T18:06:29.779] [INFO] default - Worker [11313] is starting, ensure it finishes [2019-11-07T18:06:29.827] [ERROR] Workers.Master - ***** Exception Caught, Thu Nov 07 2019 18:06:29 GMT+0000 (UTC) [2019-11-07T18:06:29.827] [ERROR] Workers.Master - Exception is: TypeError: Cannot read property 'blockindex' of null at /home/explorer/lib/database.js:879:84 at /home/explorer/node_modules/mongoose/lib/model.js:4600:16 at /home/explorer/node_modules/mongoose/lib/utils.js:264:16 at _hooks.execPost (/home/explorer/node_modules/mongoose/lib/query.js:4326:11) at /home/explorer/node_modules/kareem/index.js:135:16 at _combinedTickCallback (internal/process/next_tick.js:132:7) at process._tickCallback (internal/process/next_tick.js:181:9)

I have tried with everything, and it gives the same respons every time i tried to start the update. All RPC connections etc are working fine with original iquodus.