Bonjour !
J’essaie de lancer un noeud (miroir pour le moment), mais le noeud ne trouve aucun peer et se met en idle. Pouvez-vous m’aider ? Voici la ligne d’erreur :
💤 Idle (0 peers), best: #0 (0xc184…b6c3), finalized #0 (0xc184…b6c3), ⬇ 0 ⬆ 0
La machine est un VPS premier prix chez OVH, une debian bookworm.
Les ports 30333, 9615 et 9944 sont ouverts à la fois sur la machine (ufw) et sur OVHCloud. (NB - vu que ça ne marche pas je les ai refermés par sécurité)
Voici le parefeu
Status: active
To Action From
-- ------ ----
XXXX/tcp ALLOW Anywhere # ssh custom
80 ALLOW Anywhere
443 ALLOW Anywhere
9944 ALLOW Anywhere
9615 ALLOW Anywhere
30333 ALLOW Anywhere
XXXXX /tcp (v6) ALLOW Anywhere (v6) # ssh custom
80 (v6) ALLOW Anywhere (v6)
443 (v6) ALLOW Anywhere (v6)
9944 (v6) ALLOW Anywhere (v6)
9615 (v6) ALLOW Anywhere (v6)
30333 (v6) ALLOW Anywhere (v6)
NB - Nginx tourne pour servir un site statique, mais n’écoute que sur les ports 80 et 443. Donc il ne sert pas de reverse proxy pour Duniter, sauf si j’ai mal compris le principe d’un reverse proxy.
Voici le dockerfile
# cat docker-compose.yml
version: "3.5"
services:
duniter-mirror:
image: duniter/duniter-v2s-gdev:latest
restart: unless-stopped
ports:
# Prometheus endpoint
- 9615:9615
# rpc
- 9944:9944
# p2p
- 30333:30333
volumes:
- data-mirror:/var/lib/duniter/
environment:
- DUNITER_CHAIN_NAME=gdev
- DUNITER_NODE_NAME=matograine
- DUNITER_DISABLE_TELEMETRY=true
- DUNITER_VALIDATOR=false
volumes:
data-mirror:
Doker a été installé depuis les dépôts Debian.
Voici les logs
# docker-compose up
Creating network "node_default" with the default driver
Pulling duniter-mirror (duniter/duniter-v2s-gdev:latest)...
latest: Pulling from duniter/duniter-v2s-gdev
728328ac3bde: Pull complete
5a2a4343e789: Pull complete
d31cb97a7447: Pull complete
dc6b8b163b0f: Pull complete
0c4611f091b9: Pull complete
fed34ea2d480: Pull complete
ea8304b1b05b: Pull complete
4baf93696b48: Pull complete
Digest: sha256:52a2ad80d637bb02581586e94719abc92ef31d6b7096bccb6199b2a3e34bb82a
Status: Downloaded newer image for duniter/duniter-v2s-gdev:latest
Creating node_duniter-mirror_1 ... done
Attaching to node_duniter-mirror_1
duniter-mirror_1 | Node key file '/var/lib/duniter/node.key' exists.
duniter-mirror_1 | Error: Input("failed to decode secret as hex")
duniter-mirror_1 | Node peer ID is ''.
duniter-mirror_1 | Starting duniter with parameters: --name matograine --node-key-file /var/lib/duniter/node.key --rpc-cors all --no-telemetry --chain gdev -d /var/lib/duniter --unsafe-rpc-external
duniter-mirror_1 | 2024-06-30 09:29:39 Duniter
duniter-mirror_1 | 2024-06-30 09:29:39 ✌️ version 0.0.0-unknown
duniter-mirror_1 | 2024-06-30 09:29:39 ❤️ by librelois <c@elo.tf>:tuxmain <tuxmain@zettascript.org>:c-geek <https://forum.duniter.org/u/cgeek>:HugoTrentesaux <https://trentesaux.fr>:bgallois <benjamin@gallois.cc>:Duniter Developers <https://duniter.org>:Axiom-Team Developers <https://axiom-team.fr>, 2021-2024
duniter-mirror_1 | 2024-06-30 09:29:39 📋 Chain specification: ĞDev
duniter-mirror_1 | 2024-06-30 09:29:39 🏷 Node name: matograine
duniter-mirror_1 | 2024-06-30 09:29:39 👤 Role: FULL
duniter-mirror_1 | 2024-06-30 09:29:39 💾 Database: ParityDb at /var/lib/duniter/chains/gdev/paritydb/full
duniter-mirror_1 | 2024-06-30 09:29:44 👶 Creating empty BABE epoch changes on what appears to be first startup.
duniter-mirror_1 | 2024-06-30 09:29:44 Local node identity is: 12D3KooWLrqPZXz4uFuAvnGcXuZDzsWhEvs8XQcavAmVyg8QyUiJ
duniter-mirror_1 | 2024-06-30 09:29:44 Running litep2p network backend
duniter-mirror_1 | 2024-06-30 09:29:44 💻 Operating system: linux
duniter-mirror_1 | 2024-06-30 09:29:44 💻 CPU architecture: x86_64
duniter-mirror_1 | 2024-06-30 09:29:44 💻 Target environment: gnu
duniter-mirror_1 | 2024-06-30 09:29:44 💻 CPU: Intel Core Processor (Haswell, no TSX)
duniter-mirror_1 | 2024-06-30 09:29:44 💻 CPU cores: 1
duniter-mirror_1 | 2024-06-30 09:29:44 💻 Memory: 1935MB
duniter-mirror_1 | 2024-06-30 09:29:44 💻 Kernel: 6.1.0-21-cloud-amd64
duniter-mirror_1 | 2024-06-30 09:29:44 💻 Linux distribution: Debian GNU/Linux 11 (bullseye)
duniter-mirror_1 | 2024-06-30 09:29:44 💻 Virtual machine: yes
duniter-mirror_1 | 2024-06-30 09:29:44 📦 Highest known block at #0
duniter-mirror_1 | 2024-06-30 09:29:44 〽️ Prometheus exporter started at 127.0.0.1:9615
duniter-mirror_1 | 2024-06-30 09:29:44 Running JSON-RPC server: addr=0.0.0.0:9944, allowed origins=["*"]
duniter-mirror_1 | 2024-06-30 09:29:44 ***** Duniter has fully started *****
duniter-mirror_1 | 2024-06-30 09:29:49 💤 Idle (0 peers), best: #0 (0xc184…b6c3), finalized #0 (0xc184…b6c3), ⬇ 0 ⬆ 0
Parmi les choses qui me semblent étranges, ou que je ne comprends pas :
version 0.0.0-unknown
duniter-mirror_1 | Node peer ID is ‘’.
Running JSON-RPC server: addr=0.0.0.0:9944, allowed origins=[“*”]
(pourquoi 0.0.0.0 et pas l’IP publique du noeud ?)
Merci d’avance !