erigon icon indicating copy to clipboard operation
erigon copied to clipboard

caplin Do not listen on port

Open rayn316 opened this issue 1 year ago • 2 comments

System information

Erigon version: v2.60.10

OS & Version: Linux

Commit hash:

Erigon Command (with flags/config):

Consensus Layer:

Consensus Layer Command (with flags/config):

Chain/Network:

Expected behaviour

run cmd:

/node/archive/ethereum/bin/erigon --datadir=/node/archive/ethereum/erigon --chain=mainnet --db.size.limit=8TB --prune=disabled --log.dir.verbosity error --authrpc.jwtsecret=/node/archive/ethereum/erigon/jwt.hex --rpc.gascap=600000000 --rpc.evmtimeout=30s --rpc.batch.limit=100 --rpc.returndata.limit=104857600 --txpool.globalslots 1000000 --txpool.globalbasefeeslots 3000000 --txpool.globalqueue 3000000 --http=true --http.api eth,net,web3,debug,trace,txpool --http.addr 0.0.0.0 --http.corsdomain * --http.vhosts * --ws --authrpc.addr localhost --port=21300 --http.port 21301 --ws.port 21302 --private.api.addr= --authrpc.port=21303 --torrent.port=21304 --p2p.allowed-ports 21306 --internalcl --caplin.archive --caplin.backfilling.blob.no-pruning --caplin.backfilling.blob --caplin.backfilling --beacon.api=beacon,builder,config,debug,node,validator,lighthouse --beacon.api.port 21307 --beacon.api.addr 0.0.0.0 --diagnostics.disabled

The node runs and synchronizes normally, but caplin does not listen to the port, and ss does not find port 21307 information when checking the port

Actual behaviour

Steps to reproduce the behaviour

Backtrace

[backtrace]

rayn316 avatar Dec 03 '24 05:12 rayn316

There should be a request for caplin beacon rpc, which makes caplin port monitoring unstable and then in a non-listeningstate

rayn316 avatar Dec 04 '24 10:12 rayn316

i just tested and caplin does listen to port. we even have setup where addr=0.0.0.0 for staking

Giulio2002 avatar Dec 26 '24 17:12 Giulio2002

This issue has been resolved. This issue no longer occurs after updating to version 2.61.0.

rayn316 avatar Jan 13 '25 02:01 rayn316

The latest situation is that when the port is already being listened to by other programs, caplin will not report an error, but continue to run without listening to the port.

rayn316 avatar Jan 13 '25 03:01 rayn316

Currently, there is still an issue where the Caplin listening port disappears when used as an RPC service. The JSON-RPC listens normally, but the Beacon-RPC port tends to vanish. Perhaps it is caused by certain requests?

rayn316 avatar Jan 15 '25 07:01 rayn316

Caplin is deprecated for v2

Giulio2002 avatar Feb 13 '25 18:02 Giulio2002