umbrel-apps icon indicating copy to clipboard operation
umbrel-apps copied to clipboard

Elements Core Issue

Open yshwanth opened this issue 1 year ago • 5 comments

Umbrel version: 0.5.4

Error: There was an error connecting to Elements Core. Error code: ECONNRESET

yshwanth avatar Dec 23 '23 13:12 yshwanth

elements

Attaching to elements_web_1, elements_tor_1, elements_app_proxy_1, elements_node_1
app_proxy_1  | Validating token: 6420677c6a91 ...
app_proxy_1  | [HPM] Error occurred while proxying request umbrel.local:3042/ to http://elements_web_1:8080/ [ECONNRESET] (https://nodejs.org/api/errors.html#errors_common_system_errors)
app_proxy_1  | Validating token: 6420677c6a91 ...
app_proxy_1  | [HPM] Error occurred while proxying request umbrel.local:3042/ to http://elements_web_1:8080/ [ECONNRESET] (https://nodejs.org/api/errors.html#errors_common_system_errors)
app_proxy_1  | Validating token: 6420677c6a91 ...
app_proxy_1  | [HPM] Error occurred while proxying request umbrel.local:3042/ to http://elements_web_1:8080/ [ECONNRESET] (https://nodejs.org/api/errors.html#errors_common_system_errors)
app_proxy_1  | Validating token: 6420677c6a91 ...
app_proxy_1  | [HPM] Error occurred while proxying request umbrel.local:3042/ to http://elements_web_1:8080/ [ECONNRESET] (https://nodejs.org/api/errors.html#errors_common_system_errors)
app_proxy_1  | Validating token: 6420677c6a91 ...
app_proxy_1  | [HPM] Error occurred while proxying request umbrel.local:3042/ to http://elements_web_1:8080/ [ECONNRESET] (https://nodejs.org/api/errors.html#errors_common_system_errors)
node_1       | 2023-12-23T18:03:37Z Opened LevelDB successfully
node_1       | 2023-12-23T18:03:37Z Using obfuscation key for /home/elements/.elements/liquidv1/indexes/blockfilter/basic/db: 0000000000000000
node_1       | 2023-12-23T18:03:37Z Unsetting NODE_NETWORK on prune mode
node_1       | 2023-12-23T18:03:37Z basic block filter index thread start
node_1       | 2023-12-23T18:03:37Z basic block filter index is enabled
node_1       | 2023-12-23T18:03:37Z init message: Pruning blockstore…
node_1       | 2023-12-23T18:03:37Z basic block filter index thread exit
node_1       | 2023-12-23T18:03:37Z Unsetting NODE_NETWORK_LIMITED on header trim mode
node_1       | 2023-12-23T18:03:37Z loadblk thread start
node_1       | elementsd: ./chain.h:239: void CBlockIndex::assert_untrimmed() const: Assertion `!m_trimmed' failed.
web_1        | 2023/12/23 17:54:06 jsonrpc: -28: Loading block index…
web_1        | 2023/12/23 17:54:08 Listening on http://localshot:8080
web_1        | 2023/12/23 17:56:28 jsonrpc: Post "http://elements_node_1:7041": dial tcp 10.21.0.6:7041: connect: connection refused
web_1        | 2023/12/23 17:56:30 Listening on http://localshot:8080
web_1        | 2023/12/23 17:56:30 jsonrpc: -28: Loading block index…
web_1        | 2023/12/23 17:56:32 Listening on http://localshot:8080
web_1        | 2023/12/23 17:56:33 jsonrpc: -28: Loading block index…
web_1        | 2023/12/23 17:56:35 Listening on http://localshot:8080
web_1        | 2023/12/23 18:01:38 jsonrpc: -28: Loading block index…
web_1        | 2023/12/23 18:01:40 Listening on http://localshot:8080
tor_1        | Dec 23 17:51:42.000 [notice] Bootstrapped 55% (loading_descriptors): Loading relay descriptors
tor_1        | Dec 23 17:51:44.000 [notice] Bootstrapped 63% (loading_descriptors): Loading relay descriptors
tor_1        | Dec 23 17:51:44.000 [notice] Bootstrapped 70% (loading_descriptors): Loading relay descriptors
tor_1        | Dec 23 17:51:45.000 [notice] Bootstrapped 75% (enough_dirinfo): Loaded enough directory info to build circuits
tor_1        | Dec 23 17:51:45.000 [notice] Bootstrapped 80% (ap_conn): Connecting to a relay to build circuits
tor_1        | Dec 23 17:51:46.000 [notice] Bootstrapped 85% (ap_conn_done): Connected to a relay to build circuits
tor_1        | Dec 23 17:51:46.000 [notice] Bootstrapped 89% (ap_handshake): Finishing handshake with a relay to build circuits
tor_1        | Dec 23 17:51:47.000 [notice] Bootstrapped 90% (ap_handshake_done): Handshake finished with a relay to build circuits
tor_1        | Dec 23 17:51:47.000 [notice] Bootstrapped 95% (circuit_create): Establishing a Tor circuit
tor_1        | Dec 23 17:51:48.000 [notice] Bootstrapped 100% (done): Done

yshwanth avatar Dec 23 '23 18:12 yshwanth

Seems that it is just the app-proxy that is the issue fortunately, not the app itself. Can you please try these steps to try resolve this first:

  1. Open a terminal window on your computer. On macOS, you can open the Terminal app that’s installed by default on every Mac. On Windows, you can open Command Prompt or the PowerShell app.
  2. SSH into your Umbrel instance by typing in the following commandssh -t [email protected]and press the Enter key
  3. Run sudo ~/umbrel/scripts/app restart elements

smolgrrr avatar Jan 02 '24 10:01 smolgrrr

I done above steps but still same issue , its because of sudden power off due initial IBD(initial block data) of liquid

yshwanth avatar Jan 03 '24 15:01 yshwanth


elements

Attaching to elements_web_1, elements_tor_server_1, elements_app_proxy_1, elements_node_1, elements_tor_1
node_1        | 2024-01-03T17:21:48Z * Using 2.0 MiB for block index database
node_1        | 2024-01-03T17:21:48Z * Using 56.0 MiB for transaction index database
node_1        | 2024-01-03T17:21:48Z * Using 49.0 MiB for basic block filter index database
node_1        | 2024-01-03T17:21:48Z * Using 8.0 MiB for chain state database
node_1        | 2024-01-03T17:21:48Z * Using 335.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space)
node_1        | 2024-01-03T17:21:48Z init message: Loading block index…
node_1        | 2024-01-03T17:21:48Z Switching active chainstate to Chainstate [ibd] @ height -1 (null)
node_1        | 2024-01-03T17:21:48Z Opening LevelDB in /home/elements/.elements/liquidv1/blocks/index
node_1        | 2024-01-03T17:21:48Z Opened LevelDB successfully
node_1        | 2024-01-03T17:21:48Z Using obfuscation key for /home/elements/.elements/liquidv1/blocks/index: 0000000000000000
app_proxy_1   | [HPM] Proxy created: /  -> http://elements_web_1:8080
app_proxy_1   | Waiting for elements_web_1:8080 to open...
app_proxy_1   | Elements Core is now ready...
app_proxy_1   | Listening on port: 3042
app_proxy_1   | Validating token: a6f153250f8a ...
app_proxy_1   | [HPM] Error occurred while proxying request umbrel.local:3042/ to http://elements_web_1:8080/ [ECONNRESET] (https://nodejs.org/api/errors.html#errors_common_system_errors)
app_proxy_1   | Validating token: a6f153250f8a ...
app_proxy_1   | [HPM] Error occurred while proxying request umbrel.local:3042/ to http://elements_web_1:8080/ [ECONNRESET] (https://nodejs.org/api/errors.html#errors_common_system_errors)
app_proxy_1   | Validating token: a6f153250f8a ...
app_proxy_1   | [HPM] Error occurred while proxying request umbrel.local:3042/ to http://elements_web_1:8080/ [ECONNRESET] (https://nodejs.org/api/errors.html#errors_common_system_errors)
tor_1         | Jan 03 15:26:25.000 [notice] Bootstrapped 60% (loading_descriptors): Loading relay descriptors
tor_1         | Jan 03 15:26:26.000 [notice] Bootstrapped 66% (loading_descriptors): Loading relay descriptors
tor_1         | Jan 03 15:26:26.000 [notice] Bootstrapped 71% (loading_descriptors): Loading relay descriptors
tor_1         | Jan 03 15:26:27.000 [notice] Bootstrapped 75% (enough_dirinfo): Loaded enough directory info to build circuits
tor_1         | Jan 03 15:26:28.000 [notice] Bootstrapped 80% (ap_conn): Connecting to a relay to build circuits
tor_1         | Jan 03 15:26:28.000 [notice] Bootstrapped 85% (ap_conn_done): Connected to a relay to build circuits
tor_1         | Jan 03 15:26:28.000 [notice] Bootstrapped 89% (ap_handshake): Finishing handshake with a relay to build circuits
tor_1         | Jan 03 15:26:28.000 [notice] Bootstrapped 90% (ap_handshake_done): Handshake finished with a relay to build circuits
tor_1         | Jan 03 15:26:28.000 [notice] Bootstrapped 95% (circuit_create): Establishing a Tor circuit
tor_1         | Jan 03 15:26:29.000 [notice] Bootstrapped 100% (done): Done
web_1         | 2024/01/03 15:26:00 Listening on http://localshot:8080
web_1         | 2024/01/03 15:28:09 jsonrpc: -28: Loading block index…
web_1         | 2024/01/03 15:28:11 Listening on http://localshot:8080
web_1         | 2024/01/03 15:28:11 jsonrpc: -28: Loading block index…
web_1         | 2024/01/03 15:28:13 Listening on http://localshot:8080
web_1         | 2024/01/03 17:21:09 jsonrpc: -28: Loading block index…
web_1         | 2024/01/03 17:21:10 Listening on http://localshot:8080

yshwanth avatar Jan 03 '24 17:01 yshwanth

Does it not restore session ibd that has downloaded previously ? I need to update on these issue @smolgrrr

yshwanth avatar Jan 11 '24 04:01 yshwanth

Hi @yshwanth, if you are still having issues with your Elements Core instance can you please reach out to us on our official support channel through our website? https://umbrel.com/

nmfretz avatar Jun 11 '24 04:06 nmfretz