From 2ed9d09443e805be213addfdb848b5469ee59b0f Mon Sep 17 00:00:00 2001 From: Drew Ansbacher Date: Fri, 3 Dec 2021 13:41:06 -0700 Subject: [PATCH] last 1000 chars of not message --- .../notifications/notifications.page.html | 2 +- ui/src/app/services/api/api.fixures.ts | 256 +++++++++++++++++- 2 files changed, 256 insertions(+), 2 deletions(-) diff --git a/ui/src/app/pages/notifications/notifications.page.html b/ui/src/app/pages/notifications/notifications.page.html index 7e0dec37e..5b6d12257 100644 --- a/ui/src/app/pages/notifications/notifications.page.html +++ b/ui/src/app/pages/notifications/notifications.page.html @@ -66,7 +66,7 @@

- {{ not.message }} + ...{{ not.message.substr(-1000) }}

{{ not['created-at'] | date: 'short' }} diff --git a/ui/src/app/services/api/api.fixures.ts b/ui/src/app/services/api/api.fixures.ts index d0eeb8f65..815832b4c 100644 --- a/ui/src/app/services/api/api.fixures.ts +++ b/ui/src/app/services/api/api.fixures.ts @@ -774,7 +774,261 @@ export module Mock { code: 4, level: NotificationLevel.Error, title: 'Service Crashed', - message: 'Bitcoind has crashed.', + message: `2021-11-27T18:36:24.049466Z 2021-11-27T18:36:24Z UpdateTip: new best=0000000000000000000b983471c9d97da0493d666aed2182b9f5724d8de882f2 height=655129 version=0x20000000 log2_work=92.414586 tx=583135182 date='2020-11-02T16:29:08Z' progress=0.831387 cache=952.9MiB(7030955txo) + + 2021-11-27T18:36:30.451064Z 2021-11-27T18:36:30Z tor: Thread interrupt + + 2021-11-27T18:36:30.452833Z 2021-11-27T18:36:30Z Shutdown: In progress... + + 2021-11-27T18:36:30.453128Z 2021-11-27T18:36:30Z addcon thread exit + + 2021-11-27T18:36:30.453369Z 2021-11-27T18:36:30Z torcontrol thread exit + + 2021-11-27T18:36:30.478636Z 2021-11-27T18:36:30Z net thread exit + + 2021-11-27T18:36:35.231796Z 2021-11-27T18:36:35Z UpdateTip: new best=00000000000000000006ee6ef3e1e3f5ce77ec364a410d013a3998d0e1fde1c4 height=655130 version=0x27ffe000 log2_work=92.414604 tx=583138309 date='2020-11-02T17:18:08Z' progress=0.831400 cache=953.6MiB(7036877txo) + + 2021-11-27T18:36:35.233427Z 2021-11-27T18:36:35Z opencon thread exit + + 2021-11-27T18:36:35.895778Z 2021-11-27T18:36:35Z msghand thread exit + + 2021-11-27T18:36:36.925087Z 2021-11-27T18:36:36Z DumpAnchors: Flush 1 outbound block-relay-only peer addresses to anchors.dat started + + 2021-11-27T18:36:36.937843Z 2021-11-27T18:36:36Z DumpAnchors: Flush 1 outbound block-relay-only peer addresses to anchors.dat completed (0.01s) + + 2021-11-27T18:36:38.329495Z 2021-11-27T18:36:38Z scheduler thread exit + + 2021-11-27T18:36:38.507800Z 2021-11-27T18:36:38Z Writing 0 unbroadcast transactions to disk. + + 2021-11-27T18:36:38.527805Z 2021-11-27T18:36:38Z Dumped mempool: 3.2e-05s to copy, 0.01261s to dump + + 2021-11-27T18:36:38.556270Z 2021-11-27T18:36:38Z FlushStateToDisk: write coins cache to disk (7036877 coins, 999924kB) started + + 2021-11-27T18:36:40.278299Z Error updating blockchain info: error: Could not connect to the server 127.0.0.1:8332 + + 2021-11-27T18:36:40.289046Z + + 2021-11-27T18:36:40.289645Z Make sure the bitcoind server is running and that you are connecting to the correct RPC port. + + 2021-11-27T18:36:40.289913Z + + 2021-11-27T18:36:45.290631Z Error updating blockchain info: error: Could not connect to the server 127.0.0.1:8332 + + 2021-11-27T18:36:45.292144Z + + 2021-11-27T18:36:45.292426Z Make sure the bitcoind server is running and that you are connecting to the correct RPC port. + + 2021-11-27T18:36:45.292664Z + + 2021-11-27T18:36:50.316513Z Error updating blockchain info: error: Could not connect to the server 127.0.0.1:8332 + + 2021-11-27T18:36:50.318147Z + + 2021-11-27T18:36:50.318520Z Make sure the bitcoind server is running and that you are connecting to the correct RPC port. + + 2021-11-27T18:36:50.318806Z + + 2021-11-27T18:36:55.354490Z Error updating blockchain info: error: Could not connect to the server 127.0.0.1:8332 + + 2021-11-27T18:36:55.356816Z + + 2021-11-27T18:36:55.357236Z Make sure the bitcoind server is running and that you are connecting to the correct RPC port. + + 2021-11-27T18:36:55.357570Z + + 2021-11-27T18:37:00.400082Z Error updating blockchain info: error: Could not connect to the server 127.0.0.1:8332 + + 2021-11-27T18:37:00.400690Z + + 2021-11-27T18:37:00.400992Z Make sure the bitcoind server is running and that you are connecting to the correct RPC port. + + 2021-11-27T18:37:00.401234Z + + ------//------ + Logs after restarting: + 2021-11-27T18:40:34.243380Z Error updating blockchain info: error: Could not connect to the server 127.0.0.1:8332 + + 2021-11-27T18:40:34.244792Z + + 2021-11-27T18:40:34.245168Z Make sure the bitcoind server is running and that you are connecting to the correct RPC port. + + 2021-11-27T18:40:34.245545Z + + 2021-11-27T18:40:34.678358Z 2021-11-27T18:40:34Z Bitcoin Core version v0.21.1.0-g194b9b8792d9b0798fdb570b79fa51f1d1f5ebaf (release build) + + 2021-11-27T18:40:34.678983Z 2021-11-27T18:40:34Z InitParameterInteraction: parameter interaction: -externalip set -> setting -discover=0 + + 2021-11-27T18:40:34.679277Z 2021-11-27T18:40:34Z Assuming ancestors of block 0000000000000000000b9d2ec5a352ecba0592946514a92f14319dc2b367fc72 have valid signatures. + + 2021-11-27T18:40:34.679505Z 2021-11-27T18:40:34Z Setting nMinimumChainWork=00000000000000000000000000000000000000001533efd8d716a517fe2c5008 + + 2021-11-27T18:40:34.679706Z 2021-11-27T18:40:34Z Using the 'standard' SHA256 implementation + + 2021-11-27T18:40:34.679898Z 2021-11-27T18:40:34Z Default data directory /root/.bitcoin + + 2021-11-27T18:40:34.680144Z 2021-11-27T18:40:34Z Using data directory /root/.bitcoin + + 2021-11-27T18:40:34.680373Z 2021-11-27T18:40:34Z Config file: /root/.bitcoin/bitcoin.conf + + 2021-11-27T18:40:34.680569Z 2021-11-27T18:40:34Z Config file arg: avoidpartialspends="1" + + 2021-11-27T18:40:34.680750Z 2021-11-27T18:40:34Z Config file arg: bind="0.0.0.0:8333" + + 2021-11-27T18:40:34.680937Z 2021-11-27T18:40:34Z Config file arg: dbcache="2048" + + 2021-11-27T18:40:34.681164Z 2021-11-27T18:40:34Z Config file arg: disablewallet="0" + + 2021-11-27T18:40:34.681351Z 2021-11-27T18:40:34Z Config file arg: discardfee="0.0001" + + 2021-11-27T18:40:34.681555Z 2021-11-27T18:40:34Z Config file arg: listen="1" + + 2021-11-27T18:40:34.681741Z 2021-11-27T18:40:34Z Config file arg: maxmempool="300" + + 2021-11-27T18:40:34.681956Z 2021-11-27T18:40:34Z Config file arg: mempoolexpiry="336" + + 2021-11-27T18:40:34.682168Z 2021-11-27T18:40:34Z Config file arg: persistmempool="1" + + 2021-11-27T18:40:34.682380Z 2021-11-27T18:40:34Z Config file arg: rpcallowip="0.0.0.0/0" + + 2021-11-27T18:40:34.684147Z 2021-11-27T18:40:34Z Config file arg: rpcbind=**** + + 2021-11-27T18:40:34.690602Z 2021-11-27T18:40:34Z Config file arg: rpcpassword=**** + + 2021-11-27T18:40:34.691038Z 2021-11-27T18:40:34Z Config file arg: rpcserialversion="1" + + 2021-11-27T18:40:34.691281Z 2021-11-27T18:40:34Z Config file arg: rpcservertimeout="30" + + 2021-11-27T18:40:34.691610Z 2021-11-27T18:40:34Z Config file arg: rpcthreads="1" + + 2021-11-27T18:40:34.691903Z 2021-11-27T18:40:34Z Config file arg: rpcuser=**** + + 2021-11-27T18:40:34.692101Z 2021-11-27T18:40:34Z Config file arg: rpcworkqueue="16" + + 2021-11-27T18:40:34.692293Z 2021-11-27T18:40:34Z Config file arg: whitelist="172.18.0.0/16" + + 2021-11-27T18:40:34.692476Z 2021-11-27T18:40:34Z Config file arg: zmqpubrawblock="tcp://0.0.0.0:28332" + + 2021-11-27T18:40:34.692711Z 2021-11-27T18:40:34Z Config file arg: zmqpubrawtx="tcp://0.0.0.0:28333" + + 2021-11-27T18:40:34.692907Z 2021-11-27T18:40:34Z Command-line arg: conf="/root/.bitcoin/bitcoin.conf" + + 2021-11-27T18:40:34.693121Z 2021-11-27T18:40:34Z Command-line arg: datadir="/root/.bitcoin" + + 2021-11-27T18:40:34.693308Z 2021-11-27T18:40:34Z Command-line arg: externalip="qc2kmuxdpns7pbjwfffmbeu6rgy3rmkt5w6cuaid34m776kaxfwwdcqd.onion" + + 2021-11-27T18:40:34.693526Z 2021-11-27T18:40:34Z Command-line arg: onion="bitcoind.embassy:9050" + + 2021-11-27T18:40:34.693714Z 2021-11-27T18:40:34Z Using at most 125 automatic connections (1048576 file descriptors available) + + 2021-11-27T18:40:34.749113Z 2021-11-27T18:40:34Z Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements + + 2021-11-27T18:40:34.807657Z 2021-11-27T18:40:34Z Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements + + 2021-11-27T18:40:34.809293Z 2021-11-27T18:40:34Z Script verification uses 3 additional threads + + 2021-11-27T18:40:34.820032Z 2021-11-27T18:40:34Z scheduler thread start + + 2021-11-27T18:40:34.877830Z 2021-11-27T18:40:34Z WARNING: the RPC server is not safe to expose to untrusted networks such as the public internet + + 2021-11-27T18:40:34.878229Z 2021-11-27T18:40:34Z HTTP: creating work queue of depth 16 + + 2021-11-27T18:40:34.878503Z 2021-11-27T18:40:34Z Config options rpcuser and rpcpassword will soon be deprecated. Locally-run instances may remove rpcuser to use cookie-based auth, or may be replaced with rpcauth. Please see share/rpcauth for rpcauth auth generation. + + 2021-11-27T18:40:34.878738Z 2021-11-27T18:40:34Z HTTP: starting 1 worker threads + + 2021-11-27T18:40:34.880090Z 2021-11-27T18:40:34Z Using wallet directory /root/.bitcoin + + 2021-11-27T18:40:34.880616Z 2021-11-27T18:40:34Z init message: Verifying wallet(s)... + + 2021-11-27T18:40:34.881764Z 2021-11-27T18:40:34Z init message: Loading banlist... + + 2021-11-27T18:40:34.891297Z 2021-11-27T18:40:34Z SetNetworkActive: true + + 2021-11-27T18:40:34.899673Z 2021-11-27T18:40:34Z AddLocal(qc2kmuxdpns7pbjwfffmbeu6rgy3rmkt5w6cuaid34m776kaxfwwdcqd.onion:8333,4) + + 2021-11-27T18:40:34.900099Z 2021-11-27T18:40:34Z Using /16 prefix for IP bucketing + + 2021-11-27T18:40:34.901498Z 2021-11-27T18:40:34Z Cache configuration: + + 2021-11-27T18:40:34.901815Z 2021-11-27T18:40:34Z * Using 2.0 MiB for block index database + + 2021-11-27T18:40:34.902038Z 2021-11-27T18:40:34Z * Using 8.0 MiB for chain state database + + 2021-11-27T18:40:34.902245Z 2021-11-27T18:40:34Z * Using 2038.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space) + + 2021-11-27T18:40:34.902457Z 2021-11-27T18:40:34Z init message: Loading block index... + + 2021-11-27T18:40:34.902635Z 2021-11-27T18:40:34Z Switching active chainstate to Chainstate [ibd] @ height -1 (null) + + 2021-11-27T18:40:34.902839Z 2021-11-27T18:40:34Z Opening LevelDB in /root/.bitcoin/blocks/index + + 2021-11-27T18:40:34.952271Z 2021-11-27T18:40:34Z Opened LevelDB successfully + + 2021-11-27T18:40:34.952654Z 2021-11-27T18:40:34Z Using obfuscation key for /root/.bitcoin/blocks/index: 0000000000000000 + + 2021-11-27T18:40:39.284399Z Error updating blockchain info: error code: -28 + + 2021-11-27T18:40:39.284933Z error message: + + 2021-11-27T18:40:39.285236Z Loading block index... + + 2021-11-27T18:40:39.285572Z + + 2021-11-27T18:40:44.325367Z Error updating blockchain info: error code: -28 + + 2021-11-27T18:40:44.325882Z error message: + + 2021-11-27T18:40:44.326147Z Loading block index... + + 2021-11-27T18:40:44.326360Z + + 2021-11-27T18:40:49.349655Z Error updating blockchain info: error code: -28 + + 2021-11-27T18:40:49.350902Z error message: + + 2021-11-27T18:40:49.351237Z Loading block index... + + 2021-11-27T18:40:49.351585Z + + 2021-11-27T18:40:51.716756Z 2021-11-27T18:40:51Z LoadBlockIndexDB: last block file = 2303 + + 2021-11-27T18:40:51.805720Z 2021-11-27T18:40:51Z LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=84, size=109038969, heights=655105...655274, time=2020-11-02...2020-11-03) + + 2021-11-27T18:40:51.806295Z 2021-11-27T18:40:51Z Checking all blk files are present... + + 2021-11-27T18:40:52.673629Z 2021-11-27T18:40:52Z Opening LevelDB in /root/.bitcoin/chainstate + + 2021-11-27T18:40:54.376811Z Error updating blockchain info: error code: -28 + + 2021-11-27T18:40:54.378172Z error message: + + 2021-11-27T18:40:54.378488Z Loading block index... + + 2021-11-27T18:40:54.378806Z + + 2021-11-27T18:40:55.360312Z 2021-11-27T18:40:55Z Opened LevelDB successfully + + 2021-11-27T18:40:55.390938Z 2021-11-27T18:40:55Z Using obfuscation key for /root/.bitcoin/chainstate: 6731b1652378c561 + + 2021-11-27T18:40:55.393821Z 2021-11-27T18:40:55Z Replaying blocks + + 2021-11-27T18:40:55.394345Z 2021-11-27T18:40:55Z Rolling forward 00000000000000000001f4a3b8eb21beb2c90b4212cf103a90c1729546df81b0 (652597) + + 2021-11-27T18:40:59.408025Z Error updating blockchain info: error code: -28 + + 2021-11-27T18:40:59.409326Z error message: + + 2021-11-27T18:40:59.409632Z Loading block index... + + 2021-11-27T18:40:59.409876Z + + 2021-11-27T18:41:04.438347Z Error updating blockchain info: error code: -28 + + 2021-11-27T18:41:04.440537Z error message: + + 2021-11-27T18:41:04.441003Z Loading block index... + + 2021-11-27T18:41:04.441406Z`, data: null, }, ]