Skip to content
This repository was archived by the owner on Jul 25, 2023. It is now read-only.
This repository was archived by the owner on Jul 25, 2023. It is now read-only.

Starts but timeouts? (Amazon Linux 2) #34

Description

@hmijail

There are some apparent failures while running npm install. Looks like at least some of them are survivable, but I'm reporting them all just in case.
Then, npm starts seems to start but times out.

Install problems:

make: *** [Release/obj.target/scrypt/src/node-boilerplate/scrypt_common.o] Error 1
make: Leaving directory `/home/ec2-user/devp2p_walk/devp2p-network/node_modules/scrypt/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/ec2-user/.nvm/versions/node/v14.3.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Linux 4.14.88-88.73.amzn2.x86_64
gyp ERR! command "/home/ec2-user/.nvm/versions/node/v14.3.0/bin/node" "/home/ec2-user/.nvm/versions/node/v14.3.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ec2-user/devp2p_walk/devp2p-network/node_modules/scrypt
gyp ERR! node -v v14.3.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok

...

make: *** [Release/obj.target/secp256k1/src/addon.o] Error 1
make: Leaving directory `/home/ec2-user/devp2p_walk/devp2p-network/node_modules/secp256k1/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/ec2-user/.nvm/versions/node/v14.3.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Linux 4.14.88-88.73.amzn2.x86_64
gyp ERR! command "/home/ec2-user/.nvm/versions/node/v14.3.0/bin/node" "/home/ec2-user/.nvm/versions/node/v14.3.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ec2-user/devp2p_walk/devp2p-network/node_modules/secp256k1
gyp ERR! node -v v14.3.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! secp256k1@3.5.0 rebuild: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the secp256k1@3.5.0 rebuild script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ec2-user/.npm/_cacache/_logs/2020-05-30T09_26_15_707Z-debug.log
Secp256k1 bindings compilation fail. Pure JS implementation will be used.

...

make: *** [Release/obj.target/keccak/src/addon.o] Error 1
make: Leaving directory `/home/ec2-user/devp2p_walk/devp2p-network/node_modules/keccak/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/ec2-user/.nvm/versions/node/v14.3.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Linux 4.14.88-88.73.amzn2.x86_64
gyp ERR! command "/home/ec2-user/.nvm/versions/node/v14.3.0/bin/node" "/home/ec2-user/.nvm/versions/node/v14.3.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ec2-user/devp2p_walk/devp2p-network/node_modules/keccak
gyp ERR! node -v v14.3.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! keccak@1.4.0 rebuild: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the keccak@1.4.0 rebuild script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ec2-user/.npm/_cacache/_logs/2020-05-30T09_26_17_801Z-debug.log
Keccak bindings compilation fail. Pure JS implementation will be used.

...

make: *** [Release/obj.target/leveldown/src/batch.o] Error 1
make: Leaving directory `/home/ec2-user/devp2p_walk/devp2p-network/node_modules/leveldown/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/ec2-user/.nvm/versions/node/v14.3.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Linux 4.14.88-88.73.amzn2.x86_64
gyp ERR! command "/home/ec2-user/.nvm/versions/node/v14.3.0/bin/node" "/home/ec2-user/.nvm/versions/node/v14.3.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ec2-user/devp2p_walk/devp2p-network/node_modules/leveldown
gyp ERR! node -v v14.3.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! leveldown@4.0.2 install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the leveldown@4.0.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm start problems:

$ npm start

> devp2p-network@1.0.0 start /home/ec2-user/devp2p_walk/devp2p-network
> INFURA_ID=09bcdf3656ee4a80b05a4a921358d109 node index.js

(sequelize) Warning: PostgresSQL does not support 'INTEGER' with LENGTH, UNSIGNED or ZEROFILL. Plain 'INTEGER' will be used instead.
>> Check: http://www.postgresql.org/docs/9.4/static/datatype.html
{ _: [], n: 'mainnet', network: 'mainnet', '$0': 'index.js' }
undefined
Error: Timeout error: ping 13.93.211.84:30303
    at Timeout._onTimeout (/home/ec2-user/devp2p_walk/devp2p-network/node_modules/ethereumjs-devp2p/lib/dpt/server.js:97:29)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)
Error: Timeout error: ping 191.235.84.50:30303
    at Timeout._onTimeout (/home/ec2-user/devp2p_walk/devp2p-network/node_modules/ethereumjs-devp2p/lib/dpt/server.js:97:29)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)
Error: Timeout error: ping 13.75.154.138:30303
    at Timeout._onTimeout (/home/ec2-user/devp2p_walk/devp2p-network/node_modules/ethereumjs-devp2p/lib/dpt/server.js:97:29)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)
Error: Timeout error: ping 52.74.57.123:30303
    at Timeout._onTimeout (/home/ec2-user/devp2p_walk/devp2p-network/node_modules/ethereumjs-devp2p/lib/dpt/server.js:97:29)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)
^C

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions