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

ReferenceError: block is not defined #12

Open
Warchant opened this issue Mar 9, 2022 · 0 comments
Open

ReferenceError: block is not defined #12

Warchant opened this issue Mar 9, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Warchant
Copy link
Collaborator

Warchant commented Mar 9, 2022

97d3eb2a15312c2dce7881df5dde428f77a434b01b63e9"]},"result":[{"message":"Block not found","code":-5,"name":"RpcError"}]}}
explorer_1                           | 2022-03-09T10:13:50.937Z btcexp:error Error n294vg6yn2m0: [object Object], json: {"error":null,"response":{"statusCode":404,"body":"{\n  \"message\" : \"Couldn't find SI block 00000000000000df4497d3eb2a15312c2dce7881df5dde428f77a434b01b63e9\"\n}","headers":{"server":"nginx/1.21.3","date":"Wed, 09 Mar 2022 10:13:50 GMT","content-type":"application/json; charset=UTF-8","transfer-encoding":"chunked","connection":"close","strict-transport-security":"max-age=31536000"},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"abfi.veriblock.org","port":443,"hostname":"abfi.veriblock.org","hash":null,"search":null,"query":null,"pathname":"/252980111103/chains/blocks/00000000000000df4497d3eb2a15312c2dce7881df5dde428f77a434b01b63e9","path":"/252980111103/chains/blocks/00000000000000df4497d3eb2a15312c2dce7881df5dde428f77a434b01b63e9","href":"https://abfi.veriblock.org/252980111103/chains/blocks/00000000000000df4497d3eb2a15312c2dce7881df5dde428f77a434b01b63e9"},"method":"GET","headers":{"User-Agent":"request"}}},"body":"{\n  \"message\" : \"Couldn't find SI block 00000000000000df4497d3eb2a15312c2dce7881df5dde428f77a434b01b63e9\"\n}"}
explorer_1                           | 2022-03-09T10:27:30.273Z btcexp:error Error 283h7ewsede: Error: RpcError: type=errorResponse-03, json: {"userData":{"error":null,"request":{"method":"getrawatv","parameters":["2fa66f1e4de415c895d616fdbb7ed919e107592cf5572b480fb39895e5e755b2",true,null]},"result":[{"message":"No such mempool or blockchain atv","code":-5,"name":"RpcError"}]}}, userData: [object Object] (json: {"error":null,"request":{"method":"getrawatv","parameters":["2fa66f1e4de415c895d616fdbb7ed919e107592cf5572b480fb39895e5e755b2",true,null]},"result":[{"message":"No such mempool or blockchain atv","code":-5,"name":"RpcError"}]})
explorer_1                           | 2022-03-09T10:27:30.303Z btcexp:app Unhandled Rejection at: Promise Promise {
explorer_1                           |   <rejected> ReferenceError: block is not defined
explorer_1                           |       at /workspace/routes/baseActionsRouter.js:644:79
explorer_1                           |       at runMicrotasks (<anonymous>)
explorer_1                           |       at processTicksAndRejections (internal/process/task_queues.js:95:5)
explorer_1                           | } reason: ReferenceError: block is not defined
explorer_1                           |     at /workspace/routes/baseActionsRouter.js:644:79
explorer_1                           |     at runMicrotasks (<anonymous>)
explorer_1                           |     at processTicksAndRejections (internal/process/task_queues.js:95:5) stack: ReferenceError: block is not defined
explorer_1                           |     at /workspace/routes/baseActionsRouter.js:644:79
explorer_1                           |     at runMicrotasks (<anonymous>)
explorer_1                           |     at processTicksAndRejections (internal/process/task_queues.js:95:5)
explorer_1                           | 2022-03-09T10:42:55.642Z btcexp:app Skipping performance-intensive task: fetch UTXO set summary. This is skipped due to the flag 'slowDeviceMode' which defaults to 'true' to protect slow nodes. Set
this flag to 'false' to enjoy UTXO set summary details.
explorer_1                           | 2022-03-09T10:42:55.652Z btcexp:app Skipping performance-intensive task: fetch last 24 hrs of blockstats to calculate transaction volume. This is skipped due to the flag 'slowDeviceMode' which defaults to 'true' to protect slow nodes. Set this flag to 'false' to enjoy UTXO set summary details.
explorer_1                           | events.js:377
explorer_1                           |       throw er; // Unhandled 'error' event
explorer_1                           |       ^
explorer_1                           |
explorer_1                           | Error: read ECONNRESET
explorer_1                           |     at TCP.onStreamRead (internal/stream_base_commons.js:209:20)
explorer_1                           | Emitted 'error' event on RedisClient instance at:
explorer_1                           |     at RedisClient.on_error (/workspace/node_modules/redis/index.js:406:14)
explorer_1                           |     at Socket.<anonymous> (/workspace/node_modules/redis/index.js:279:14)
explorer_1                           |     at Socket.emit (events.js:400:28)
explorer_1                           |     at emitErrorNT (internal/streams/destroy.js:106:8)
explorer_1                           |     at emitErrorCloseNT (internal/streams/destroy.js:74:3)
explorer_1                           |     at processTicksAndRejections (internal/process/task_queues.js:82:21) {
explorer_1                           |   errno: -104,
explorer_1                           |   code: 'ECONNRESET',
explorer_1                           |   syscall: 'read'
explorer_1                           | }
explorer_1                           | npm ERR! code ELIFECYCLE
explorer_1                           | npm ERR! errno 1
explorer_1                           | npm ERR! [email protected] start: `node ./bin/www`
explorer_1                           | npm ERR! Exit status 1
explorer_1                           | npm ERR!
explorer_1                           | npm ERR! Failed at the [email protected] start script.
explorer_1                           | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
explorer_1                           |
explorer_1                           | npm ERR! A complete log of this run can be found in:

@Warchant Warchant added the bug Something isn't working label Mar 9, 2022
@Warchant Warchant moved this to Backlog in Proof-of-Proof Mar 9, 2022
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
Status: Backlog
Development

No branches or pull requests

1 participant