G1-test dans les choux ?/ Renouvellement des certifications

g1-test

#242

Je lance le noeud avec un script OpenRC mais j’avais également ce message lors des synchro (sans pour autant que ça soit bloquant à ce moment là).

Ça donne en gros :
/opt/duniter/${DUNITER_VERSION}/bin/duniter start --keyfile "${DUNITER_KEYS}" --home "${DUNITER_HOME}" --mdb ${DUNITER_DATA}"

C’est peu ou prou le même script utilisé pour mon noeud G1


#243

Pas tout à fait, comme l’IPv6 est censé justement permettre la traversée de NAT, c’est bien le remoteport que Duniter devrait utiliser. Le logiciel prend donc le remoteport s’il le trouve, et en dernier recours prend la valeur de port.

Mais si c’est Nginx qui est devant, alors je pense que tu devrais retirer le champ ipv6 et faire en sorte que ton reverse-proxy tape sur l’interface IPv4 de Duniter. Si ce n’est pas possible, alors il faudra une évolution sur Duniter pour gérer ce cas.


#244

Si la synchro passait, je vois pas trop d’où peut venir le problème :confused:

Tu aurais plus de logs stp ?


#245

Bien vu. :slight_smile:

EDIT : J’ai mis en place un tgen entre 5 adresses qui enverra des tx toutes les 15 minutes normalement. On va essayer de faire vivre ce réseau pour une fois :slight_smile:

@moul : silkaj ne permet pas de renouveler son adhésion ?


#246

Non, c’est en projet.


#247

Cool, si tu n’a pas encore codé la création du document Membership j’ai quelque chose qui pourra t’aider :wink:


#248

Sur cesium, je ne vois pas les transactions pour inso2018 ? Vous avez le même problème ?

Ni pour les clés utilisées par tgen d’ailleurs : (par exemple EZKpPQAe6JinSoSaxSn6W2dnJ2j9qQH6s2Z69mUp8dqZ )


#249

Ça semble avoir encore forké !
cgeek est tout seul sur ça branche.


#250

Quand je demande les logs, j’ai ca :

<--- Last few GCs --->

[22255:0x1b7e548]    49034 ms: Mark-sweep 129.7 (161.5) -> 128.3 (168.0) MB, 371.2 / 0.1 ms  allocation failure GC in old space requested
[22255:0x1b7e548]    49784 ms: Mark-sweep 128.3 (168.0) -> 128.3 (153.0) MB, 738.6 / 22.1 ms  last resort GC in old space requested
[22255:0x1b7e548]    50509 ms: Mark-sweep 128.3 (153.0) -> 128.3 (153.0) MB, 708.3 / 6.0 ms  last resort GC in old space requested


<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x59f1631d <JSObject>
    2: DoJoin(aka DoJoin) [native array.js:1] [bytecode=0x59f536ad offset=212](this=0x417841a1 <undefined>,p=0x2d872081 <JSArray[459]>,q=459,E=0x41784209 <true>,A=0x41784279 <String[0]: >,z=0x41784249 <false>)
    4: Join(aka Join) [native array.js:1] [bytecode=0x59f532e1 offset=71](this=0x417841a1 <undefined>,p=0x2d872081 <JSArray[459]>,q=459,A=0x41784279 <String[0]: >,z=0x41784249 <false>)
    6: ...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
Abandon
[/quote]

2eme tentative plus fructueuse au niveau du log, mais ca semble bien coincé.

[quote]
2018-11-29T14:36:42+01:00 - info: [DQZ2CANv] ⬇ PEER DQZ2CANv 283565-0
2018-11-29T14:36:42+01:00 - error:  httpCode=400, ucode=2023, message=Peer document already known
2018-11-29T14:36:42+01:00 - info: Next peering signal in 5 min
2018-11-29T14:41:42+01:00 - info: Sibling endpoints: 0=BASIC_MERKLED_API 78.225.244.76 34522
2018-11-29T14:41:42+01:00 - info: BMA access: 78.225.244.76:34522
2018-11-29T14:41:42+01:00 - info: [DQZ2CANv] ⬇ PEER DQZ2CANv 283565-0
2018-11-29T14:41:42+01:00 - error:  httpCode=400, ucode=2023, message=Peer document already known
2018-11-29T14:41:42+01:00 - info: Next peering signal in 5 min
2018-11-29T14:44:03+01:00 - warn: Security trigger: proof-of-work process seems stuck
2018-11-29T14:44:03+01:00 - warn: Too high difficulty: waiting for other members to write next block
2018-11-29T14:46:18+01:00 - info: WS2P: init: bundle of peers 1/1
2018-11-29T14:46:18+01:00 - info: Block resolution: 0 potential blocks after current#283565...
2018-11-29T14:46:18+01:00 - info: Block resolution: 0 potential blocks after current#283565...
2018-11-29T14:46:33+01:00 - info: WS2P: Could not connect to peer 3dnbnYY9 using `WS2P 88.174.120.187 20901: WS2P connection timeout`
2018-11-29T14:46:33+01:00 - info: WS2P: Could not connect to peer CgNMrGrg using `WS2P 88.174.120.187 20900: WS2P connection timeout`
2018-11-29T14:46:33+01:00 - info: WS2P: Could not connect to peer DpJse2t7 using `WS2P 83.204.200.142 20900: WS2P connection timeout`
2018-11-29T14:46:42+01:00 - info: Sibling endpoints: 0=BASIC_MERKLED_API 78.225.244.76 34522
2018-11-29T14:46:42+01:00 - info: BMA access: 78.225.244.76:34522
2018-11-29T14:46:42+01:00 - info: [DQZ2CANv] ⬇ PEER DQZ2CANv 283565-0
2018-11-29T14:46:42+01:00 - error:  httpCode=400, ucode=2023, message=Peer document already known
2018-11-29T14:46:42+01:00 - info: Next peering signal in 5 min
2018-11-29T14:51:42+01:00 - info: Sibling endpoints: 0=BASIC_MERKLED_API 78.225.244.76 34522
2018-11-29T14:51:42+01:00 - info: BMA access: 78.225.244.76:34522
2018-11-29T14:51:42+01:00 - info: [DQZ2CANv] ⬇ PEER DQZ2CANv 283565-0
2018-11-29T14:51:42+01:00 - error:  httpCode=400, ucode=2023, message=Peer document already known
2018-11-29T14:51:42+01:00 - info: Next peering signal in 5 min
2018-11-29T14:54:03+01:00 - warn: Security trigger: proof-of-work process seems stuck
2018-11-29T14:54:03+01:00 - warn: Too high difficulty: waiting for other members to write next block
2018-11-29T14:56:18+01:00 - info: WS2P: init: bundle of peers 1/1
2018-11-29T14:56:18+01:00 - info: Block resolution: 0 potential blocks after current#283565...
2018-11-29T14:56:18+01:00 - info: Block resolution: 0 potential blocks after current#283565...
2018-11-29T14:56:33+01:00 - info: WS2P: Could not connect to peer 3dnbnYY9 using `WS2P 88.174.120.187 20901: WS2P connection timeout`
2018-11-29T14:56:33+01:00 - info: WS2P: Could not connect to peer CgNMrGrg using `WS2P 88.174.120.187 20900: WS2P connection timeout`
2018-11-29T14:56:33+01:00 - info: WS2P: Could not connect to peer DpJse2t7 using `WS2P 83.204.200.142 20900: WS2P connection timeout`
2018-11-29T14:56:33+01:00 - info: WS2P: Could not connect to peer CNGp7hxE using `WS2P 88.174.120.187 20903: WS2P connection timeout`
2018-11-29T14:56:42+01:00 - info: Sibling endpoints: 0=BASIC_MERKLED_API 78.225.244.76 34522
2018-11-29T14:56:42+01:00 - info: BMA access: 78.225.244.76:34522
2018-11-29T14:56:42+01:00 - info: [DQZ2CANv] ⬇ PEER DQZ2CANv 283565-0
2018-11-29T14:56:42+01:00 - error:  httpCode=400, ucode=2023, message=Peer document already known
2018-11-29T14:56:42+01:00 - info: Next peering signal in 5 min
2018-11-29T15:01:42+01:00 - info: Sibling endpoints: 0=BASIC_MERKLED_API 78.225.244.76 34522
2018-11-29T15:01:42+01:00 - info: BMA access: 78.225.244.76:34522
2018-11-29T15:01:42+01:00 - info: [DQZ2CANv] ⬇ PEER DQZ2CANv 283565-0
2018-11-29T15:01:42+01:00 - error:  httpCode=400, ucode=2023, message=Peer document already known
2018-11-29T15:01:42+01:00 - info: Next peering signal in 5 min
2018-11-29T15:04:03+01:00 - warn: Security trigger: proof-of-work process seems stuck
2018-11-29T15:04:03+01:00 - warn: Too high difficulty: waiting for other members to write next block
2018-11-29T15:06:18+01:00 - info: WS2P: init: bundle of peers 1/1
2018-11-29T15:06:18+01:00 - info: Block resolution: 0 potential blocks after current#283565...
2018-11-29T15:06:18+01:00 - info: Block resolution: 0 potential blocks after current#283565...
2018-11-29T15:06:33+01:00 - info: WS2P: Could not connect to peer 3dnbnYY9 using `WS2P 88.174.120.187 20901: WS2P connection timeout`
2018-11-29T15:06:33+01:00 - info: WS2P: Could not connect to peer CgNMrGrg using `WS2P 88.174.120.187 20900: WS2P connection timeout`
2018-11-29T15:06:33+01:00 - info: WS2P: Could not connect to peer DpJse2t7 using `WS2P 83.204.200.142 20900: WS2P connection timeout`
2018-11-29T15:06:33+01:00 - info: WS2P: Could not connect to peer CNGp7hxE using `WS2P 88.174.120.187 20903: WS2P connection timeout`
2018-11-29T15:06:42+01:00 - info: Sibling endpoints: 0=BASIC_MERKLED_API 78.225.244.76 34522
2018-11-29T15:06:42+01:00 - info: BMA access: 78.225.244.76:34522
2018-11-29T15:06:42+01:00 - info: [DQZ2CANv] ⬇ PEER DQZ2CANv 283565-0
2018-11-29T15:06:42+01:00 - error:  httpCode=400, ucode=2023, message=Peer document already known
2018-11-29T15:06:42+01:00 - info: Next peering signal in 5 min
2018-11-29T15:11:42+01:00 - info: Sibling endpoints: 0=BASIC_MERKLED_API 78.225.244.76 34522
2018-11-29T15:11:42+01:00 - info: BMA access: 78.225.244.76:34522
2018-11-29T15:11:42+01:00 - info: [DQZ2CANv] ⬇ PEER DQZ2CANv 283565-0
2018-11-29T15:11:42+01:00 - error:  httpCode=400, ucode=2023, message=Peer document already known
2018-11-29T15:11:42+01:00 - info: Next peering signal in 5 min
2018-11-29T15:14:03+01:00 - warn: Security trigger: proof-of-work process seems stuck
2018-11-29T15:14:03+01:00 - warn: Too high difficulty: waiting for other members to write next block
2018-11-29T15:16:18+01:00 - info: WS2P: init: bundle of peers 1/1
2018-11-29T15:16:18+01:00 - info: Block resolution: 0 potential blocks after current#283565...
2018-11-29T15:16:18+01:00 - info: Block resolution: 0 potential blocks after current#283565...
2018-11-29T15:16:33+01:00 - info: WS2P: Could not connect to peer 3dnbnYY9 using `WS2P 88.174.120.187 20901: WS2P connection timeout`
2018-11-29T15:16:33+01:00 - info: WS2P: Could not connect to peer CgNMrGrg using `WS2P 88.174.120.187 20900: WS2P connection timeout`
2018-11-29T15:16:33+01:00 - info: WS2P: Could not connect to peer DpJse2t7 using `WS2P 83.204.200.142 20900: WS2P connection timeout`
2018-11-29T15:16:33+01:00 - info: WS2P: Could not connect to peer CNGp7hxE using `WS2P 88.174.120.187 20903: WS2P connection timeout`
2018-11-29T15:16:42+01:00 - info: Sibling endpoints: 0=BASIC_MERKLED_API 78.225.244.76 34522
2018-11-29T15:16:42+01:00 - info: BMA access: 78.225.244.76:34522
2018-11-29T15:16:42+01:00 - info: [DQZ2CANv] ⬇ PEER DQZ2CANv 283565-0
2018-11-29T15:16:42+01:00 - error:  httpCode=400, ucode=2023, message=Peer document already known
2018-11-29T15:16:42+01:00 - info: Next peering signal in 5 min
2018-11-29T15:21:42+01:00 - info: Sibling endpoints: 0=BASIC_MERKLED_API 78.225.244.76 34522
2018-11-29T15:21:42+01:00 - info: BMA access: 78.225.244.76:34522
2018-11-29T15:21:42+01:00 - info: [DQZ2CANv] ⬇ PEER DQZ2CANv 283565-0
2018-11-29T15:21:43+01:00 - error:  httpCode=400, ucode=2023, message=Peer document already known
2018-11-29T15:21:43+01:00 - info: Next peering signal in 5 min
2018-11-29T15:24:03+01:00 - warn: Security trigger: proof-of-work process seems stuck
2018-11-29T15:24:03+01:00 - warn: Too high difficulty: waiting for other members to write next block
2018-11-29T15:26:33+01:00 - info: WS2P: Could not connect to peer 3dnbnYY9 using `WS2P 88.174.120.187 20901: WS2P connection timeout`
2018-11-29T15:26:33+01:00 - info: WS2P: Could not connect to peer CgNMrGrg using `WS2P 88.174.120.187 20900: WS2P connection timeout`
2018-11-29T15:26:33+01:00 - info: WS2P: Could not connect to peer DpJse2t7 using `WS2P 83.204.200.142 20900: WS2P connection timeout`
2018-11-29T15:26:33+01:00 - info: WS2P: Could not connect to peer CNGp7hxE using `WS2P 88.174.120.187 20903: WS2P connection timeout`
2018-11-29T15:26:42+01:00 - info: Sibling endpoints: 0=BASIC_MERKLED_API 78.225.244.76 34522
2018-11-29T15:26:42+01:00 - info: BMA access: 78.225.244.76:34522
2018-11-29T15:26:42+01:00 - info: [DQZ2CANv] ⬇ PEER DQZ2CANv 283565-0
2018-11-29T15:26:42+01:00 - error:  httpCode=400, ucode=2023, message=Peer document already known
2018-11-29T15:26:42+01:00 - info: Next peering signal in 5 min
2018-11-29T15:28:31+01:00 - info: worker 11575 died with code null and signal SIGKILL

2018-11-29T15:31:42+01:00 - info: Sibling endpoints: 0=BASIC_MERKLED_API 78.225.244.76 34522
2018-11-29T15:31:42+01:00 - info: BMA access: 78.225.244.76:34522
2018-11-29T15:31:42+01:00 - info: [DQZ2CANv] ⬇ PEER DQZ2CANv 283565-0
2018-11-29T15:31:42+01:00 - error:  httpCode=400, ucode=2023, message=Peer document already known
2018-11-29T15:31:42+01:00 - info: Next peering signal in 5 min
2018-11-29T15:34:03+01:00 - warn: Security trigger: proof-of-work process seems stuck
2018-11-29T15:34:03+01:00 - warn: Too high difficulty: waiting for other members to write next block
2018-11-29T15:36:18+01:00 - info: WS2P: init: bundle of peers 1/1
2018-11-29T15:36:18+01:00 - info: Block resolution: 0 potential blocks after current#283565...
2018-11-29T15:36:18+01:00 - info: Block resolution: 0 potential blocks after current#283565...
2018-11-29T15:36:33+01:00 - info: WS2P: Could not connect to peer 3dnbnYY9 using `WS2P 88.174.120.187 20901: WS2P connection timeout`
2018-11-29T15:36:33+01:00 - info: WS2P: Could not connect to peer CgNMrGrg using `WS2P 88.174.120.187 20900: WS2P connection timeout`
2018-11-29T15:36:33+01:00 - info: WS2P: Could not connect to peer DpJse2t7 using `WS2P 83.204.200.142 20900: WS2P connection timeout`
2018-11-29T15:36:33+01:00 - info: WS2P: Could not connect to peer CNGp7hxE using `WS2P 88.174.120.187 20903: WS2P connection timeout`
2018-11-29T15:36:42+01:00 - info: Sibling endpoints: 0=BASIC_MERKLED_API 78.225.244.76 34522
2018-11-29T15:36:42+01:00 - info: BMA access: 78.225.244.76:34522
2018-11-29T15:36:42+01:00 - info: [DQZ2CANv] ⬇ PEER DQZ2CANv 283565-0
2018-11-29T15:36:42+01:00 - error:  httpCode=400, ucode=2023, message=Peer document already known
2018-11-29T15:36:42+01:00 - info: Next peering signal in 5 min
2018-11-29T15:41:42+01:00 - info: Sibling endpoints: 0=BASIC_MERKLED_API 78.225.244.76 34522
2018-11-29T15:41:42+01:00 - info: BMA access: 78.225.244.76:34522
2018-11-29T15:41:42+01:00 - info: [DQZ2CANv] ⬇ PEER DQZ2CANv 283565-0
2018-11-29T15:41:42+01:00 - error:  httpCode=400, ucode=2023, message=Peer document already known
2018-11-29T15:41:42+01:00 - info: Next peering signal in 5 min
2018-11-29T15:44:03+01:00 - warn: Security trigger: proof-of-work process seems stuck
2018-11-29T15:44:03+01:00 - warn: Too high difficulty: waiting for other members to write next block

Il faut se resyncro sur cgeek du coup ?


#251

Je viens de tester un revert de 5 blocks et restart. Le noeud recharge les blocs jusqu’au 283565 et s’arrête de nouveau… Je lancerai une synchro ce soir car pas moyen de là où je suis de garder une console distante ouverte suffisamment longtemps. (La commande sync ne semble faire que des synchros complètes)
@cgeek y a-t-il une option sur la commande sync qui permette de faire une synchro partielle ?


#252
duniter -h
sync [source] [to]     Synchronize blockchain from a remote Duniter node. [source] is [host][:port]. [to] defaults to remote current block number.

#253

Une nouvelle synchro a fait l’affaire pour que le nœud ne reste plus bloqué.


#254

Ah non, ça s’est de nouveau désynchronisé !


#255

Ceux qui veulent se synchroniser de nouveau sur le réseau, ça tient. Mon nœud a trouvé des blocs.

@cgeek, peu être que tu peux baisser la puissance de ton nœud pour laisser de la place pour les autres identités car ça va vite avec une identité pour en placer une (un en l’occurrence).


#256

Faut se sync sur quel noeud ?


#257

Le nœud par officiel du projet.


#258

Tu es sûr qu’il y a eu des désynchronisations ? Le réseau a l’air stable, avec 6 nœuds synchronisés.

J’ai baissé la puissance de mon nœud.


#259

@Inso, est-ce que ton nœud calcule ? Je n’en ai pas l’impression.

Il nous faudrait au moins 3 nœuds membre pour pouvoir tester le déploiement de Duniter 1.7 et la bascule v10-v11.


#260

Il calcule :

2018-12-02T11:02:12+01:00 - warn: The proof-of-work generation was canceled: Proof-of-work computation canceled because block received
2018-12-02T11:02:12+01:00 - info: [CaE9dyy4] ⬇ PEER CNGp7hxE 285089-0
2018-12-02T11:02:13+01:00 - info: Generating proof-of-work with 4 leading zeros followed by [0-5]... (CPU usage set to 20%) for block#285101 CaE9dy
...
2018-12-02T11:06:30+01:00 - info: Matched 3 zeros 0002F71BD61D2A46174F43614FD70E2F25B6C39F0A8FB74FABA9F83C3A8D6FC0 with Nonce = 10000000000182 for block#285102 by CaE9dy

2018-12-02T11:06:42+01:00 - info: Matched 3 zeros 0007A7714641CAE33DBD175B19AEB48B0D789A83B09080C4376B84E6943F3048 with Nonce = 10000000000318 for block#285102 by CaE9dy


#261

Tu as fait une release zip du duniter-desktop 1.7 ou bien il faut installer à la pogne…?
Je suis encore en 1.6.25…