Git Product home page Git Product logo

Comments (5)

erikzhang avatar erikzhang commented on June 30, 2024

The latest version has fixed the bug.
https://github.com/neo-project/neo-cli/releases

from neo-node.

nengine avatar nengine commented on June 30, 2024

Hi Thanks a lot, I am using latest version 2.3.2 and would not get previous errors anymore but nothing seems to be happening with all four nodes. How long would it take for these nodes to start communicating?

neo>start consensus
[15:11:25] OnStart
[15:11:25] initialize: height=1 view=0 index=2 role=Backup
[15:11:53] OnChangeViewReceived: height=1 view=0 index=0 nv=1
[15:11:55] timeout: height=1 view=0 state=Backup
[15:11:55] request change view: height=1 view=0 nv=1 state=Backup, ViewChanging
[15:12:52] OnChangeViewReceived: height=1 view=0 index=0 nv=2
[15:12:55] timeout: height=1 view=0 state=Backup, ViewChanging
[15:12:55] request change view: height=1 view=0 nv=2 state=Backup, ViewChanging
show state
Height: 0/0, Nodes: 1
15:14:52] OnChangeViewReceived: height=1 view=0 index=0 nv=3
[15:14:55] timeout: height=1 view=0 state=Backup, ViewChanging
[15:14:55] request change view: height=1 view=0 nv=3 state=Backup, ViewChanging

from neo-node.

nengine avatar nengine commented on June 30, 2024

Hi Sorry, After a while I'm still getting the same errors with version 2.3.2. I have firewall open for ports 10331:10334. Any other ports must be opened?

neo>start consensus
[11:34:00] OnStart
[11:34:00] initialize: height=1 view=0 index=3 role=Backup
[11:34:31] timeout: height=1 view=0 state=Backup
[11:34:31] request change view: height=1 view=0 nv=1 state=Backup, ViewChanging
[11:35:31] timeout: height=1 view=0 state=Backup, ViewChanging
[11:35:31] request change view: height=1 view=0 nv=2 state=Backup, ViewChanging
[11:35:35] OnChangeViewReceived: height=1 view=1 index=2 nv=2
[11:35:44] OnChangeViewReceived: height=1 view=0 index=0 nv=1
show state
Height: 0/4002, Nodes: 2
show node
::ffff:162.243.8.59 port:54619 listen:10333 [1/2]
::ffff:162.243.192.197 port:43796 listen:0 [2/2]
[11:36:43] OnChangeViewReceived: height=1 view=0 index=0 nv=2
[11:36:43] initialize: height=1 view=2 index=3 role=Primary
[11:36:43] timeout: height=1 view=2 state=Primary
[11:36:43] send perpare request: height=1 view=2

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at Neo.Consensus.ConsensusService.OnTimeout(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.TimerQueueTimer.CallCallback()
   at System.Threading.TimerQueueTimer.Fire()
   at System.Threading.TimerQueue.FireNextTimers()
Aborted (core dumped)

from neo-node.

erikzhang avatar erikzhang commented on June 30, 2024

image
It seems that you have connect to the NEO mainnet or testnet and have got some data from it.
Try to remove Chain directory and modify protocol.json and change the Magic number to create a new network for your private chain.

from neo-node.

nengine avatar nengine commented on June 30, 2024

Yes, That was it. Many thanks. In what situation private chain would be more useful as supposed to using main NEO blockchain?

from neo-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.