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

mainnet explorer frontend crash #90

Open
LeoHChen opened this issue May 14, 2020 · 1 comment
Open

mainnet explorer frontend crash #90

LeoHChen opened this issue May 14, 2020 · 1 comment
Assignees
Labels
bug Something isn't working high priority High Priority Tasks

Comments

@LeoHChen
Copy link
Contributor

https://harmonyone.pagerduty.com/incidents/PFGQJMH/

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'serve' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'preserve', 'serve', 'postserve' ]
5 info lifecycle [email protected]~preserve: [email protected]
6 info lifecycle [email protected]~serve: [email protected]
7 verbose lifecycle [email protected]~serve: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~serve: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/ec2-user/projects/harmony-dashboard/node_modules/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/bin:/usr/lib/golang/bin
9 verbose lifecycle [email protected]~serve: CWD: /home/ec2-user/projects/harmony-dashboard
10 silly lifecycle [email protected]~serve: Args: [ '-c',
10 silly lifecycle   'http-server -p 2000 dist --ssl --cert $CERT_FILE --key $KEY_FILE' ]
11 silly lifecycle [email protected]~serve: Returned: code: 1  signal: null
12 info lifecycle [email protected]~serve: Failed to exec serve script
13 verbose stack Error: [email protected] serve: `http-server -p 2000 dist --ssl --cert $CERT_FILE --key $KEY_FILE`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack     at EventEmitter.emit (events.js:198:13)
13 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:198:13)
13 verbose stack     at maybeClose (internal/child_process.js:982:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid [email protected]
15 verbose cwd /home/ec2-user/projects/harmony-dashboard
16 verbose Linux 4.14.123-86.109.amzn1.x86_64
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "serve"
18 verbose node v10.18.0
19 verbose npm  v6.13.4
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] serve: `http-server -p 2000 dist --ssl --cert $CERT_FILE --key $KEY_FILE`
22 error Exit status 1
23 error Failed at the [email protected] serve script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
@LeoHChen
Copy link
Contributor Author

[Thu May 14 2020 11:34:18 GMT+0000 (Coordinated Universal Time)] "GET /" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55"
[Thu May 14 2020 11:34:18 GMT+0000 (Coordinated Universal Time)] "GET /" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55"
[Thu May 14 2020 11:34:18 GMT+0000 (Coordinated Universal Time)] "GET /sidekiq" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55"
[Thu May 14 2020 11:34:18 GMT+0000 (Coordinated Universal Time)] "GET /sidekiq" Error (404): "Not found"
[Thu May 14 2020 11:34:18 GMT+0000 (Coordinated Universal Time)] "GET /sidekiq.json" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55"
[Thu May 14 2020 11:34:18 GMT+0000 (Coordinated Universal Time)] "GET /sidekiq.json" Error (404): "Not found"
[Thu May 14 2020 11:34:18 GMT+0000 (Coordinated Universal Time)] "GET /sidekiq%00" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55"
internal/fs/utils.js:453
throw err;
^

TypeError [ERR_INVALID_ARG_VALUE]: The argument 'path' must be a string or Uint8Array without null bytes. Received '/home/ec2-user/projects/harmony-dashboard/dist/sidekiq\u0000'
at Object.stat (fs.js:825:3)
at statFile (/home/ec2-user/projects/harmony-dashboard/node_modules/ecstatic/lib/ecstatic.js:350:10)
at Array.middleware (/home/ec2-user/projects/harmony-dashboard/node_modules/ecstatic/lib/ecstatic.js:460:7)
at dispatch (/home/ec2-user/projects/harmony-dashboard/node_modules/union/lib/routing-stream.js:110:21)
at Object.onceWrapper (events.js:286:20)
at module.exports.emit (events.js:198:13)
at Array.<anonymous> (/home/ec2-user/projects/harmony-dashboard/node_modules/http-server/lib/http-server.js:100:9)
at dispatch (/home/ec2-user/projects/harmony-dashboard/node_modules/union/lib/routing-stream.js:119:21)
at module.exports.RoutingStream.route (/home/ec2-user/projects/harmony-dashboard/node_modules/union/lib/routing-stream.js:121:5)
at Object.onceWrapper (events.js:286:20)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] serve: `http-server -p 2000 dist --ssl --cert $CERT_FILE --key $KEY_FILE`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/ec2-user/.npm/_logs/2020-05-14T11_34_18_627Z-debug.log

@LeoHChen LeoHChen changed the title mainnet explorer crash mainnet explorer frontend crash May 14, 2020
@LeoHChen LeoHChen added bug Something isn't working high priority High Priority Tasks labels May 14, 2020
@LeoHChen LeoHChen added this to the Staking M1 Launch milestone May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority High Priority Tasks
Projects
None yet
Development

No branches or pull requests

2 participants