Skip to content

Remote hypercores of exercises 6, 8 and 14 are no longer being seeded #8

@HDegroote

Description

@HDegroote

The remote hypercores used in exercise 6, 8 and 14 are no longer being seeded, so these exercises cannot be completed. (see also #5 )

I think this tutorial is a great way to get started with the hypercore stack (as far as I'm aware it's even the only tutorial), so I wouldn't mind seeding these three drives if @andrewosh still has them lying around and can seed them for a moment so I can sync with them.

The cores I'm talking about are:

Ex 6: 309ba1736cc5af2940fc9fb03d256547b78ca9972ce4398648a7d7782d31ad4b
Ex 8: ebcd9b99efb4ba8661076dd7e7a886cc5380a3f5998f16bfeeaaecfe0885de4a
Ex 14: 1444f69f7a541e532f762c8f8847e14cc05c8b6b25886e333bc8e86e882f1033

I observed two behaviours: printing the core information either says the core is empty, or an internal error is thrown from hyperspace:

 {
    statsCore: RemoteHypercore(
      key: 309ba1736cc5af2940fc9fb03d256547b78ca9972ce4398648a7d7782d31ad4b
      discoveryKey: a33d9da0369f1d04200b81b815d4e4e1f03086532d5555aca5623fddbb682c3b
      opened: true
      writable: false
      length: 0
      byteLength: 0
      peers: 0
    )
  }
  length: 0
    ***path_to_dev_dir***/node_modules/@hyperspace/rpc/index.js:11
        const err = new Error(message)
                    ^
    
    Error: ELOCKED: File is locked
        at Object.decode ( ***path_to_dev_dir***/node_modules/@hyperspace/rpc/index.js:11:17)
        at RPC._onmessage ( ***path_to_dev_dir***/workshop/node_modules/arpeecee/index.js:113:33)
        at Parser._nextState  ***path_to_dev_dir***/node_modules/arpeecee/parser.js:127:14)
        at Parser._readMessage ( ***path_to_dev_dir***/node_modules/arpeecee/parser.js:54:19)
        at Parser.recv ( ***path_to_dev_dir***/node_modules/arpeecee/parser.js:35:44)
        at RPC._write ( ***path_to_dev_dir***/node_modules/arpeecee/index.js:170:22)
        at WritableState.update ( ***path_to_dev_dir***/node_modules/streamx/index.js:168:14)
        at updateWriteNT ( ***path_to_dev_dir***/node_modules/streamx/index.js:479:6)
        at processTicksAndRejections (node:internal/process/task_queues:82:21) {
      code: 'ELOCKED',
      errno: 0,
      details: ''
    }

Version info:
hyperspace/3.19.0 linux-x64 node-v16.1.0
hyperdrive-daemon/1.14.5 linux-x64 node-v16.1.0

Metadata

Metadata

Assignees

No one assigned

    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