ChainSafe / ChainSafe/lodestar

Running beacon node locally reaches out to external services

Open
#7,017 3 comments 0 reactions 0 assignees View on GitHub
meta-bug
Dominant language
TypeScript
Stars
1.4k
Forks
483
Avg merge
1d 16h
Merged PRs (30d)
150

Description

### Describe the bug

Running the node locally reaches out to external serve.

### Expected behavior

Node should not ping to any external services or server.

### Steps to reproduce

```
lodestar on  unstable [$!] via 🐳 desktop-linux via  v22.4.0
❯ ./lodestar beacon --network sepolia --logLevel info --jwtSecret=/tmp/geth/jwt
Aug-13 11:32:08.053[] info: Lodestar network=sepolia, version=v1.20.2/nh/state-diff-2/5f2da01, commit=5f2da01b975b0d638171fe3cd4a45983ee91c8af
Aug-13 11:32:08.057[] info: Connected to LevelDB database path=/Users/nazar/.local/share/lodestar/sepolia/chain-db
✖ RequestError: getaddrinfo ENOTFOUND github.com
at ClientRequest. (/Users/nazar/Hub/Lodestar/dev/lodestar-2/node_modules/got/dist/source/core/index.js:970:111)
at Object.onceWrapper (node:events:635:26)
at ClientRequest.emit (node:events:532:35)
at ClientRequest.origin.emit (/Users/nazar/Hub/Lodestar/dev/lodestar-2/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
at TLSSocket.socketErrorListener (node:_http_client:502:9)
at TLSSocket.emit (node:events:520:28)
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26)
```

### Additional context

Digging further shows that `@szmarczak/http-timer` is a `webdriver` dependency, which is a dev dependency so should not be involved in the runtime.

### Operating system

Linux

### Lodestar version or commit hash

unstbale

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.