duniter issueshttps://git.duniter.org/nodes/typescript/duniter/-/issues2018-03-07T21:28:51+01:00https://git.duniter.org/nodes/typescript/duniter/-/issues/730Logs are not complete2018-03-07T21:28:51+01:00insoLogs are not completeWhen I start duniter using `duniter start` then `duniter logs`, I only find the following logs :
```
2016-11-25T18:37:05+01:00 - info: External access: testnet.duniter.inso.ovh:80
2016-11-25T18:37:05+01:00 - debug: Generating serve...When I start duniter using `duniter start` then `duniter logs`, I only find the following logs :
```
2016-11-25T18:37:05+01:00 - info: External access: testnet.duniter.inso.ovh:80
2016-11-25T18:37:05+01:00 - debug: Generating server's peering entry based on block#57995...
2016-11-25T18:37:05+01:00 - info: Changing conf to: {"prefix":10} on engine#1
2016-11-25T18:37:05+01:00 - debug: --> new Peer to be sent to 0 peer(s)
2016-11-25T18:37:05+01:00 - info: POST Peer 26emBEjX2Q#57995
2016-11-25T18:37:05+01:00 - info: Next peering signal in 10 min
2016-11-25T18:37:05+01:00 - debug: --> new Peer to be sent to 0 peer(s)
2016-11-25T18:37:05+01:00 - info: POST Peer 26emBEjX2Q#57995
2016-11-25T18:37:05+01:00 - info: Pulling blocks from the network...
2016-11-25T18:37:05+01:00 - info: Will pull blocks from the network in 4 min 0 sec
```
But if I use the command `duniter direct_start`, I can see the cause of the crash :
```
2016-11-25T18:37:05+01:00 - info: Changing conf to: {"prefix":10} on engine#1
2016-11-25T18:37:05+01:00 - debug: --> new Peer to be sent to 0 peer(s)
2016-11-25T18:37:05+01:00 - info: POST Peer 26emBEjX2Q#57995
2016-11-25T18:37:05+01:00 - info: Next peering signal in 10 min
2016-11-25T18:37:05+01:00 - debug: --> new Peer to be sent to 0 peer(s)
2016-11-25T18:37:05+01:00 - info: POST Peer 26emBEjX2Q#57995
2016-11-25T18:37:05+01:00 - info: Pulling blocks from the network...
2016-11-25T18:37:05+01:00 - info: Will pull blocks from the network in 4 min 0 sec
2016-11-25T18:37:06+01:00 - error: Error on WS Server
2016-11-25T18:37:06+01:00 - error: Error: listen EACCES 127.0.0.1:80
at Object.exports._errnoException (util.js:890:11)
at exports._exceptionWithHostPort (util.js:913:20)
at Server._listen2 (net.js:1221:19)
at listen (net.js:1270:10)
at net.js:1379:9
at _combinedTickCallback (node.js:386:13)
at process._tickCallback (node.js:407:11)
2016-11-25T18:37:06+01:00 - error: Error: listen EACCES 127.0.0.1:80
at Object.exports._errnoException (util.js:890:11)
at exports._exceptionWithHostPort (util.js:913:20)
at Server._listen2 (net.js:1221:19)
at listen (net.js:1270:10)
at net.js:1379:9
at _combinedTickCallback (node.js:386:13)
at process._tickCallback (node.js:407:11)
/opt/testnet/.duniter$ Killing engine 26emBEjX2QChhsnpfym4E33DwSJJk66dXYoZbg8vAZwB #1
```Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/727sqlite input/output error on ARM2017-02-07T07:18:25+01:00Cédric Moreausqlite input/output error on ARM*Created by: M5oul*
```bash
Progress:
Download: [||||||||||||||||||||] 100 %
Apply: [| ] 5 %
Status: SQLITE_IOERR: disk I/O error
All done.
```*Created by: M5oul*
```bash
Progress:
Download: [||||||||||||||||||||] 100 %
Apply: [| ] 5 %
Status: SQLITE_IOERR: disk I/O error
All done.
```Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/724Network auto-conf choose local IP4 as global IP42018-03-08T08:52:11+01:00Cédric MoreauNetwork auto-conf choose local IP4 as global IP4*Created by: M5oul*
Changing port with UPnP conf do not change the port on the router.*Created by: M5oul*
Changing port with UPnP conf do not change the port on the router.Horizonhttps://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/550Monetary Mass field will overflow2020-05-01T13:08:54+02:00Cédric MoreauMonetary Mass field will overflowCurrently it is displayed as base zero, which has a limited integer size.
Currently it is displayed as base zero, which has a limited integer size.
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/523Block generation issue with v0.22.02016-08-22T17:45:17+02:00Cédric MoreauBlock generation issue with v0.22.0*Created by: M5oul*
Since v0.22.0, my node couldn't compute valid block:
``` bash
2016-08-10T12:12:36-04:00 - info: Matched 4 zeros 000055CF4E509A63C432B86C03DF5AC43A3BA0C91786BB230DD409CDABE64DE8 with Nonce = 12048 for block#29582
201...*Created by: M5oul*
Since v0.22.0, my node couldn't compute valid block:
``` bash
2016-08-10T12:12:36-04:00 - info: Matched 4 zeros 000055CF4E509A63C432B86C03DF5AC43A3BA0C91786BB230DD409CDABE64DE8 with Nonce = 12048 for block#29582
2016-08-10T12:12:36-04:00 - info: Done: 000055CF4E509A63C432B86C03DF5AC43A3BA0C91786BB230DD409CDABE64DE8 in 93.43s (12048 tests, ~128.95 tests/s)
2016-08-10T12:12:36-04:00 - warn: Proof-of-work self-submission: Block's signature must match
--
2016-08-10T12:52:21-04:00 - info: Matched 4 zeros 00005FE1AB41FBEAD81BBA3A62729BF57984E702F3C40EAAF192E755ABFCF611 with Nonce = 261315 for block#29588
2016-08-10T12:52:21-04:00 - info: Done: 00005FE1AB41FBEAD81BBA3A62729BF57984E702F3C40EAAF192E755ABFCF611 in 1880.65s (261315 tests, ~138.95 tests/s)
2016-08-10T12:52:21-04:00 - warn: Proof-of-work self-submission: Block's signature must match
--
2016-08-10T13:20:51-04:00 - info: Matched 5 zeros 000007E087CA7D2375D937755824BC47FF92DBDA4D9AF795ECCF06FB659236AD with Nonce = 95960 for block#29592
2016-08-10T13:20:51-04:00 - info: Done: 000007E087CA7D2375D937755824BC47FF92DBDA4D9AF795ECCF06FB659236AD in 743.62s (95960 tests, ~129.04 tests/s)
2016-08-10T13:20:51-04:00 - warn: Proof-of-work self-submission: Block's signature must match
--
2016-08-10T13:28:43-04:00 - info: Matched 4 zeros 000012ACA2DA263823BCCDBF90737649388007F1E79599443D28349B17D23D3C with Nonce = 13248 for block#29596
2016-08-10T13:28:43-04:00 - info: Done: 000012ACA2DA263823BCCDBF90737649388007F1E79599443D28349B17D23D3C in 102.72s (13248 tests, ~128.97 tests/s)
2016-08-10T13:28:43-04:00 - warn: Proof-of-work self-submission: Block's signature must match
--
2016-08-10T13:52:39-04:00 - info: Matched 5 zeros 000003369B18F7111FF912E8A8D5614251B151AB242FB7FE5CDC11D2252DFA26 with Nonce = 63797 for block#29600
2016-08-10T13:52:39-04:00 - info: Done: 000003369B18F7111FF912E8A8D5614251B151AB242FB7FE5CDC11D2252DFA26 in 494.49s (63797 tests, ~129.01 tests/s)
2016-08-10T13:52:39-04:00 - warn: Proof-of-work self-submission: Block's signature must match
```
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/512Network issues2016-08-27T16:19:39+02:00Cédric MoreauNetwork issues*Created by: M5oul*
With the Duniter 0.21.3 desktop version, when I click on `Network` tab,
![capture du 2016-08-09 12-28-50](https://cloud.githubusercontent.com/assets/4758871/17513421/3153ae86-5e2d-11e6-9210-fee563fa1aca.png)
``` fi...*Created by: M5oul*
With the Duniter 0.21.3 desktop version, when I click on `Network` tab,
![capture du 2016-08-09 12-28-50](https://cloud.githubusercontent.com/assets/4758871/17513421/3153ae86-5e2d-11e6-9210-fee563fa1aca.png)
``` fish
2016-08-09T12:27:13+02:00 - info: 192.168.0.10 - GET /network/peers HTTP/1.1 304 - - 4.290 ms
2016-08-09T12:27:14+02:00 - error: TypeError: Cannot set property 'documentType' of undefined
at /home/moul/projects/duniter/sources/app/service/PeeringService.js:281:27
at next (native)
at onFulfilled (/home/moul/projects/duniter/sources/node_modules/co/index.js:65:19)
at process._tickCallback (internal/process/next_tick.js:103:7)
2016-08-09T12:27:14+02:00 - warn: Cannot set property 'documentType' of undefined
2016-08-09T12:27:17+02:00 - error: TypeError: Cannot set property 'documentType' of undefined
at /home/moul/projects/duniter/sources/app/service/PeeringService.js:281:27
```
I don't have a very good Internet connection and the node is not retrieving last blocks.
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/507"Server: STOPPED" persists until changing tabs.2018-03-08T08:50:41+01:00Cédric Moreau"Server: STOPPED" persists until changing tabs.*Created by: Idyllei*
If I restart the node from the web interface, the server status changes to "Server: STOPPED" until I change to a different tab and back to "Overview." Once I do that, it changes back to "Server: STARTED"
I am on W...*Created by: Idyllei*
If I restart the node from the web interface, the server status changes to "Server: STOPPED" until I change to a different tab and back to "Overview." Once I do that, it changes back to "Server: STARTED"
I am on Windows 10 Pro and am using Duniter 0.20.2.
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/482Node crashed2017-01-02T23:09:31+01:00insoNode crashedWe saw it during RML7, it happened again :
```
2016-06-18T09:46:12+02:00 - error: ERROR >> UPDATE peer SET `version` = ?, `currency` = ?, `status` = ?, `statusTS` = ?, `hash` = ?, `first_down` = ?, `last_try` = ?, `pubkey` = ?, `block`...We saw it during RML7, it happened again :
```
2016-06-18T09:46:12+02:00 - error: ERROR >> UPDATE peer SET `version` = ?, `currency` = ?, `status` = ?, `statusTS` = ?, `hash` = ?, `first_down` = ?, `last_try` = ?, `pubkey` = ?, `block` = ?, `signature` = ?, `endpoints` = ?, `raw` = ? WHERE `pubkey` = ? [2,"test_net","DOWN",1465958832,"95945A2CBF7193F6547F362A5FB12E785C221BA0A20A509BDC0F5789E1C8B893",1465970953855,1466235972316,"BjY41NKqFZjZUprp6sZX2yuPdFKCCdKcFYp1SvVASZhV","14415-00002759C094E9AD6945352832A1E0774C5190D2CBAE02F23766EB74DCEAEC55","9hBdtUBLekHtsm/A+7HMHK+iaCec/bUc6Pjqit6cNik9boOUHf2dsueV7ffc7GYl5/MoowaFDRnCqsdKkBVfCQ==","[\"BASIC_MERKLED_API 192.168.1.18 2a01:e35:8ae7:8bb0:8c25:2a71:62b8:d2f0 9337\"]","Version: 2\nType: Peer\nCurrency: test_net\nPublicKey: BjY41NKqFZjZUprp6sZX2yuPdFKCCdKcFYp1SvVASZhV\nBlock: 14415-00002759C094E9AD6945352832A1E0774C5190D2CBAE02F23766EB74DCEAEC55\nEndpoints:\nBASIC_MERKLED_API 192.168.1.18 2a01:e35:8ae7:8bb0:8c25:2a71:62b8:d2f0 9337\n","BjY41NKqFZjZUprp6sZX2yuPdFKCCdKcFYp1SvVASZhV"] Error: SQLITE_READONLY: attempt to write a readonly database
at Error (native)
2016-06-18T09:46:12+02:00 - error: ERROR >> UPDATE peer SET `version` = ?, `currency` = ?, `status` = ?, `statusTS` = ?, `hash` = ?, `first_down` = ?, `last_try` = ?, `pubkey` = ?, `block` = ?, `signature` = ?, `endpoints` = ?, `raw` = ? WHERE `pubkey` = ? [2,"test_net","DOWN",1465808792,"FAAAA8E5879E5D396722ED71E1D0989EECD7060A32D00BDF7D56E1BE28318897",1465820596460,1466235972320,"5ExBCM9a9DJSxtRgjkEoNxX3LvUVEeYsG6WZAbChGfn6","13964-00000256B471DF89AF59D4EAE519418C49B792082A2E5E18883CB25EC0A83C09","HjtlZWccKy8Jxh/Y9hfbeZgFIsmQ4z35osyIWKEtiRloPLK7hb1HIefLrIWsFC5X5mylB/UzQwMNCULzKy7zBA==","[\"BASIC_MERKLED_API 88.190.82.70 fe80::219:dbff:fede:da54 61582\"]","Version: 2\nType: Peer\nCurrency: test_net\nPublicKey: 5ExBCM9a9DJSxtRgjkEoNxX3LvUVEeYsG6WZAbChGfn6\nBlock: 13964-00000256B471DF89AF59D4EAE519418C49B792082A2E5E18883CB25EC0A83C09\nEndpoints:\nBASIC_MERKLED_API 88.190.82.70 fe80::219:dbff:fede:da54 61582\n","5ExBCM9a9DJSxtRgjkEoNxX3LvUVEeYsG6WZAbChGfn6"] Error: SQLITE_READONLY: attempt to write a readonly database
at Error (native)
2016-06-18T09:46:12+02:00 - error: ERROR >> UPDATE peer SET `version` = ?, `currency` = ?, `status` = ?, `statusTS` = ?, `hash` = ?, `first_down` = ?, `last_try` = ?, `pubkey` = ?, `block` = ?, `signature` = ?, `endpoints` = ?, `raw` = ? WHERE `pubkey` = ? [2,"test_net","DOWN",1465808792,"FAAAA8E5879E5D396722ED71E1D0989EECD7060A32D00BDF7D56E1BE28318897",1465820596460,1466235972325,"5ExBCM9a9DJSxtRgjkEoNxX3LvUVEeYsG6WZAbChGfn6","13964-00000256B471DF89AF59D4EAE519418C49B792082A2E5E18883CB25EC0A83C09","HjtlZWccKy8Jxh/Y9hfbeZgFIsmQ4z35osyIWKEtiRloPLK7hb1HIefLrIWsFC5X5mylB/UzQwMNCULzKy7zBA==","[\"BASIC_MERKLED_API 88.190.82.70 fe80::219:dbff:fede:da54 61582\"]","Version: 2\nType: Peer\nCurrency: test_net\nPublicKey: 5ExBCM9a9DJSxtRgjkEoNxX3LvUVEeYsG6WZAbChGfn6\nBlock: 13964-00000256B471DF89AF59D4EAE519418C49B792082A2E5E18883CB25EC0A83C09\nEndpoints:\nBASIC_MERKLED_API 88.190.82.70 fe80::219:dbff:fede:da54 61582\n","5ExBCM9a9DJSxtRgjkEoNxX3LvUVEeYsG6WZAbChGfn6"] Error: SQLITE_READONLY: attempt to write a readonly database
at Error (native)
2016-06-18T09:46:12+02:00 - error: ERROR >> UPDATE peer SET `version` = ?, `currency` = ?, `status` = ?, `statusTS` = ?, `hash` = ?, `first_down` = ?, `last_try` = ?, `pubkey` = ?, `block` = ?, `signature` = ?, `endpoints` = ?, `raw` = ? WHERE `pubkey` = ? [2,"test_net","DOWN",1465558217,"D1CA26FBD2B88F075D658DDCD815AF355EB1247347F40356C1EF1E48797B73E5",1465824648798,1466235972332,"9eCTWEsrKiW5ityb5h6xM2qKb8GuFkajDzbJbzeFxUEq","13191-000006A9FC4D2F670F4AC8A4F19A63C68A44CE0FBA536B66662056D4AA323567","urU7cUUXJKpDmdhdbKBetr6VqjmsIONARKnFl3GDmsl12yxQRvPZl6NX7e8AIEp164IKQXTAzgG3jrgQVFRUCQ==","[\"BASIC_MERKLED_API win-dev.cgeek.fr 88.174.120.187 9338\"]","Version: 2\nType: Peer\nCurrency: test_net\nPublicKey: 9eCTWEsrKiW5ityb5h6xM2qKb8GuFkajDzbJbzeFxUEq\nBlock: 13191-000006A9FC4D2F670F4AC8A4F19A63C68A44CE0FBA536B66662056D4AA323567\nEndpoints:\nBASIC_MERKLED_API win-dev.cgeek.fr 88.174.120.187 9338\n","9eCTWEsrKiW5ityb5h6xM2qKb8GuFkajDzbJbzeFxUEq"] Error: SQLITE_READONLY: attempt to write a readonly database
at Error (native)
```
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/412NaClb build fail with root user2017-11-28T16:49:19+01:00vincentuxNaClb build fail with root userL'installation se passe sur un vps chez OVH
OS : Debian 8 (Jessie) (64 bits)
```
npm WARN ucoin@0.20.0-a57 license should be a valid SPDX license expression
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/root/.duniter/node/bin/node" "/ro...L'installation se passe sur un vps chez OVH
OS : Debian 8 (Jessie) (64 bits)
```
npm WARN ucoin@0.20.0-a57 license should be a valid SPDX license expression
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/root/.duniter/node/bin/node" "/root/.duniter/node/bin/npm" "install"
npm ERR! node v5.9.1
npm ERR! npm v3.7.3
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! naclb@1.3.1 install: `node-pre-gyp install --fallback-to-build`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the naclb@1.3.1 install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the naclb package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs naclb
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls naclb
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/.duniter/npm-debug.log
```
La copie complète :
https://framabin.org/?d1b74f61aad0a578#Kr2KjfiqWPrYFqe0BKhEk7BvUYsKtTe9TmXJ2wDYgzw=
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/119Error when launching uCoin on Node 0.122015-12-09T22:49:37+01:00Cédric MoreauError when launching uCoin on Node 0.12*Created by: M5oul*
``` bash
# ucoind
/usr/local/lib/node_modules/ucoin/node_modules/nat-upnp/node_modules/netroute/node_modules/bindings/bindings.js:79
throw e
^
Error: Module did not self-register.
at Error ...*Created by: M5oul*
``` bash
# ucoind
/usr/local/lib/node_modules/ucoin/node_modules/nat-upnp/node_modules/netroute/node_modules/bindings/bindings.js:79
throw e
^
Error: Module did not self-register.
at Error (native)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at bindings (/usr/local/lib/node_modules/ucoin/node_modules/nat-upnp/node_modules/netroute/node_modules/bindings/bindings.js:74:15)
at Object.<anonymous> (/usr/local/lib/node_modules/ucoin/node_modules/nat-upnp/node_modules/netroute/lib/netroute.js:3:19)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
```
Horizon