Skip to content

Stream sync: context deadline exceeded #4749

@Frozen

Description

@Frozen

Describe the bug
{"level":"error","port":"9000","ip":"127.0.0.1","module":"staged stream sync","ShardID":0,"error":"context deadline exceeded","streamID":"QmSAaTjhHWNF42A4xWLkmcwnmEJhatjbqMpv84HBxeNzkt","caller":"/Users/frozen/go/src/github.com/harmony-one/harmony/api/service/stagedstreamsync/syncing.go:520","time":"2024-09-03T13:45:10.258677-04:00","message":"[STAGED_STREAM_SYNC]: getCurrentNumber request failed"}

lib p2p stream being replaced with new one, but message is expected from old stream. Need to understand why new streams are created, while we already have connection.

To Reproduce
Steps to reproduce the behavior:

  1. Check out code with dev branch
  2. Build
  3. run make debug

Expected behavior
This error should never happen because it's localhost and no network issue are possible.

Metadata

Metadata

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