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

Running nelson with docker-compose #53

Open
MatthiasLohr opened this issue Feb 14, 2018 · 1 comment
Open

Running nelson with docker-compose #53

MatthiasLohr opened this issue Feb 14, 2018 · 1 comment

Comments

@MatthiasLohr
Copy link

MatthiasLohr commented Feb 14, 2018

Hello,

i'm trying to run nelson with docker-compose, but nelson fails to connecting to iri.

Expected behaviour

Nelson connects to iri.

Actual behaviour

Nelson does not connect to iri. Logs:

$ docker-compose up                                                                                                                                                                                                                               [14:53:59]
Recreating iotanet_iri_1 ... done
Recreating iotanet_nelson_1 ... done
Attaching to iotanet_iri_1, iotanet_nelson_1
iri_1     | 02/14 13:54:07.415 [main] INFO  com.iota.iri.IRI - Remote access enabled. Binding API socket to listen any interface.
iri_1     | 02/14 13:54:07.430 [main] INFO  com.iota.iri.IRI - Welcome to IRI 1.4.2.1
nelson_1  | 13:54:09.520	16600::IRI   IRI not ready on iri:14265, retrying...
nelson_1  | 13:54:14.535	16600::IRI   IRI not ready on iri:14265, retrying...
nelson_1  | 13:54:19.545	16600::IRI   IRI not ready on iri:14265, retrying...
iri_1     | 02/14 13:54:23.746 [main] INFO  c.i.i.s.r.RocksDBPersistenceProvider - Initializing Database Backend... 
iri_1     | 02/14 13:54:24.283 [main] INFO  c.i.i.s.r.RocksDBPersistenceProvider - RocksDB persistence provider initialized.
iri_1     | 02/14 13:54:24.334 [main] INFO  com.iota.iri.network.UDPReceiver - UDP replicator is accepting connections on udp port 14777
iri_1     | 02/14 13:54:24.344 [UDP receiving thread] INFO  com.iota.iri.network.UDPReceiver - Spawning Receiver Thread
iri_1     | 02/14 13:54:24.345 [UDP receiving thread] INFO  com.iota.iri.network.UDPReceiver - Receiver thread processed/dropped ratio: 0/0
iri_1     | 02/14 13:54:24.347 [main] INFO  c.i.i.network.replicator.Replicator - Started ReplicatorSourcePool
iri_1     | 02/14 13:54:24.369 [Thread-2] INFO  c.i.i.n.r.ReplicatorSourcePool - TCP replicator is accepting connections on tcp port 15777
iri_1     | 02/14 13:54:24.385 [pool-2-thread-1] INFO  com.iota.iri.network.Node - Spawning Broadcaster Thread
nelson_1  | 13:54:24.554	16600::IRI   IRI not ready on iri:14265, retrying...
iri_1     | 02/14 13:54:25.022 [pool-2-thread-5] INFO  com.iota.iri.network.Node - Spawning Reply To Request Thread
iri_1     | 02/14 13:54:25.032 [pool-2-thread-2] INFO  com.iota.iri.network.Node - Spawning Tips Requester Thread
iri_1     | 02/14 13:54:25.032 [pool-2-thread-4] INFO  com.iota.iri.network.Node - Spawning Process Received Data Thread
iri_1     | 02/14 13:54:25.032 [pool-2-thread-3] INFO  com.iota.iri.network.Node - Spawning Neighbor DNS Refresher Thread
iri_1     | 02/14 13:54:25.035 [pool-2-thread-3] INFO  com.iota.iri.network.Node - Checking Neighbors' Ip...
iri_1     | 02/14 13:54:25.036 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 0 , toBroadcast = 0 , toRequest = 0 , toReply = 0 / totalTransactions = 0
nelson_1  | 13:54:29.566	16600::IRI   IRI not ready on iri:14265, retrying...
nelson_1  | 13:54:34.574	16600::IRI   IRI not ready on iri:14265, retrying...
iri_1     | 02/14 13:54:35.037 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 0 , toBroadcast = 0 , toRequest = 0 , toReply = 0 / totalTransactions = 0
nelson_1  | 13:54:39.581	16600::IRI   IRI not ready on iri:14265, retrying...
nelson_1  | 13:54:44.585	16600::IRI   IRI not ready on iri:14265, retrying...
iri_1     | 02/14 13:54:44.642 [main] INFO  com.iota.iri.IRI - IOTA Node initialised correctly.
iri_1     | 02/14 13:54:45.041 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 0 , toBroadcast = 0 , toRequest = 0 , toReply = 0 / totalTransactions = 0
nelson_1  | 13:54:49.675	16600::IRI   IRI not ready on iri:14265, retrying...
nelson_1  | 13:54:54.685	16600::IRI   IRI not ready on iri:14265, retrying...
iri_1     | 02/14 13:54:55.043 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 0 , toBroadcast = 0 , toRequest = 0 , toReply = 0 / totalTransactions = 0
[...]

Steps to reproduce

Use my docker compose file:

version: '3'

services:
  iri:
    image: iotaledger/iri
    ports:
      - "14265:14265"
      - "14777:14777"
      - "15777:15777"
  nelson:
    image: romansemko/nelson.cli
    command: -r iri -i 14265 -u 14777 -t 15777 --neighbors "mainnet.deviota.com/16600 mainnet2.deviota.com/16600 mainnet3.deviota.com/16600 iotairi.tt-tec.net/16600"
    ports:
      - "16600:16600"

Basic Info

  • Operating System: Ubuntu 16.04
  • Node (npm) Version: v8.9.4 (5.6.0)
  • IRI Version: 1.4.2.1
  • Nelson version: 0.4.0

Nelson Info

  • Epoch: N.A.
  • Cycle: N.A.
  • Connected peers: N.A.
@antonionardella
Copy link

Hi, take a look to my docker-compose here: https://github.com/ioiobzit/iota-nelson-node

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

2 participants