-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preview testnet error for cardano-wallet #3722
Comments
👀 |
Solved. After running sync for a while this error resolved
…On Mon, 6 Feb 2023 at 15:34, HarshitJoshi ***@***.***> wrote:
👀
—
Reply to this email directly, view it on GitHub
<#3722 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGP3GZPDIVYKXR6ENUKLM3WWEDZDANCNFSM6AAAAAAULSZTDI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
How long though - I've been running it for 3 days now via docker (using the docker-compose.yml here on the
I still am able to see the same error output as you mentioned above:
Environment details:
|
Hmm … actually if you query it should work and all normal functionality of
wallet is ok … should resolve eventually … I think should not take that
long ..
…On Mon, 6 Feb 2023 at 15:50, HarshitJoshi ***@***.***> wrote:
How long though - I've been running it for 3 days now via docker (using
the docker-compose.yml here
<https://github.com/input-output-hk/cardano-wallet/blob/master/docker-compose.yml>
on the preview network):
$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
624087737f8b inputoutput/cardano-wallet:2022.12.14 "bash -c ' ([[ $NETW…" 3 days ago Up 3 days 0.0.0.0:8090->8090/tcp, :::8090->8090/tcp cardano-cardano-wallet-1
143cae978717 inputoutput/cardano-node:1.35.5 "entrypoint" 3 days ago Up 3 days cardano-cardano-node-1
I still am able to see the same error output as you mentioned above:
[cardano-wallet.network:Warning:17] [2023-02-06 14:42:38.48 UTC] Delegation Rewards node client: Couldn't connect to node (x51570). Retrying in a bit...
[cardano-wallet.network:Warning:17] [2023-02-06 14:42:41.49 UTC] Delegation Rewards node client: Node connection lost because of the mux error (MuxBearerClosed): <socket: 14> closed when reading data, waiting on next header True
[cardano-wallet.network:Warning:17] [2023-02-06 14:42:43.49 UTC] Delegation Rewards node client: Couldn't connect to node (x51571). Retrying in a bit...
$ curl http://localhost:8090/v2/network/information | python3 -m json.tool
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 486 0 486 0 0 195k 0 --:--:-- --:--:-- --:--:-- 474k
{
"network_info": {
"network_id": "testnet",
"protocol_magic": 2
},
"network_tip": {
"absolute_slot_number": 9038650,
"epoch_number": 104,
"slot_number": 53050,
"time": "2023-02-06T14:44:10Z"
},
"next_epoch": {
"epoch_number": 105,
"epoch_start_time": "2023-02-07T00:00:00Z"
},
"node_era": "babbage",
"node_tip": {
"absolute_slot_number": 9038640,
"epoch_number": 104,
"height": {
"quantity": 419291,
"unit": "block"
},
"slot_number": 53040,
"time": "2023-02-06T14:44:00Z"
},
"sync_progress": {
"status": "ready"
},
"wallet_mode": "node"
}
Environment details:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
$ uname -a
Linux Cardano-Testnet 5.15.0-58-generic #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
—
Reply to this email directly, view it on GitHub
<#3722 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGP3G5RXP7AVBLT75DSOR3WWEFSXANCNFSM6AAAAAAULSZTDI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@HarshitJoshi despite the warnings in the logs your wallet appears to be fully synced and operational:
Note that in case that wallet loses connection to the node (via node socket) it attemps to reconnect. Do you see any other issue with the wallet despite the warnings in the log? |
As you both have mentioned, both the wallet and the node are completely functional. Although, I would still like to understand how to get rid of these warnings altogether for a clean state (without any warning regarding disconnects), perhaps, I'm missing some configuration field or the configuration itself is incorrect? As @nilaysaha mentioned, these warnings eventually go away after a while but there has to be a reason for these, to begin with. Losing connection to the node (via node socket) every 2sec doesn't look right. |
This issue was resolved after I deleted the unused wallets. It is possible that there are too many synchronized wallets leading to reduced performance |
Just checking...
cardano-wallet
bug.cardano-wallet
release.cardano-node
version for that release ofcardano-wallet
.Version
v2022-12-14 (git revision: bbf11d4)
Platform
Linux nft-srv-1 5.4.0-66-generic #74-Ubuntu SMP Wed Jan 27 22:54:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Installation method
Binary from GitHub release page
Network configuration
preview testnet
Context
No response
Description
Steps to Reproduce
Run the following script:
CARDANO_WALLET="$HOME//cardano-wallet"
CONFIG_FILE="$HOME//preview/byron-genesis.json"
DB_DIR="$HOME/wallets/db"
SOCKET="$HOME//node.socket"
$CARDANO_WALLET serve --port 8090 --testnet $CONFIG_FILE --database $DB_DIR --node-socket $SOCKET
Replace the variables as you need in your local env.
Expected behavior
Should have run without error.
Actual behavior
[cardano-wallet.network:Warning:17] [2023-01-30 20:12:30.57 UTC] Delegation Rewards node client: Node connection lost because of the mux error (MuxBearerClosed): <socket: 14> closed when reading data, waiting on next header True
Jan 30 21:12:31 nft-srv-1 start_cw_local_node.sh[2339735]: [cardano-wallet.network:Warning:17] [2023-01-30 20:12:31.08 UTC] Delegation Rewards node client: Couldn't connect to node (x4). Retrying in a bit...
The text was updated successfully, but these errors were encountered: