fairDataSociety / fdp-play

Orchestration CLI for spinning up local development Bee cluster and FDP environment with Docker
BSD 3-Clause "New" or "Revised" License
12 stars 5 forks source link

Timeout while uploading chunks to the chunks endpoint #107

Open Aviksaikat opened 9 months ago

Aviksaikat commented 9 months ago

As per the docs uploading chunks is not returning anything and is stuck for hours. I have tried to run the test from bee-js as well but same result.

IgorShadurin commented 9 months ago

Version: v3.0.0, bee: 1.17. Confirm the stuck for the code:

  const topicHash = bmtHashString(topic)
  const id = getId(topicHash, epoch.time, epoch.level)
  const socWriter = connection.bee.makeSOCWriter(wallet.privateKey)

  return socWriter.upload(connection.postageBatchId, id, data)