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

CRASH! Error: block not in index #2

Open
OstlerDev opened this issue Sep 8, 2018 · 0 comments
Open

CRASH! Error: block not in index #2

OstlerDev opened this issue Sep 8, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@OstlerDev
Copy link
Collaborator

OstlerDev commented Sep 8, 2018

[2018-09-08T01:08:19.747Z] info: ::ffff:127.0.0.1 "GET /api/status?q=getInfo" 200 143 0.622 "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36"
[2018-09-08T01:08:19.759Z] info: ::ffff:127.0.0.1 "GET /api/sync" 200 121 0.670 "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36"
[2018-09-08T01:08:19.842Z] info: ::ffff:127.0.0.1 "GET /api/peer" 200 49 0.513 "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36"
[2018-09-08T01:08:19.851Z] info: ::ffff:127.0.0.1 "GET /api/status?q=getInfo" 304 - 0.504 "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36"
[2018-09-08T01:08:19.917Z] info: ::ffff:127.0.0.1 web socket subscribe: inv
[2018-09-08T01:08:19.997Z] info: ::ffff:127.0.0.1 web socket subscribe: inv
[2018-09-08T01:08:19.998Z] info: ::ffff:127.0.0.1 web socket subscribe: sync
[2018-09-08T01:08:19.998Z] info: ::ffff:127.0.0.1 web socket subscribe: inv
[2018-09-08T01:08:19.998Z] info: ::ffff:127.0.0.1 web socket subscribe: sync
[2018-09-08T01:08:19.998Z] info: ::ffff:127.0.0.1 web socket subscribe: sync
[2018-09-08T01:08:20.082Z] info: ::ffff:127.0.0.1 "GET /api/currency" 200 47 321.794 "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36"
[2018-09-08T01:08:34.270Z] error: Error: block not in index
    at /home/floc/flocore/livenet/node_modules/flosight-api/lib/blocks.js:84:41
    at /home/floc/flocore/livenet/node_modules/flocore-node/lib/services/block/index.js:471:14
    at /home/floc/flocore/livenet/node_modules/flocore-node/lib/services/db/index.js:107:16
    at /home/floc/flocore/livenet/node_modules/levelup/lib/levelup.js:168:14
[2018-09-08T01:08:34.271Z] info: ::ffff:127.0.0.1 "GET /api/block/2500000" 503 18 34.074 "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36"
[2018-09-08T01:08:34.277Z] error: uncaught exception: TypeError: Cannot read property 'blockHash' of undefined
    at paramCallback (/home/floc/flocore/livenet/node_modules/express/lib/router/index.js:392:35)
    at /home/floc/flocore/livenet/node_modules/flosight-api/lib/blocks.js:132:5
    at /home/floc/flocore/livenet/node_modules/flocore-node/lib/services/block/index.js:187:5
    at /home/floc/flocore/livenet/node_modules/flocore-node/lib/services/block/index.js:475:5
    at /home/floc/flocore/livenet/node_modules/flocore-node/lib/services/db/index.js:114:7
    at /home/floc/flocore/livenet/node_modules/levelup/lib/levelup.js:170:5
[2018-09-08T01:08:34.278Z] error: TypeError: Cannot read property 'blockHash' of undefined
    at paramCallback (/home/floc/flocore/livenet/node_modules/express/lib/router/index.js:392:35)
    at /home/floc/flocore/livenet/node_modules/flosight-api/lib/blocks.js:132:5
    at /home/floc/flocore/livenet/node_modules/flocore-node/lib/services/block/index.js:187:5
    at /home/floc/flocore/livenet/node_modules/flocore-node/lib/services/block/index.js:475:5
    at /home/floc/flocore/livenet/node_modules/flocore-node/lib/services/db/index.js:114:7
    at /home/floc/flocore/livenet/node_modules/levelup/lib/levelup.js:170:5
[2018-09-08T01:08:34.279Z] info: Beginning shutdown
[2018-09-08T01:08:34.279Z] info: P2P Service: disconnecting pool and peers. SIGINT issued, system shutdown initiated
[2018-09-08T01:08:34.280Z] info: Disconnected from peer: 127.0.0.1
[2018-09-08T01:08:34.280Z] warn: Node is stopping, gently closing the database. Please wait, this could take a while.
[2018-09-08T01:08:34.280Z] info: Stopping insight-websocket-service
Error: Can't set headers after they are sent.
    at validateHeader (_http_outgoing.js:491:11)
    at ServerResponse.setHeader (_http_outgoing.js:498:3)
    at ServerResponse.header (/home/floc/flocore/livenet/node_modules/express/lib/response.js:767:10)
    at ServerResponse.send (/home/floc/flocore/livenet/node_modules/express/lib/response.js:170:12)
    at Common.handleErrors (/home/floc/flocore/livenet/node_modules/flosight-api/lib/common.js:28:23)
    at BlockController.checkBlockHash (/home/floc/flocore/livenet/node_modules/flosight-api/lib/blocks.js:54:24)
    at Layer.handle [as handle_request] (/home/floc/flocore/livenet/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/floc/flocore/livenet/node_modules/express/lib/router/route.js:137:13)
    at /home/floc/flocore/livenet/node_modules/flosight-api/lib/index.js:75:5
    at Layer.handle [as handle_request] (/home/floc/flocore/livenet/node_modules/express/lib/router/layer.js:95:5)
[2018-09-08T01:08:34.281Z] info: Stopping flosight-ui
[2018-09-08T01:08:34.281Z] info: Stopping flosight-api
[2018-09-08T01:08:34.282Z] info: Stopping fee
[2018-09-08T01:08:34.282Z] info: Stopping web
[2018-09-08T01:08:34.282Z] info: Stopping address
[2018-09-08T01:08:34.283Z] info: Stopping transaction
[2018-09-08T01:08:34.283Z] info: Stopping block
[2018-09-08T01:08:34.283Z] info: Stopping mempool
[2018-09-08T01:08:34.283Z] info: Stopping timestamp
[2018-09-08T01:08:34.283Z] info: Stopping header
[2018-09-08T01:08:34.283Z] info: Stopping db
[2018-09-08T01:08:34.387Z] info: Stopping p2p
[2018-09-08T01:09:51.059Z] info: ::ffff:127.0.0.1 web socket disconnect
[2018-09-08T01:09:51.059Z] info: ::ffff:127.0.0.1 unsubscribe: p2p/transaction total: 1
[2018-09-08T01:09:51.059Z] info: ::ffff:127.0.0.1 unsubscribe: p2p/block total: 2
[2018-09-08T01:09:51.059Z] info: ::ffff:127.0.0.1 unsubscribe: p2p/headers total: 0
[2018-09-08T01:09:51.059Z] info: ::ffff:127.0.0.1 unsubscribe: header/block total: 0
[2018-09-08T01:09:51.059Z] info: ::ffff:127.0.0.1 unsubscribe: mempool/transaction total: 2
[2018-09-08T01:09:51.059Z] info: ::ffff:127.0.0.1 unsubscribe: block/block total: 1
@OstlerDev OstlerDev added the bug Something isn't working label Sep 8, 2018
@OstlerDev OstlerDev self-assigned this Sep 8, 2018
@OstlerDev OstlerDev changed the title Crashed Error: block not in index Sep 8, 2018
@OstlerDev OstlerDev changed the title Error: block not in index CRASH! Error: block not in index Sep 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant