Giter VIP home page Giter VIP logo

Comments (7)

HarshitJoshi avatar HarshitJoshi commented on July 17, 2024

πŸ‘€

from cardano-wallet.

nilaysaha avatar nilaysaha commented on July 17, 2024

from cardano-wallet.

HarshitJoshi avatar HarshitJoshi commented on July 17, 2024

How long though - I've been running it for 3 days now via docker (using the docker-compose.yml here 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

from cardano-wallet.

nilaysaha avatar nilaysaha commented on July 17, 2024

from cardano-wallet.

piotr-iohk avatar piotr-iohk commented on July 17, 2024

@HarshitJoshi despite the warnings in the logs your wallet appears to be fully synced and operational:

$ curl http://localhost:8090/v2/network/information
...
    "sync_progress": {
        "status": "ready"
    },

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?

from cardano-wallet.

HarshitJoshi avatar HarshitJoshi commented on July 17, 2024

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.
*Edit - Happy to share any further configuration details/environment details but as mentioned, I'm running both of these components via docker utilizing the boiler plate docker-compose.yml file in the repo.

from cardano-wallet.

hiiamtrong avatar hiiamtrong commented on July 17, 2024

This issue was resolved after I deleted the unused wallets. It is possible that there are too many synchronized wallets leading to reduced performance

from cardano-wallet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.