-
Notifications
You must be signed in to change notification settings - Fork 488
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
Custom JWT secret path not recognized from 1.30.0 #7912
Comments
Could you share the command line parameters, especially the |
@privatejava @Scooletz I believe this issue was created to add this log when default jwt secret file is not required -> #7746 |
I am using docker with config file docker-compose.yml nethermind:
ulimits:
nofile:
soft: 1000000
hard: 1000000
container_name: nethermind
restart: unless-stopped
image: nethermind/nethermind:${NETHERMIND_VERSION}
hostname: nethermind_${NET}
ports:
- 24001:8545/tcp
- 24002:8551/udp
volumes:
- ./data/nethermind:/nethermind/data
- ./config/nethermind/main.cfg:/nethermind/configs/mainnet.cfg
- ./config/nethermind:/conf
command: |-
--datadir data ./config/nethermind/main.cfg {
"Init": {
"ChainSpecPath": "chainspec/foundation.json",
"GenesisHash": "0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3",
"BaseDbPath": "nethermind_db/mainnet",
"LogFileName": "mainnet.logs.txt",
"MemoryHint": 2048000000,
"StateDbKeyScheme": "HalfPath"
},
"Network": {
"ActivePeersMaxCount": 100
},
"Sync": {
"FastSync": true,
"SnapSync": true,
"PivotNumber": 19050000,
"PivotHash": "0x01be0f86a10ea554774cf6a5d8c8e4ad33fbe87eb1e5b8951bced2611f079db9",
"PivotTotalDifficulty": "58750003716598352816469",
"SnapServingEnabled": true,
"FastSyncCatchUpHeightDelta": "10000000000"
},
"EthStats": {
"Server": "wss://ethstats.net/api"
},
"Metrics": {
"NodeName": "Mainnet"
},
"Blocks": {
"TargetBlockGasLimit": 30000000
},
"JsonRpc": {
"Enabled": true,
"Timeout": 20000,
"Host": "0.0.0.0",
"EngineHost": "0.0.0.0",
"MaxBatchSize": 10000,
"EnginePort": 8551,
"Port": 8545,
"JwtSecretFile": "/conf/jwt.hex",
"EnabledModules": ["eth","subscribe","trace","txpool","web3","personal","proof", "net", "parity","health","rpc", "admin"],
"AdditionalRpcUrls": [
"http://localhost:8551|http;ws|admin|net;eth;subscribe;engine;web3;client"
]
},
"Merge": {
"Enabled": true
},
"HealthChecks":{
"Enabled": true,
"UIEnabled": true,
"LowStorageSpaceWarningThreshold": 16
},
"Pruning":{
"AvailableSpaceCheckEnabled": true,
"FullPruningMemoryBudgetMb" : 8000,
"FullPruningTrigger" : "VolumeFreeSpace",
"Mode": "Hybrid",
"FullPruningThresholdMb" : 350000,
"FullPruningCompletionBehavior": "None"
}
} ./config/nethermind/jwt.hex
|
Description
I am running a Ethereum mainnet node and it is giving me issue from v.1.30.0 which does not respect the
JsonRpc.JwtSecretFile
path custom provided in config.Steps to Reproduce
In order to replicate the behavior, please provide a detailed list of steps:
JsonRpc.JwtSecretFile
like/conf/jwt.hex
Actual behavior
I believe it has some bug with configuration because v.1.29.1 was working all good.
Expected behavior
It shoudl simply show like this
Screenshots

Desktop
The text was updated successfully, but these errors were encountered: