Skip to content

Nelson drops all peers: Unhandled Rejection at: Promise Promise { <rejected> undefined } reason: undefined #64

@marijnv2000

Description

@marijnv2000

Expected behaviour

Nelson connected with peers continuously

Actual behaviour

Nelson drops all my peers after hours, doesn't reconnect with any of them

Steps to reproduce

Start nelson with screen -S nelson nelson --config ~/config.ini

Basic Info

  • Operating System: Ubuntu Server 16.04
  • Node (npm) Version:
$ node -v
v8.11.1
$ npm -v
5.6.0
atverm@iota:~$

  • IRI Version: 1.4.2.2
  • Nelson version: 0.4.0

Nelson Info

  • Epoch: Unknown
  • Cycle: Unknown
  • Connected peers: 0

Nelson works fine, until after a few hours (around 6? hours) it drops all peers, displaying: Unhandled Rejection at: Promise Promise { <rejected> undefined } reason: undefined in the left top corner of the gui. All the gui shows while in this state is that it's dropping connections, and Nelson doesn't connect to any peers until restarted.

Nelson config:

[nelson]
name = *****
cycleInterval = 60
epochInterval = 300
apiPort = 18600
apiHostname = 127.0.0.1
port = 16600
IRIHostname = localhost
IRIProtocol = any
IRIPort = 14265
TCPPort = 15600
UDPPort = 14600
dataPath = data/neighbors.db
; maximal incoming connections. Please do not set below this limit:
incomingMax = 10
; maximal outgoing connections. Only set below this limit, if you have trusted, manual neighbors:
outgoingMax = 10
isMaster = false
silent = false
gui = true
getNeighbors = https://raw.githubusercontent.com/SemkoDev/nelson.cli/master/ENTRYNODES
; add as many initial Nelson neighbors, as you like
neighbors[] = mainnet.deviota.com/16600
neighbors[] = mainnet2.deviota.com/16600
neighbors[] = mainnet3.deviota.com/16600
neighbors[] = iotairi.tt-tec.net/16600

; Protect API with basic auth
[nelson.apiAuth]
username=******
password=*******

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions