Title: "Unhandled 'error' event" when attempting to seed a hypercore which is neither drive nor bee · Issue #48 · hypercore-protocol/cli · GitHub
Open Graph Title: "Unhandled 'error' event" when attempting to seed a hypercore which is neither drive nor bee · Issue #48 · hypercore-protocol/cli
X Title: "Unhandled 'error' event" when attempting to seed a hypercore which is neither drive nor bee · Issue #48 · hypercore-protocol/cli
Description: I believe this is either a bug or an incorrect error message, it depends on whether the client is supposed to be usable for sharing hypercores which are neither hyperdrives nor hyperbees. When I try to seed a hypercore, I get the followi...
Open Graph Description: I believe this is either a bug or an incorrect error message, it depends on whether the client is supposed to be usable for sharing hypercores which are neither hyperdrives nor hyperbees. When I tr...
X Description: I believe this is either a bug or an incorrect error message, it depends on whether the client is supposed to be usable for sharing hypercores which are neither hyperdrives nor hyperbees. When I tr...
Opengraph URL: https://github.com/hypercore-protocol/cli/issues/48
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"Unhandled 'error' event\" when attempting to seed a hypercore which is neither drive nor bee","articleBody":"I believe this is either a bug or an incorrect error message, it depends on whether the client is supposed to be usable for sharing hypercores which are neither hyperdrives nor hyperbees.\r\n\r\nWhen I try to seed a hypercore, I get the following error:\r\n\r\n```\r\n hyp seed hyper://70e...6712/\r\n node:events:342\r\n throw er; // Unhandled 'error' event\r\n ^\r\n \r\n Error: key is required\r\n at Object.encodingLength (/.nvm/versions/node/v16.1.0/lib/node_modules/@hyperspace/cli/node_modules/hyperspace-mirroring-service/rpc/messages.js:52:34)\r\n at Parser.send (/.nvm/versions/node/v16.1.0/lib/node_modules/@hyperspace/cli/node_modules/arpeecee/parser.js:138:24)\r\n at RPC._push (/.nvm/versions/node/v16.1.0/lib/node_modules/@hyperspace/cli/node_modules/arpeecee/index.js:159:25)\r\n at RPC._request (/.nvm/versions/node/v16.1.0/lib/node_modules/@hyperspace/cli/node_modules/arpeecee/index.js:203:10)\r\n at Method.request (/.nvm/versions/node/v16.1.0/lib/node_modules/@hyperspace/cli/node_modules/arpeecee/index.js:247:29)\r\n at HRPCServiceMirror.mirror (/.nvm/versions/node/v16.1.0/lib/node_modules/@hyperspace/cli/node_modules/hyperspace-mirroring-service/rpc/index.js:63:25)\r\n at HyperspaceMirroringClient.mirror (/.nvm/versions/node/v16.1.0/lib/node_modules/@hyperspace/cli/node_modules/hyperspace-mirroring-service/client.js:57:32)\r\n at command (file:///.nvm/versions/node/v16.1.0/lib/node_modules/@hyperspace/cli/lib/commands/seed.js:32:29)\r\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\r\n at async Object.obj.command (file:///.nvm/versions/node/v16.1.0/lib/node_modules/@hyperspace/cli/bin/hyp.js:108:7)\r\n Emitted 'error' event on HRPCSession instance at:\r\n at RPC.\u003canonymous\u003e (/.nvm/versions/node/v16.1.0/lib/node_modules/@hyperspace/cli/node_modules/hyperspace-mirroring-service/rpc/index.js:117:101)\r\n at RPC.emit (node:events:377:35)\r\n at WritableState.afterDestroy (/.nvm/versions/node/v16.1.0/lib/node_modules/@hyperspace/cli/node_modules/streamx/index.js:439:19)\r\n at RPC._destroy (/.nvm/versions/node/v16.1.0/lib/node_modules/@hyperspace/cli/node_modules/arpeecee/index.js:190:5)\r\n at WritableState.updateNonPrimary (/.nvm/versions/node/v16.1.0/lib/node_modules/@hyperspace/cli/node_modules/streamx/index.js:187:16)\r\n at WritableState.update (/.nvm/versions/node/v16.1.0/lib/node_modules/@hyperspace/cli/node_modules/streamx/index.js:172:70)\r\n at updateWriteNT (/.nvm/versions/node/v16.1.0/lib/node_modules/@hyperspace/cli/node_modules/streamx/index.js:479:6)\r\n at processTicksAndRejections (node:internal/process/task_queues:82:21)\r\n\r\n```\r\n\r\nWhen I create a hyperdrive with hyp I can seed it without any issues. \r\n\r\n\r\nVersion info:\r\nhyp --version 1.5.1\r\n\r\nRunning hyperspace/3.19.0 linux-x64 node-v16.1.0\r\nServer is already running with the following status\r\nAPI Version : 1.15.1\r\nHolepunchable : true\r\n\r\n\r\n\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/HDegroote","@type":"Person","name":"HDegroote"},"datePublished":"2021-06-09T19:48:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/48/cli/issues/48"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:873ab7f1-a6d7-e99b-2a77-61a05b21d969 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9472:A7BCA:16F08:1F4C4:698E16FB |
| html-safe-nonce | b7a4301d6546c2e5430b8d6b5e62548b8eda6ee96590155d26aad1876daca7f5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDcyOkE3QkNBOjE2RjA4OjFGNEM0OjY5OEUxNkZCIiwidmlzaXRvcl9pZCI6IjQyODc4MzI1MzY3NTM1MTAxNDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c525ca65a2d6a43a1cc1d53954355dc55417542ec2eaa3a1055e82fa648bd087 |
| hovercard-subject-tag | issue:916620621 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/hypercore-protocol/cli/48/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1463ae20b369ce6c2f3947bc41aad5399cdf19e87b8479bb446b38e62f04bff8/hypercore-protocol/cli/issues/48 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1463ae20b369ce6c2f3947bc41aad5399cdf19e87b8479bb446b38e62f04bff8/hypercore-protocol/cli/issues/48 |
| og:image:alt | I believe this is either a bug or an incorrect error message, it depends on whether the client is supposed to be usable for sharing hypercores which are neither hyperdrives nor hyperbees. When I tr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | HDegroote |
| hostname | github.com |
| expected-hostname | github.com |
| None | 52130a026bd9a3f98228b6aa6af91acdab5d18de411e2c1e67e6253493561296 |
| turbo-cache-control | no-preview |
| go-import | github.com/hypercore-protocol/cli git https://github.com/hypercore-protocol/cli.git |
| octolytics-dimension-user_id | 65117216 |
| octolytics-dimension-user_login | hypercore-protocol |
| octolytics-dimension-repository_id | 318582978 |
| octolytics-dimension-repository_nwo | hypercore-protocol/cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 318582978 |
| octolytics-dimension-repository_network_root_nwo | hypercore-protocol/cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 301a1d7743177dcb7528b1322117cdafeda8ff08 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width