paul-schaaf/solana-escrow

socket hang up

binnz opened this issue · 1 comments

binnz commented
 # npm run all

> escrow-scripts@1.0.0 all
> npm run compile && node build/setup.js && node build/alice.js && node build/bob.js
> escrow-scripts@1.0.0 compile
> tsc -p ./tsconfig.json

Requesting SOL for Alice...
Requesting SOL for Bob...
Requesting SOL for Client...
Creating Mint X...

/Users/binnz/cplus/solana-escrow/scripts/node_modules/node-fetch/lib/index.js:1461
                        reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
                               ^
FetchError: request to http://localhost:8899/ failed, reason: socket hang up
    at ClientRequest.<anonymous> (/Users/binnz/cplus/solana-escrow/scripts/node_modules/node-fetch/lib/index.js:1461:11)
    at ClientRequest.emit (node:events:390:28)
    at Socket.socketOnEnd (node:_http_client:471:9)
    at Socket.emit (node:events:402:35)
    at endReadableNT (node:internal/streams/readable:1343:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  type: 'system',
  errno: 'ECONNRESET',
  code: 'ECONNRESET'
}

after i run npm run setup-validator <EXECUTABLE_LOCATION>, the node is work well, port 8899 is open, this error occurs, how to fix this,thanks.

Hi @binnz sorry to comment on a closed issue but just wondering how you resolved this? Thanks!