c4dt / d-voting

📧 E-Voting platform based on the Dela blockchain
https://dedis.github.io/d-voting
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Failure when lots of data to load #126

Closed ineiti closed 8 months ago

ineiti commented 8 months ago

This is a trace of the data.votes.10000.failed upon startup of the node:

dela-worker-1_1  | 2024-02-27T15:55:41Z INF ../../../go/pkg/mod/github.com/c4dt/dela@v0.0.0-20240227154447-29b601f17d2a/mino/minogrpc/mod.go:246 > public URL is: https://node.dela-1.c4dt.org:443
dela-worker-1_1  | 2024-02-27T15:55:41Z WRN ../../../go/pkg/mod/github.com/c4dt/dela@v0.0.0-20240227154447-29b601f17d2a/mino/minogrpc/mod.go:288 > ⚠️ running in insecure mode and no TLS endpoint, you should not publicly expose the node's socket without TLS
dela-worker-1_1  | 2024-02-27T15:55:41Z INF ../../../go/pkg/mod/github.com/c4dt/dela@v0.0.0-20240227154447-29b601f17d2a/mino/minogrpc/mod.go:336 > listening on: 0.0.0.0:2000
dela-worker-1_1  | 2024-02-27T15:55:41Z INF ../../../go/pkg/mod/github.com/c4dt/dela@v0.0.0-20240227154447-29b601f17d2a/mino/minogrpc/controller/mod.go:194 > mino[https://node.dela-1.c4dt.org:443] is running
dela-worker-1_1  | 2024-02-27T15:56:18Z DBG ../../../go/pkg/mod/github.com/c4dt/dela@v0.0.0-20240227154447-29b601f17d2a/core/ordering/cosipbft/fastsync/default.go:226 > Starting stream addr=https://node.dela-1.c4dt.org:443
dela-worker-1_1  | 2024-02-27T15:56:18Z DBG ../../../go/pkg/mod/github.com/c4dt/dela@v0.0.0-20240227154447-29b601f17d2a/core/ordering/cosipbft/fastsync/default.go:149 > Sending catchup req to {addrs:[{orchestrator:false host:node.dela-2.c4dt.org:443 connectionType:2} {orchestrator:false host:node.dela-4.c4dt.org:443 connectionType:2}]} addr=https://node.dela-1.c4dt.org:443
dela-worker-1_1  | 2024-02-27T15:56:18Z ERR ../../../go/pkg/mod/github.com/c4dt/dela@v0.0.0-20240227154447-29b601f17d2a/mino/minogrpc/session/mod.go:508 > relay closed unexpectedly error="rpc error: code = Unknown desc = handler 'fastsync' is not registered" addr=https://node.dela-1.c4dt.org:443 to=https://node.dela-2.c4dt.org:443
dela-worker-1_1  | 2024-02-27T15:56:18Z WRN ../../../go/pkg/mod/github.com/c4dt/dela@v0.0.0-20240227154447-29b601f17d2a/mino/minogrpc/session/mod.go:407 > relay failed to send error="client: rpc error: code = Unknown desc = handler 'fastsync' is not registered" addr=https://node.dela-1.c4dt.org:443
dela-worker-1_1  | 2024-02-27T15:56:18Z WRN ../../../go/pkg/mod/github.com/c4dt/dela@v0.0.0-20240227154447-29b601f17d2a/core/ordering/cosipbft/fastsync/default.go:156 > announcement failed to one node error="no route to https://node.dela-2.c4dt.org:443: address is unreachable" addr=https://node.dela-1.c4dt.org:443
dela-worker-1_1  | 2024-02-27T15:56:18Z DBG ../../../go/pkg/mod/github.com/c4dt/dela@v0.0.0-20240227154447-29b601f17d2a/core/ordering/cosipbft/fastsync/default.go:169 > Waiting for replies: 0 < 2 addr=https://node.dela-1.c4dt.org:443
dela-worker-1_1  | 2024-02-27T15:56:18Z INF ../../../go/pkg/mod/github.com/c4dt/dela@v0.0.0-20240227154447-29b601f17d2a/core/ordering/cosipbft/fastsync/default.go:187 > Got 0 fastsync blocks from https://node.dela-4.c4dt.org:443 addr=https://node.dela-1.c4dt.org:443
dela-worker-1_1  | 2024-02-27T15:56:18Z DBG ../../../go/pkg/mod/github.com/c4dt/dela@v0.0.0-20240227154447-29b601f17d2a/core/ordering/cosipbft/fastsync/default.go:169 > Waiting for replies: 1 < 2 addr=https://node.dela-1.c4dt.org:443
dela-worker-1_1  | 2024-02-27T15:56:38Z INF ../../../go/pkg/mod/github.com/c4dt/dela@v0.0.0-20240227154447-29b601f17d2a/core/ordering/cosipbft/cosipbft.go:481 > node has started following the chain addr=https://node.dela-1.c4dt.org:443
dela-worker-1_1  | 2024-02-27T15:56:38Z DBG ../../../go/pkg/mod/github.com/c4dt/dela@v0.0.0-20240227154447-29b601f17d2a/core/ordering/cosipbft/cosipbft.go:494 > node has started addr=https://node.dela-1.c4dt.org:443
dela-worker-1_1  | 2024-02-27T15:56:38Z DBG ../../../go/pkg/mod/github.com/c4dt/dela@v0.0.0-20240227154447-29b601f17d2a/core/ordering/cosipbft/cosipbft.go:556 > Starting a follower round with a 3600.0 seconds timeout addr=https://node.dela-1.c4dt.org:443
dela-worker-1_1  | 2024-02-27T15:56:38Z INF ../../../go/d-voting/cli/postinstall/mod.go:71 > using postinstalls
dela-worker-1_1  | 2024-02-27T15:56:38Z INF ../../../go/d-voting/services/shuffle/neff/controller/mod.go:110 > loading private key from "/data/node/private.key"
dela-worker-1_1  | 2024-02-27T15:56:38Z INF ../../../go/d-voting/services/shuffle/neff/controller/action.go:59 > The shuffle protocol has been initialized successfully
dela-worker-1_1  | 2024-02-27T15:56:38Z INF ../../../go/pkg/mod/github.com/c4dt/dela@v0.0.0-20240227154447-29b601f17d2a/mino/proxy/http/mod.go:81 > Client server is starting... role="http proxy"
dela-worker-1_1  | 2024-02-27T15:56:38Z INF ../../../go/pkg/mod/github.com/c4dt/dela@v0.0.0-20240227154447-29b601f17d2a/mino/proxy/http/mod.go:113 > Server is ready to handle requests at 0.0.0.0:8080 role="http proxy"
dela-worker-1_1  | 2024-02-27T15:56:39Z INF ../../../go/d-voting/cli/postinstall/mod.go:113 > started proxy server on 0.0.0.0:8080
dela-worker-1_1  | 2024-02-27T15:56:39Z DBG ../../../go/pkg/mod/github.com/c4dt/dela@v0.0.0-20240227154447-29b601f17d2a/core/txn/signed/signed.go:334 > manager synchronized nonce=10007
dela-worker-1_1  | 2024-02-27T15:56:39Z INF ../../../go/d-voting/contracts/evoting/controller/action.go:195 > d-voting proxy handlers registered
dela-worker-1_1  | 2024-02-27T15:56:39Z INF ../../../go/d-voting/services/dkg/pedersen/controller/action.go:295 > DKG handler registered
dela-worker-1_1  | 2024-02-27T15:56:39Z INF ../../../go/d-voting/services/shuffle/neff/controller/action.go:110 > DKG handler registered
dela-worker-1_1  | starting metric server on 127.0.0.1:0 /metrics
dela-worker-1_1  | registered prometheus service on "/metrics"
dela-worker-1_1  | 2024-02-27T15:56:41Z INF ../../../go/d-voting/metrics/controller/action.go:79 > prometheus server started at 127.0.0.1:36663
dela-worker-1_1  | couldn't start the daemon:
dela-worker-1_1  |     go.dedis.ch/dela/cli/node.(*CLIBuilder).start
dela-worker-1_1  |         /go/pkg/mod/github.com/c4dt/dela@v0.0.0-20240227154447-29b601f17d2a/cli/node/builder.go:208
dela-worker-1_1  |   - couldn't bind socket:
dela-worker-1_1  |     go.dedis.ch/dela/cli/node.(*socketDaemon).Listen
dela-worker-1_1  |         /go/pkg/mod/github.com/c4dt/dela@v0.0.0-20240227154447-29b601f17d2a/cli/node/daemon.go:103
dela-worker-1_1  |   - listen unix /data/node/daemon.sock: bind: address already in use
ineiti commented 8 months ago

That was using the main branch of dela.