Error: Connection Attempt Failed

Discussion in 'Questions' started by neoci, Jul 9, 2017.

Tags:
  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. neoci

    neoci New Member

    Jul 9, 2017
    2
    0
    Asia
    Hi,
    Thanks to this youtube, I have set up all the things somehow and started PoS mining yesterday. So, it was good. But this morning, it seems something wrong with it. Does anyone help me to solve the issue please?
    I tried other command. It seems to be ./dcrctl --wallet getbalance is working (replied numbers), while ./dcrctl --wallet getstakeinfo replied nothing (told me "-1: Chain RPC is inactive).

    I'm not very familiar with technology things, so I might be asking very stupid question though...

    I'm using Mac Book Air, and the file I installed yesterday was "dcrinstall-darwin-amd64-v1.0.5".

    Below messages are copied and pasted from Terminal.
    MacBook-Air:decred mypc$ ./dcrwallet --walletpass ***** --promptpass

    2017-07-09 15:40:37.602 [INF] BTCW: Version 1.0.5+release (Go version go1.8.3)

    2017-07-09 15:40:38.841 [INF] WLLT: Opened wallet

    Enter private passphrase:

    2017-07-09 15:42:04.980 [INF] WLLT: The wallet has been unlocked without a time limit

    2017-07-09 15:42:05.752 [INF] RPCS: Listening on [::1]:9110

    2017-07-09 15:42:05.751 [INF] BTCW: gRPC server listening on 127.0.0.1:9111

    2017-07-09 15:42:05.751 [INF] BTCW: gRPC server listening on [::1]:9111

    2017-07-09 15:42:05.752 [INF] RPCS: Listening on 127.0.0.1:9110

    2017-07-09 15:42:05.752 [INF] BTCW: Attempting RPC client connection to localhost:9109

    2017-07-09 15:42:05.754 [ERR] CHNS: Connection attempt failed: dial tcp [::1]:9109: getsockopt: connection refused

    2017-07-09 15:42:10.757 [ERR] CHNS: Connection attempt failed: dial tcp [::1]:9109: getsockopt: connection refused
     
  2. davecgh

    davecgh Hero Member
    Developer Organizer

    Dec 31, 2015
    642
    788
    Male
    United States
    This means that you don't also have dcrd running. The wallet relies on being able to talk to the chain server (aka dcrd).
     
    neoci likes this.
  3. neoci

    neoci New Member

    Jul 9, 2017
    2
    0
    Asia
    Oh you hit the point! Thank you for asking to my silly question. It worked!!
     
  4. Lunge

    Lunge New Member

    Sep 23, 2017
    1
    0
    Male
    Canada
    I'm also having this issue but I do have dcrd running dcrd.png
     

Share This Page