Skip to content
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

ZMQ connection delay: tcp://127.0.0.1:28332 #31

Open
gnorbsl opened this issue Aug 2, 2018 · 4 comments
Open

ZMQ connection delay: tcp://127.0.0.1:28332 #31

gnorbsl opened this issue Aug 2, 2018 · 4 comments

Comments

@gnorbsl
Copy link

gnorbsl commented Aug 2, 2018

Hi,

my Console is spammed with those messages and I can't figure out why.

[2018-08-02T11:21:19.108Z] info: Using config: /home/dash/.dashcore/dashcore-node.json
[2018-08-02T11:21:19.109Z] info: Using network: livenet
[2018-08-02T11:21:19.110Z] info: Starting dashd
[2018-08-02T11:21:19.141Z] info: Dash Daemon Ready
[2018-08-02T11:21:19.141Z] info: Starting web
[2018-08-02T11:21:19.152Z] info: Dashcore Node ready
[2018-08-02T11:21:19.635Z] warn: ZMQ connection delay: tcp://127.0.0.1:28332
[2018-08-02T11:21:19.636Z] warn: ZMQ connection delay: tcp://127.0.0.1:28332
[2018-08-02T11:21:19.636Z] warn: ZMQ connection delay: tcp://127.0.0.1:28332
[2018-08-02T11:21:19.636Z] warn: ZMQ connection delay: tcp://127.0.0.1:28332
[2018-08-02T11:21:20.137Z] warn: ZMQ connection delay: tcp://127.0.0.1:28332
[2018-08-02T11:21:20.137Z] warn: ZMQ connection delay: tcp://127.0.0.1:28332
[2018-08-02T11:21:20.137Z] warn: ZMQ connection delay: tcp://127.0.0.1:28332
[2018-08-02T11:21:20.638Z] warn: ZMQ connection delay: tcp://127.0.0.1:28332
[2018-08-02T11:21:20.638Z] warn: ZMQ connection delay: tcp://127.0.0.1:28332

My dashcore-node.json:

{
  "network": "livenet",
  "port": 3001,
  "services": [
    "dashd",
    "web"
  ],
  "servicesConfig": {
    "dashd": {
      "connect": [
        {
          "rpchost": "127.0.0.1",
          "rpcport": 9998,
          "rpcuser": "dash",
          "rpcpassword": "rpcpassword",
          "zmqpubrawtx": "tcp://127.0.0.1:28332"
        }
      ]
    }
  }
}

my dash.conf:

testnet=0
disablewallet=1
printtoconsole=1
rpcuser=dash
rpcpassword=rpcpassword
rpcbind=0.0.0.0
@snogcel
Copy link

snogcel commented Aug 6, 2018

Hello,

This isn't well-documented currently as the setup/configuration of dash.conf used to be automated by the installation process. In order for Bitcore to receive ZMQ notifications from the Dash Core Daemon (dashd) the following needs to be included in dash.conf:

zmqpubrawtx=tcp://127.0.0.1:28332

This will enable ZMQ notifications and also configures the port that they are published on. Please give this a try and let me know if this fixes the problem.

@vladislavmamchich
Copy link

Hi, I've searched a lot but could not find a solution for this. Anyone have a suggestion how to get it work?

@jwaugh
Copy link

jwaugh commented Dec 11, 2018

Another person having this issue over here.

@gnorbsl
Copy link
Author

gnorbsl commented Dec 11, 2018

For everyone with this issue try this:

first install zmq: http://zeromq.org/intro:get-the-software

and add this to your dash.conf:

zmqpubrawtx=tcp://127.0.0.1:28332
zmqpubhashblock=tcp://127.0.0.1:28332

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants