nodes issueshttps://git.duniter.org/groups/nodes/-/issues2017-11-28T16:49:17+01:00https://git.duniter.org/nodes/typescript/duniter/-/issues/1160Wrong WS2P endpoint generated2017-11-28T16:49:17+01:00insoWrong WS2P endpoint generatedWhile testing Sakia parser of peers present on the network, I encountered the following one :
```
Version: 10
Type: Peer
Currency: g1
PublicKey: 5jfUpXPWAiBXNVG49tjQYA7R3VFX2oG2aPiskR5PE8Mc
Block: 62955-00000464C24BAF5A6BDD56D1A...While testing Sakia parser of peers present on the network, I encountered the following one :
```
Version: 10
Type: Peer
Currency: g1
PublicKey: 5jfUpXPWAiBXNVG49tjQYA7R3VFX2oG2aPiskR5PE8Mc
Block: 62955-00000464C24BAF5A6BDD56D1AB5C73C9A6A1684C577B97A04FAB7D5ADF772C23
Endpoints:
WS2P c0b55f43 90.25.85.172 20901
WS2P c0b55f43 [object Object] 20900
BASIC_MERKLED_API lilel.hopto.org 90.25.209.55 10901
ajpRexbt1qxaWHJYtthZHlzh1L1EYDKpNgaejLoVmNH1vP6cROUiMSu/rdISxL8fHvLGVll/MoHa1qb91BgyDg==
```
The owner of this node is http://g1.duniter.org/cesium/#/app/wot/5jfUpXPWAiBXNVG49tjQYA7R3VFX2oG2aPiskR5PE8Mc/DamageCo.
The WS2P field contains an [object Object] entry.
Maybe DamageCo should be contacted to check his node configuration and see if there is a real bug.
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/831Websocket issue2017-11-28T16:49:17+01:00Cédric MoreauWebsocket issue*Created by: M5oul*
With 0.90.5 on ARM:
```bash
2017-02-07T09:35:33+01:00 - info: POST Peer J78bPUvLjx#4153
2017-02-07T09:35:34+01:00 - info: Changing conf to: {"prefix":10} on engine#1
2017-02-07T09:35:34+01:00 - info: Changing con...*Created by: M5oul*
With 0.90.5 on ARM:
```bash
2017-02-07T09:35:33+01:00 - info: POST Peer J78bPUvLjx#4153
2017-02-07T09:35:34+01:00 - info: Changing conf to: {"prefix":10} on engine#1
2017-02-07T09:35:34+01:00 - info: Changing conf to: {"prefix":10} on engine#2
2017-02-07T09:35:34+01:00 - error: error on ws mapSync: Error: not opened
at WebSocket.send (/opt/duniter/sources/node_modules/ws/lib/WebSocket.js:219:16)
at wssPeer.clients.forEach (/opt/duniter/sources/node_modules/duniter-bma/lib/bma.js:123:78)
at Array.forEach (native)
at WebSocketServer.wssPeer.broadcast (/opt/duniter/sources/node_modules/duniter-bma/lib/bma.js:123:51)
at /opt/duniter/sources/node_modules/duniter-bma/lib/bma.js:136:21
at Stream.write (/opt/duniter/sources/node_modules/event-stream/index.js:204:20)
at Stream.stream.write (/opt/duniter/sources/node_modules/through/index.js:26:11)
at Server.ondata (_stream_readable.js:555:20)
at emitOne (events.js:101:20)
at Server.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Server.Readable.push (_stream_readable.js:134:10)
at Server.streamPush (/opt/duniter/sources/server.js:84:12)
at /opt/duniter/sources/server.js:168:16
at next (native)
at onFulfilled (/opt/duniter/sources/node_modules/co/index.js:65:19)
at _fulfilled (/opt/duniter/sources/node_modules/q/q.js:834:54)
at self.promiseDispatch.done (/opt/duniter/sources/node_modules/q/q.js:863:30)
at Promise.promise.promiseDispatch (/opt/duniter/sources/node_modules/q/q.js:796:13)
at /opt/duniter/sources/node_modules/q/q.js:604:44
at runSingle (/opt/duniter/sources/node_modules/q/q.js:137:13)
at flush (/opt/duniter/sources/node_modules/q/q.js:125:13)
2017-02-07T09:35:34+01:00 - error: error on ws mapSync: Error: not opened
at WebSocket.send (/opt/duniter/sources/node_modules/ws/lib/WebSocket.js:219:16)
at wssPeer.clients.forEach (/opt/duniter/sources/node_modules/duniter-bma/lib/bma.js:123:78)
at Array.forEach (native)
at WebSocketServer.wssPeer.broadcast (/opt/duniter/sources/node_modules/duniter-bma/lib/bma.js:123:51)
at /opt/duniter/sources/node_modules/duniter-bma/lib/bma.js:136:21
at Stream.write (/opt/duniter/sources/node_modules/event-stream/index.js:204:20)
at Stream.stream.write (/opt/duniter/sources/node_modules/through/index.js:26:11)
at Server.ondata (_stream_readable.js:555:20)
at emitOne (events.js:101:20)
at Server.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Server.Readable.push (_stream_readable.js:134:10)
at Server.streamPush (/opt/duniter/sources/server.js:84:12)
at /opt/duniter/sources/app/service/PeeringService.js:228:12
at next (native)
at onFulfilled (/opt/duniter/sources/node_modules/co/index.js:65:19)
2017-02-07T09:35:34+01:00 - info: Next peering signal in 10 min
2017-02-07T09:35:35+01:00 - info: POST Peer J78bPUvLjx#4153
2017-02-07T09:35:36+01:00 - info: POST Peer J78bPUvLjx#4153
```Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/888The main entry of the PowerClearRequest is not found2017-11-28T16:49:17+01:00Cédric MoreauThe main entry of the PowerClearRequest is not found*Created by: Patator65*
Hi,
I have an issue when i try to start Duniter.
This is the error message i get (i do my own translation fr to en of this message) :
The main entry of the PowerClearRequest is not found in the lib of dynamic ...*Created by: Patator65*
Hi,
I have an issue when i try to start Duniter.
This is the error message i get (i do my own translation fr to en of this message) :
The main entry of the PowerClearRequest is not found in the lib of dynamic links KERNEL32.dll.
Hope it is correctly translanted :)
My PC works with Vista x64.https://git.duniter.org/nodes/typescript/duniter/-/issues/1071Refactor BlockGenerator2017-11-28T16:49:17+01:00Cédric MoreauRefactor BlockGeneratorThis is a mess. It's hard to read what is the WoT data inclusion in next block.This is a mess. It's hard to read what is the WoT data inclusion in next block.Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1152Change tx sandbox size2020-10-04T18:47:27+02:00ÉloïsChange tx sandbox sizehttps://forum.duniter.org/t/gbot-feeback-on-g1-test/3400/5?u=eloishttps://forum.duniter.org/t/gbot-feeback-on-g1-test/3400/5?u=elois1.10https://git.duniter.org/nodes/typescript/duniter/-/issues/700Function don't seems to exist2017-11-28T16:49:17+01:00Cédric MoreauFunction don't seems to exist*Created by: M5oul*
```bash
2016-11-09T16:18:11+01:00 - info: Stop proof-of-work worker #1
2016-11-09T16:18:11+01:00 - info: Stop proof-of-work worker #2
2016-11-09T16:18:11+01:00 - error: TypeError: written.json is not a function
...*Created by: M5oul*
```bash
2016-11-09T16:18:11+01:00 - info: Stop proof-of-work worker #1
2016-11-09T16:18:11+01:00 - info: Stop proof-of-work worker #2
2016-11-09T16:18:11+01:00 - error: TypeError: written.json is not a function
at /opt/duniter/sources/app/controllers/abstract.js:12:20
at next (native)
at onFulfilled (/opt/duniter/sources/node_modules/co/index.js:65:19)
at process._tickCallback (node.js:412:9)
2016-11-09T16:18:11+01:00 - warn: written.json is not a function
2016-11-09T16:18:12+01:00 - info: GIVEN proof-of-work for block#53671 with 4 leading zeros followed by [0-2]! stop PoW for J78bPU
2016-11-09T16:18:12+01:00 - warn: Proof-of-work computation canceled because block received
```Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/829BMA /blockchain/block/<number> : `blockstampTime` always null2017-11-28T16:49:17+01:00Benoit LavenierBMA /blockchain/block/<number> : `blockstampTime` always nullj'ai un truc bizarre : http://gtest.duniter.org:10900/blockchain/block/3956
dans les TX, la champs blockstampTime vaut toujours 0
(en fait je sais pas si ce champ est utile ou pas, pour moi, à exploiter dans l'UI de visu d'un block)
...j'ai un truc bizarre : http://gtest.duniter.org:10900/blockchain/block/3956
dans les TX, la champs blockstampTime vaut toujours 0
(en fait je sais pas si ce champ est utile ou pas, pour moi, à exploiter dans l'UI de visu d'un block)
ca doit etre un bug de l'API BMA; après vérification les block envoyé par la WS semblent bons
Par exemple le même block recu par mon noeud ES : http://data.gtest.duniter.fr/gtest/block/3956
https://git.duniter.org/nodes/typescript/duniter/-/issues/901Desktop: after a resync, PoW blocks are not shared2017-11-28T16:49:17+01:00Cédric MoreauDesktop: after a resync, PoW blocks are not shared> (18:15:42) jytou: re passage en coup de vent: je confirme que tant que je n'ai pas redémarré mon nœud après une syncho, il trouvait des blocs mais n'arrivait pas à les publier, pas d'erreur apparente dans les logs mais plein de « found...> (18:15:42) jytou: re passage en coup de vent: je confirme que tant que je n'ai pas redémarré mon nœud après une syncho, il trouvait des blocs mais n'arrivait pas à les publier, pas d'erreur apparente dans les logs mais plein de « found » sans publication, et hop je suis reparti
(18:20:43) cgeek: jytou: tu parles de la version desktop ?
(18:22:18) bruno a quitté le salon (Disconnected: closed)
(18:24:22) jytou: cgeek: ouiHorizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1070Refactor PeeringService2017-11-28T16:49:17+01:00Cédric MoreauRefactor PeeringServiceAs asked by @Insoleet As asked by @Insoleet Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1151ws2p-public doesn't work if ws2p-private is disabled2018-12-08T16:02:08+01:00Éloïsws2p-public doesn't work if ws2p-private is disabledThe ws2p endpoint is not published if ws2p-private is disabledThe ws2p endpoint is not published if ws2p-private is disabledHorizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/8260.90.5 resync2017-11-28T16:49:17+01:00Cédric Moreau0.90.5 resync*Created by: galuel*
Tryed a reset / resync, obtained orange window with :
Sync interrupted because the following error occured: « SQL error "SQLITE_CONSTRAINT: UNIQUE constraint failed: m_index.op, m_index.pub, m_index.created_on, ...*Created by: galuel*
Tryed a reset / resync, obtained orange window with :
Sync interrupted because the following error occured: « SQL error "SQLITE_CONSTRAINT: UNIQUE constraint failed: m_index.op, m_index.pub, m_index.created_on, m_index.written_on" on query "INSERT INTO m_index (`op`,`pub`,`created_on`,`written_on`,`expires_on`,`expired_on`,`revokes_on`,`revoked_on`,`leaving`,`revocation`) VALUES ('CREATE','5ocqzyDMMWf1V8bsoNhWb1iNwax1e9M7VTUN6navs8of','0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855','0-00006A54885CA44DF5EF453853843064073D885C9B0EAB9A55965F8F8DEABD75',1487757938,null,1490349938,null,0,null), ('CREATE','7tuTjCfZ7MTyVHj7GrfA8zNJ1mpWkKL9KxkoaQNpjyAe','0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855','0-00006A54885CA44DF5EF453853843064073D885C9B0EAB9A55965F8F8DEABD75',1487757938,null,1490349938,null,0,null), ('CREATE','HnFcSms8jzwngtVomTTnzudZx7SHUQY8sVE1y8yBmULk','0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855','0-00006A54885CA44DF5EF453853843064073D885C9B0EAB9A55965F8F8DEABD75',1487757938,null,1490349938,null,0,null), ('CREATE','J78bPUvLjxmjaEkdjxWLeENQtcfXm7iobqB49uT1Bgp3','0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855','0-00006A54885CA44DF5EF453853843064073D885C9B0EAB9A55965F8F8DEABD75',1487757938,null,1490349938,null,0,null), ('CREATE','8Fi1VSTbjkXguwThF4v2ZxC5whK7pwG2vcGTkPUPjPGU','0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855','0-00006A54885CA44DF5EF453853843064073D885C9B0EAB9A55965F8F8DEABD75',1487757938,null,1490349938,null,0,null), ('CREATE','D3nN6CsWFPmqcWdjNJbE1PcHXyjWaBQPpAFn1ZyXRAAU','0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855','0-00006A54885CA44DF5EF453853843064073D885C9B0EAB9A55965F8F8DEABD75',1487757938,null,1490349938,null,0,null), ('CREATE','7KL2QXXFULDpsQY4UdSr5oEVx6rFE6oxeagRdkCX35bf','0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855','0-00006A54885CA44DF5EF453853843064073D885C9B0EAB9A55965F8F8DEABD75',1487757938,null,1490349938,null,0,null), ('CREATE','CSjgcGguFJe3ghBBjjGyNVdvC3rqtXE7rSxUaLzjxBhR','0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855','0-00006A54885CA44DF5EF453853843064073D885C9B0EAB9A55965F8F8DEABD75',1487757938,null,1490349938,null,0,null), ('CREATE','bDq9H48BVEAHydtH8MHjrmdRnuq8d8GMUaPSzEn8TkC','0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855','0-00006A54885CA44DF5EF453853843064073D885C9B0EAB9A55965F8F8DEABD75',1487757938,null,1490349938,null,0,null), ('CREATE','7iBkcyryuikxLotKgLABb4ViWCcfZowUseG4z48ochax','0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855','0-00006A54885CA44DF5EF453853843064073D885C9B0EAB9A55965F8F8DEABD75',1487757938,null,1490349938,null,0,null), ('CREATE','CFP3oacjwDJARL89D2Gkz6LeMoVAu4ggE65CvqSp9Q9K','0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855','0-00006A54885CA44DF5EF453853843064073D885C9B0EAB9A55965F8F8DEABD75',1487757938,null,1490349938,null,0,null);" »https://git.duniter.org/nodes/typescript/duniter/-/issues/891Node kept UP if a web server is running at same address and the node is down2017-11-28T16:49:17+01:00Cédric MoreauNode kept UP if a web server is running at same address and the node is down*Created by: M5oul*
I turned off my node on my YunoHost instance, and the node on my desktop keep staying the other one is still running:
```bash
2017-03-14T17:10:13+01:00 - info: Sibling endpoints: 0=BMAS duniter.moul.re 443, 1=BMAS ...*Created by: M5oul*
I turned off my node on my YunoHost instance, and the node on my desktop keep staying the other one is still running:
```bash
2017-03-14T17:10:13+01:00 - info: Sibling endpoints: 0=BMAS duniter.moul.re 443, 1=BMAS duniter.moul.re 78.227.107.45 2a01:e34:ee36:b2d0:83:6ff:fe43:6546 443
2017-03-14T17:10:13+01:00 - info: External access: desktop.moul.re:10901
```
In fact, there is still an http server running behind this address, but not a duniter node.
How is checked the fact there is a running node?
Only by checking if the address answer or if it could get something for the BMA?
I wasn't able to found how the check is done on the [crawler](https://github.com/duniter/duniter-crawler/blob/master/lib/crawler.js).
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1060Update "contribuer-french.md"2017-11-28T16:49:17+01:00Cédric MoreauUpdate "contribuer-french.md"Le document est obsolète sur certains points : https://forum.duniter.org/t/git-readme-dead-link/2981/2Le document est obsolète sur certains points : https://forum.duniter.org/t/git-readme-dead-link/2981/2https://git.duniter.org/nodes/typescript/duniter/-/issues/1150OpenBSD build2018-01-24T22:56:24+01:00Cédric MoreauOpenBSD build*Created by: B4rb3rouss*
Hello,
Do you plan an OpenBSD build, or any advice to compile duniter on this platform?
Regards.*Created by: B4rb3rouss*
Hello,
Do you plan an OpenBSD build, or any advice to compile duniter on this platform?
Regards.Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/890Dynamic IP: detect the public IP changing2018-12-07T14:10:25+01:00Cédric MoreauDynamic IP: detect the public IP changingSee https://forum.duniter.org/t/noeud-qui-pedale-dans-la-choucroute/2176See https://forum.duniter.org/t/noeud-qui-pedale-dans-la-choucroute/2176Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/968Sandbox pulling takes too much CPU2017-11-28T16:49:17+01:00Cédric MoreauSandbox pulling takes too much CPU*Created by: M5oul*
Certifications and identities pulling take too much CPU.
It would be great to lower this action. It's not necessary to go fast.*Created by: M5oul*
Certifications and identities pulling take too much CPU.
It would be great to lower this action. It's not necessary to go fast.Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1143Refactor `parsers` files2017-11-28T16:49:17+01:00Cédric MoreauRefactor `parsers` filesAll the parsing files would need a complete rewriting to allow a clearer implementation, with explicit manipulation of flow processing, which we could easily test component by component.
These files are here: https://github.com/dunite...All the parsing files would need a complete rewriting to allow a clearer implementation, with explicit manipulation of flow processing, which we could easily test component by component.
These files are here: https://github.com/duniter/duniter/tree/dev/app/lib/common-libs/parsersHorizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/673Document BMA API with swagger2018-03-07T21:33:15+01:00Cédric MoreauDocument BMA API with swagger*Created by: M5oul*
- [Website](http://swagger.io)
- [Example](http://petstore.swagger.io/#/pet)
*Created by: M5oul*
- [Website](http://swagger.io)
- [Example](http://petstore.swagger.io/#/pet)
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/824Database lock2017-11-28T16:49:17+01:00Cédric MoreauDatabase lock*Created by: M5oul*
It could be great to have a database lock to avoid accessing same database by two processes of Duniter.*Created by: M5oul*
It could be great to have a database lock to avoid accessing same database by two processes of Duniter.Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/886BMA Network: listen on all interfaces (and with the interface name)2017-11-28T16:49:17+01:00Cédric MoreauBMA Network: listen on all interfaces (and with the interface name)*Created by: Tortue95*
Hi,
can you add the possibility to listen on all interfaces
and at the same time the possibility to listen on one interface name (not the IP)*Created by: Tortue95*
Hi,
can you add the possibility to listen on all interfaces
and at the same time the possibility to listen on one interface name (not the IP)