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

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

Open
marijnv2000 opened this issue Apr 29, 2018 · 1 comment

Comments

@marijnv2000
Copy link

marijnv2000 commented Apr 29, 2018

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=*******
@ghost
Copy link

ghost commented May 3, 2018

I have the same problem. It's the only reason my full node setup is not stable at the moment.

I run nelson in Terminal (latest Java 10.0.1, nodejs 10.0) with Ubuntu Desktop 17.10.
It runs mostly fine for a few days, but then there's always a moment that it randomly crashes (it shows "Unhandled Rejection at: Promise Promise { undefined } reason: undefined" on top, mostly twice).

Then Nelson doesn't connect to neighbors anymore, resulting in 0 neighbors and an unsynced node.

I really hope this problem will be resolved. Regards.

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

1 participant