dat-ecosystem/dat

Dat crashes when attempting to share: Error: Unknown wire type: 7

nicolaschan opened this issue · 7 comments

I am reporting: Dat crashes when I attempt to share my archive (using dat . or dat share). It was working before, but suddenly no longer works.

Bug Report

Please give us details about your installation to assist you. Run dat -v to see the version of Dat you are using.

  • Operating system: Debian (armv7l)
  • Node Version: v12.10.0
  • Dat Version: 13.13.1

Expected behavior

Dat shares my archive, as it was doing before.

Actual behavior

Dat crashes.

Debug Logs

$ DEBUG=dat dat share .
  dat Dat DEBUG mode engaged, enabling quiet mode +0ms
  dat dat 13.13.1 +15ms
  dat node v12.10.0 +0ms
  dat Sharing archive {
  _: [ '.' ],
  utp: true,
  debug: false,
  quiet: true,
  sparse: false,
  import: true,
  ignoreHidden: true,
  'ignore-hidden': true,
  watch: true,
  logspeed: 400,
  dir: '.'
} +0ms
Error: Unknown wire type: 7
    at exports.skip (/usr/lib/node_modules/dat/node_modules/protocol-buffers-encodings/index.js:35:9)
    at Object.decode (/usr/lib/node_modules/dat/node_modules/append-tree/messages.js:104:18)
    at Request._callback (/usr/lib/node_modules/dat/node_modules/append-tree/index.js:554:41)
    at Request.callback (/usr/lib/node_modules/dat/node_modules/random-access-storage/index.js:162:8)
    at onread (/usr/lib/node_modules/dat/node_modules/random-access-file/index.js:81:31)
    at FSReqCallback.wrapper [as oncomplete] (fs.js:481:5)

Could you post the output of the following?

cd /usr/lib/node_modules/dat/ && npm ls

nicolas@intranet:~$ cd /usr/lib/node_modules/dat/ && npm ls
dat@13.13.1 /usr/lib/node_modules/dat
├── bytes@3.1.0
├─┬ chalk@2.4.2
│ ├─┬ ansi-styles@3.2.1
│ │ └─┬ color-convert@1.9.3
│ │   └── color-name@1.1.3
│ ├── escape-string-regexp@1.0.5
│ └─┬ supports-color@5.5.0
│   └── has-flag@3.0.0
├─┬ cli-truncate@1.1.0
│ ├─┬ slice-ansi@1.0.0
│ │ └── is-fullwidth-code-point@2.0.0
│ └─┬ string-width@2.1.1
│   ├── is-fullwidth-code-point@2.0.0 deduped
│   └─┬ strip-ansi@4.0.0
│     └── ansi-regex@3.0.0
├─┬ dat-doctor@2.1.2
│ ├── chalk@2.4.2 deduped
│ ├── dat-swarm-defaults@1.0.2
│ ├── debug@4.1.1 deduped
│ ├─┬ discovery-swarm@5.1.4
│ │ ├── connections@1.4.2
│ │ ├── debug@4.1.1 deduped
│ │ ├─┬ discovery-channel@5.5.1
│ │ │ ├─┬ bittorrent-dht@7.10.0
│ │ │ │ ├─┬ bencode@1.0.0
│ │ │ │ │ └── safe-buffer@5.2.0 deduped
│ │ │ │ ├── buffer-equals@1.0.4
│ │ │ │ ├─┬ debug@3.2.6
│ │ │ │ │ └── ms@2.1.2 deduped
│ │ │ │ ├── inherits@2.0.4 deduped
│ │ │ │ ├─┬ k-bucket@3.3.1
│ │ │ │ │ ├── buffer-equals@1.0.4 deduped
│ │ │ │ │ ├── inherits@2.0.4 deduped
│ │ │ │ │ └── randombytes@2.1.0 deduped
│ │ │ │ ├─┬ k-rpc@4.3.1
│ │ │ │ │ ├── buffer-equals@1.0.4 deduped
│ │ │ │ │ ├─┬ k-bucket@4.0.1
│ │ │ │ │ │ ├── inherits@2.0.4 deduped
│ │ │ │ │ │ └── randombytes@2.1.0 deduped
│ │ │ │ │ ├─┬ k-rpc-socket@1.11.1
│ │ │ │ │ │ ├─┬ bencode@2.0.1
│ │ │ │ │ │ │ └── safe-buffer@5.2.0 deduped
│ │ │ │ │ │ ├─┬ chrome-dgram@3.0.3
│ │ │ │ │ │ │ ├── inherits@2.0.4 deduped
│ │ │ │ │ │ │ └── run-series@1.1.8
│ │ │ │ │ │ ├─┬ chrome-dns@1.0.1
│ │ │ │ │ │ │ └── chrome-net@3.3.3 deduped
│ │ │ │ │ │ └─┬ chrome-net@3.3.3
│ │ │ │ │ │   └── inherits@2.0.4 deduped
│ │ │ │ │ ├── randombytes@2.1.0 deduped
│ │ │ │ │ └── safe-buffer@5.2.0 deduped
│ │ │ │ ├─┬ lru@3.1.0
│ │ │ │ │ └── inherits@2.0.4 deduped
│ │ │ │ ├─┬ randombytes@2.1.0
│ │ │ │ │ └── safe-buffer@5.2.0 deduped
│ │ │ │ ├── safe-buffer@5.2.0 deduped
│ │ │ │ └─┬ simple-sha1@2.1.2
│ │ │ │   └── rusha@0.8.13
│ │ │ ├── buffer-from@1.1.1
│ │ │ ├─┬ debug@2.6.9
│ │ │ │ └── ms@2.0.0
│ │ │ ├── dns-discovery@6.2.3 deduped
│ │ │ ├── pretty-hash@1.0.1
│ │ │ └── thunky@0.1.0
│ │ ├─┬ length-prefixed-message@3.0.4
│ │ │ └── varint@3.0.1
│ │ ├── pump@3.0.0 deduped
│ │ ├── to-buffer@1.1.1
│ │ └── UNMET OPTIONAL DEPENDENCY utp-native@^1.7.2
│ ├─┬ dns-discovery@6.2.3
│ │ ├─┬ circular-append-file@1.0.1
│ │ │ └─┬ multistream@2.1.1
│ │ │   ├── inherits@2.0.4 deduped
│ │ │   └── readable-stream@2.3.6 deduped
│ │ ├─┬ debug@2.6.9
│ │ │ └── ms@2.0.0
│ │ ├─┬ dns-socket@3.0.0
│ │ │ └─┬ dns-packet@4.2.0
│ │ │   ├── ip@1.1.5
│ │ │   └── safe-buffer@5.2.0 deduped
│ │ ├─┬ lru@2.0.1
│ │ │ └── inherits@2.0.4 deduped
│ │ ├── minimist@1.2.0 deduped
│ │ ├─┬ multicast-dns@7.2.0
│ │ │ ├── dns-packet@4.2.0 deduped
│ │ │ └── thunky@1.0.3 deduped
│ │ ├── network-address@1.1.2
│ │ ├── pump@3.0.0 deduped
│ │ ├── speedometer@1.1.0 deduped
│ │ └── unordered-set@1.1.0
│ ├── menu-string@1.3.0
│ ├── minimist@1.2.0
│ ├── neat-log@3.1.0 deduped
│ ├─┬ neat-tasks@1.1.1
│ │ ├── chalk@2.4.2 deduped
│ │ ├── cli-spinners@1.3.1
│ │ ├─┬ figures@2.0.0
│ │ │ └── escape-string-regexp@1.0.5 deduped
│ │ ├── nanobus@4.4.0 deduped
│ │ └─┬ neat-spinner@1.0.0
│ │   └── cli-spinners@1.3.1 deduped
│ ├── pump@3.0.0 deduped
│ ├── thunky@1.0.3
│ └─┬ utp-native@2.1.4
│   ├── napi-macros@1.8.2
│   ├── node-gyp-build@3.9.0
│   ├─┬ readable-stream@3.4.0
│   │ ├── inherits@2.0.4 deduped
│   │ ├── string_decoder@1.1.1 deduped
│   │ └── util-deprecate@1.0.2 deduped
│   ├── timeout-refresh@1.0.0
│   └── unordered-set@2.0.1
├─┬ dat-encoding@5.0.1
│ └── safe-buffer@5.2.0
├─┬ dat-json@1.0.3
│ ├── dat-encoding@5.0.1 deduped
│ └─┬ toiletdb@1.4.1
│   ├─┬ debug@2.6.9
│   │ └── ms@2.0.0
│   └── last-one-wins@1.0.4
├─┬ dat-link-resolve@2.3.0
│ ├─┬ dat-dns@3.2.1
│ │ ├── call-me-maybe@1.0.1
│ │ ├─┬ concat-stream@1.6.2
│ │ │ ├── buffer-from@1.1.1 deduped
│ │ │ ├── inherits@2.0.4 deduped
│ │ │ ├── readable-stream@2.3.6 deduped
│ │ │ └── typedarray@0.0.6
│ │ └── debug@4.1.1 deduped
│ ├── dat-encoding@5.0.1 deduped
│ ├── debug@4.1.1 deduped
│ └─┬ simple-get@3.0.3
│   ├─┬ decompress-response@3.3.0
│   │ └── mimic-response@1.0.1
│   ├── once@1.4.0 deduped
│   └── simple-concat@1.0.0
├─┬ dat-log@1.2.0
│ ├── dat-node@3.5.15 deduped
│ ├── minimist@1.2.0 deduped
│ ├─┬ neat-log@2.4.0
│ │ ├── diffy@2.1.0 deduped
│ │ ├── lodash.throttle@4.1.1 deduped
│ │ └── nanobus@4.4.0 deduped
│ ├── prettier-bytes@1.0.4 deduped
│ └── random-access-memory@3.1.1 deduped
├─┬ dat-node@3.5.15
│ ├─┬ dat-ignore@2.1.2
│ │ └─┬ anymatch@2.0.0
│ │   ├─┬ micromatch@3.1.10
│ │   │ ├── arr-diff@4.0.0
│ │   │ ├── array-unique@0.3.2
│ │   │ ├─┬ braces@2.3.2
│ │   │ │ ├── arr-flatten@1.1.0
│ │   │ │ ├── array-unique@0.3.2 deduped
│ │   │ │ ├─┬ extend-shallow@2.0.1
│ │   │ │ │ └── is-extendable@0.1.1
│ │   │ │ ├─┬ fill-range@4.0.0
│ │   │ │ │ ├─┬ extend-shallow@2.0.1
│ │   │ │ │ │ └── is-extendable@0.1.1 deduped
│ │   │ │ │ ├─┬ is-number@3.0.0
│ │   │ │ │ │ └─┬ kind-of@3.2.2
│ │   │ │ │ │   └── is-buffer@1.1.6 deduped
│ │   │ │ │ ├── repeat-string@1.6.1
│ │   │ │ │ └─┬ to-regex-range@2.1.1
│ │   │ │ │   ├── is-number@3.0.0 deduped
│ │   │ │ │   └── repeat-string@1.6.1 deduped
│ │   │ │ ├── isobject@3.0.1
│ │   │ │ ├── repeat-element@1.1.3
│ │   │ │ ├── snapdragon@0.8.2 deduped
│ │   │ │ ├─┬ snapdragon-node@2.1.1
│ │   │ │ │ ├─┬ define-property@1.0.0
│ │   │ │ │ │ └─┬ is-descriptor@1.0.2
│ │   │ │ │ │   ├─┬ is-accessor-descriptor@1.0.0
│ │   │ │ │ │   │ └── kind-of@6.0.2 deduped
│ │   │ │ │ │   ├─┬ is-data-descriptor@1.0.0
│ │   │ │ │ │   │ └── kind-of@6.0.2 deduped
│ │   │ │ │ │   └── kind-of@6.0.2 deduped
│ │   │ │ │ ├── isobject@3.0.1 deduped
│ │   │ │ │ └─┬ snapdragon-util@3.0.1
│ │   │ │ │   └─┬ kind-of@3.2.2
│ │   │ │ │     └── is-buffer@1.1.6 deduped
│ │   │ │ ├─┬ split-string@3.1.0
│ │   │ │ │ └── extend-shallow@3.0.2 deduped
│ │   │ │ └── to-regex@3.0.2 deduped
│ │   │ ├─┬ define-property@2.0.2
│ │   │ │ ├─┬ is-descriptor@1.0.2
│ │   │ │ │ ├─┬ is-accessor-descriptor@1.0.0
│ │   │ │ │ │ └── kind-of@6.0.2 deduped
│ │   │ │ │ ├─┬ is-data-descriptor@1.0.0
│ │   │ │ │ │ └── kind-of@6.0.2 deduped
│ │   │ │ │ └── kind-of@6.0.2 deduped
│ │   │ │ └── isobject@3.0.1 deduped
│ │   │ ├─┬ extend-shallow@3.0.2
│ │   │ │ ├── assign-symbols@1.0.0
│ │   │ │ └─┬ is-extendable@1.0.1
│ │   │ │   └─┬ is-plain-object@2.0.4
│ │   │ │     └── isobject@3.0.1 deduped
│ │   │ ├─┬ extglob@2.0.4
│ │   │ │ ├── array-unique@0.3.2 deduped
│ │   │ │ ├─┬ define-property@1.0.0
│ │   │ │ │ └─┬ is-descriptor@1.0.2
│ │   │ │ │   ├─┬ is-accessor-descriptor@1.0.0
│ │   │ │ │   │ └── kind-of@6.0.2 deduped
│ │   │ │ │   ├─┬ is-data-descriptor@1.0.0
│ │   │ │ │   │ └── kind-of@6.0.2 deduped
│ │   │ │ │   └── kind-of@6.0.2 deduped
│ │   │ │ ├─┬ expand-brackets@2.1.4
│ │   │ │ │ ├─┬ debug@2.6.9
│ │   │ │ │ │ └── ms@2.0.0
│ │   │ │ │ ├─┬ define-property@0.2.5
│ │   │ │ │ │ └── is-descriptor@0.1.6 deduped
│ │   │ │ │ ├─┬ extend-shallow@2.0.1
│ │   │ │ │ │ └── is-extendable@0.1.1 deduped
│ │   │ │ │ ├── posix-character-classes@0.1.1
│ │   │ │ │ ├── regex-not@1.0.2 deduped
│ │   │ │ │ ├── snapdragon@0.8.2 deduped
│ │   │ │ │ └── to-regex@3.0.2 deduped
│ │   │ │ ├─┬ extend-shallow@2.0.1
│ │   │ │ │ └── is-extendable@0.1.1 deduped
│ │   │ │ ├── fragment-cache@0.2.1 deduped
│ │   │ │ ├── regex-not@1.0.2 deduped
│ │   │ │ ├── snapdragon@0.8.2 deduped
│ │   │ │ └── to-regex@3.0.2 deduped
│ │   │ ├─┬ fragment-cache@0.2.1
│ │   │ │ └── map-cache@0.2.2
│ │   │ ├── kind-of@6.0.2
│ │   │ ├─┬ nanomatch@1.2.13
│ │   │ │ ├── arr-diff@4.0.0 deduped
│ │   │ │ ├── array-unique@0.3.2 deduped
│ │   │ │ ├── define-property@2.0.2 deduped
│ │   │ │ ├── extend-shallow@3.0.2 deduped
│ │   │ │ ├── fragment-cache@0.2.1 deduped
│ │   │ │ ├── is-windows@1.0.2
│ │   │ │ ├── kind-of@6.0.2 deduped
│ │   │ │ ├── object.pick@1.3.0 deduped
│ │   │ │ ├── regex-not@1.0.2 deduped
│ │   │ │ ├── snapdragon@0.8.2 deduped
│ │   │ │ └── to-regex@3.0.2 deduped
│ │   │ ├─┬ object.pick@1.3.0
│ │   │ │ └── isobject@3.0.1 deduped
│ │   │ ├─┬ regex-not@1.0.2
│ │   │ │ ├── extend-shallow@3.0.2 deduped
│ │   │ │ └─┬ safe-regex@1.1.0
│ │   │ │   └── ret@0.1.15
│ │   │ ├─┬ snapdragon@0.8.2
│ │   │ │ ├─┬ base@0.11.2
│ │   │ │ │ ├─┬ cache-base@1.0.1
│ │   │ │ │ │ ├─┬ collection-visit@1.0.0
│ │   │ │ │ │ │ ├─┬ map-visit@1.0.0
│ │   │ │ │ │ │ │ └── object-visit@1.0.1 deduped
│ │   │ │ │ │ │ └─┬ object-visit@1.0.1
│ │   │ │ │ │ │   └── isobject@3.0.1 deduped
│ │   │ │ │ │ ├── component-emitter@1.3.0 deduped
│ │   │ │ │ │ ├── get-value@2.0.6
│ │   │ │ │ │ ├─┬ has-value@1.0.0
│ │   │ │ │ │ │ ├── get-value@2.0.6 deduped
│ │   │ │ │ │ │ ├─┬ has-values@1.0.0
│ │   │ │ │ │ │ │ ├── is-number@3.0.0 deduped
│ │   │ │ │ │ │ │ └─┬ kind-of@4.0.0
│ │   │ │ │ │ │ │   └── is-buffer@1.1.6 deduped
│ │   │ │ │ │ │ └── isobject@3.0.1 deduped
│ │   │ │ │ │ ├── isobject@3.0.1 deduped
│ │   │ │ │ │ ├─┬ set-value@2.0.1
│ │   │ │ │ │ │ ├─┬ extend-shallow@2.0.1
│ │   │ │ │ │ │ │ └── is-extendable@0.1.1 deduped
│ │   │ │ │ │ │ ├── is-extendable@0.1.1 deduped
│ │   │ │ │ │ │ ├── is-plain-object@2.0.4 deduped
│ │   │ │ │ │ │ └── split-string@3.1.0 deduped
│ │   │ │ │ │ ├─┬ to-object-path@0.3.0
│ │   │ │ │ │ │ └─┬ kind-of@3.2.2
│ │   │ │ │ │ │   └── is-buffer@1.1.6 deduped
│ │   │ │ │ │ ├─┬ union-value@1.0.1
│ │   │ │ │ │ │ ├── arr-union@3.1.0 deduped
│ │   │ │ │ │ │ ├── get-value@2.0.6 deduped
│ │   │ │ │ │ │ ├── is-extendable@0.1.1 deduped
│ │   │ │ │ │ │ └── set-value@2.0.1 deduped
│ │   │ │ │ │ └─┬ unset-value@1.0.0
│ │   │ │ │ │   ├─┬ has-value@0.3.1
│ │   │ │ │ │   │ ├── get-value@2.0.6 deduped
│ │   │ │ │ │   │ ├── has-values@0.1.4
│ │   │ │ │ │   │ └─┬ isobject@2.1.0
│ │   │ │ │ │   │   └── isarray@1.0.0 deduped
│ │   │ │ │ │   └── isobject@3.0.1 deduped
│ │   │ │ │ ├─┬ class-utils@0.3.6
│ │   │ │ │ │ ├── arr-union@3.1.0
│ │   │ │ │ │ ├─┬ define-property@0.2.5
│ │   │ │ │ │ │ └── is-descriptor@0.1.6 deduped
│ │   │ │ │ │ ├── isobject@3.0.1 deduped
│ │   │ │ │ │ └─┬ static-extend@0.1.2
│ │   │ │ │ │   ├─┬ define-property@0.2.5
│ │   │ │ │ │   │ └── is-descriptor@0.1.6 deduped
│ │   │ │ │ │   └─┬ object-copy@0.1.0
│ │   │ │ │ │     ├── copy-descriptor@0.1.1
│ │   │ │ │ │     ├─┬ define-property@0.2.5
│ │   │ │ │ │     │ └── is-descriptor@0.1.6 deduped
│ │   │ │ │ │     └─┬ kind-of@3.2.2
│ │   │ │ │ │       └── is-buffer@1.1.6 deduped
│ │   │ │ │ ├── component-emitter@1.3.0
│ │   │ │ │ ├─┬ define-property@1.0.0
│ │   │ │ │ │ └─┬ is-descriptor@1.0.2
│ │   │ │ │ │   ├─┬ is-accessor-descriptor@1.0.0
│ │   │ │ │ │   │ └── kind-of@6.0.2 deduped
│ │   │ │ │ │   ├─┬ is-data-descriptor@1.0.0
│ │   │ │ │ │   │ └── kind-of@6.0.2 deduped
│ │   │ │ │ │   └── kind-of@6.0.2 deduped
│ │   │ │ │ ├── isobject@3.0.1 deduped
│ │   │ │ │ ├─┬ mixin-deep@1.3.2
│ │   │ │ │ │ ├── for-in@1.0.2
│ │   │ │ │ │ └─┬ is-extendable@1.0.1
│ │   │ │ │ │   └── is-plain-object@2.0.4 deduped
│ │   │ │ │ └── pascalcase@0.1.1
│ │   │ │ ├─┬ debug@2.6.9
│ │   │ │ │ └── ms@2.0.0
│ │   │ │ ├─┬ define-property@0.2.5
│ │   │ │ │ └─┬ is-descriptor@0.1.6
│ │   │ │ │   ├─┬ is-accessor-descriptor@0.1.6
│ │   │ │ │   │ └─┬ kind-of@3.2.2
│ │   │ │ │   │   └── is-buffer@1.1.6 deduped
│ │   │ │ │   ├─┬ is-data-descriptor@0.1.4
│ │   │ │ │   │ └─┬ kind-of@3.2.2
│ │   │ │ │   │   └── is-buffer@1.1.6 deduped
│ │   │ │ │   └── kind-of@5.1.0
│ │   │ │ ├─┬ extend-shallow@2.0.1
│ │   │ │ │ └── is-extendable@0.1.1 deduped
│ │   │ │ ├── map-cache@0.2.2 deduped
│ │   │ │ ├── source-map@0.5.7
│ │   │ │ ├─┬ source-map-resolve@0.5.2
│ │   │ │ │ ├── atob@2.1.2
│ │   │ │ │ ├── decode-uri-component@0.2.0
│ │   │ │ │ ├── resolve-url@0.2.1
│ │   │ │ │ ├── source-map-url@0.4.0
│ │   │ │ │ └── urix@0.1.0
│ │   │ │ └── use@3.1.1
│ │   │ └─┬ to-regex@3.0.2
│ │   │   ├── define-property@2.0.2 deduped
│ │   │   ├── extend-shallow@3.0.2 deduped
│ │   │   ├── regex-not@1.0.2 deduped
│ │   │   └── safe-regex@1.1.0 deduped
│ │   └─┬ normalize-path@2.1.1
│ │     └── remove-trailing-separator@1.1.0
│ ├── dat-link-resolve@2.3.0 deduped
│ ├─┬ dat-storage@1.1.1
│ │ ├─┬ append-tree@2.4.4
│ │ │ ├── array-lru@1.1.1
│ │ │ ├── codecs@1.2.1
│ │ │ ├── from2@2.3.0 deduped
│ │ │ ├── inherits@2.0.4 deduped
│ │ │ ├── mutexify@1.2.0 deduped
│ │ │ ├── process-nextick-args@1.0.7
│ │ │ ├── protocol-buffers-encodings@1.1.0 deduped
│ │ │ └── varint@5.0.0
│ │ ├─┬ dat-secret-storage@4.0.1
│ │ │ ├── os-homedir@1.0.2 deduped
│ │ │ └── random-access-file@2.1.3 deduped
│ │ ├── hyperdrive@9.16.0 deduped
│ │ ├─┬ multi-random-access@2.1.1
│ │ │ ├─┬ abstract-random-access@1.1.2
│ │ │ │ └── inherits@2.0.4 deduped
│ │ │ ├── inherits@2.0.4 deduped
│ │ │ └── sorted-array-functions@1.2.0
│ │ └── random-access-file@2.1.3 deduped
│ ├── dat-swarm-defaults@1.0.2 deduped
│ ├── debug@4.1.1 deduped
│ ├── discovery-swarm@5.1.4 deduped
│ ├─┬ hyperdrive@9.16.0
│ │ ├── append-tree@2.4.4 deduped
│ │ ├─┬ duplexify@3.7.1
│ │ │ ├── end-of-stream@1.4.1 deduped
│ │ │ ├── inherits@2.0.4 deduped
│ │ │ ├── readable-stream@2.3.6 deduped
│ │ │ └── stream-shift@1.0.0 deduped
│ │ ├─┬ from2@2.3.0
│ │ │ ├── inherits@2.0.4 deduped
│ │ │ └── readable-stream@2.3.6 deduped
│ │ ├─┬ hypercore@7.7.1
│ │ │ ├── array-lru@1.1.1 deduped
│ │ │ ├── atomic-batcher@1.0.2
│ │ │ ├─┬ bitfield-rle@2.2.1
│ │ │ │ ├── buffer-alloc-unsafe@1.1.0
│ │ │ │ └── varint@4.0.1
│ │ │ ├─┬ bulk-write-stream@1.1.4
│ │ │ │ ├── buffer-from@1.1.1 deduped
│ │ │ │ ├── inherits@2.0.4 deduped
│ │ │ │ └── readable-stream@2.3.6 deduped
│ │ │ ├── codecs@2.0.0
│ │ │ ├─┬ fast-bitfield@1.2.2
│ │ │ │ └── count-trailing-zeros@1.0.1
│ │ │ ├─┬ fd-lock@1.0.2
│ │ │ │ ├── napi-macros@1.8.2 deduped
│ │ │ │ └── node-gyp-build@3.9.0 deduped
│ │ │ ├── flat-tree@1.6.0
│ │ │ ├── from2@2.3.0 deduped
│ │ │ ├─┬ hypercore-crypto@1.0.0
│ │ │ │ ├── buffer-alloc-unsafe@1.1.0 deduped
│ │ │ │ ├── buffer-from@1.1.1 deduped
│ │ │ │ ├── sodium-universal@2.0.0 deduped
│ │ │ │ └── uint64be@2.0.2 deduped
│ │ │ ├─┬ hypercore-protocol@6.12.0
│ │ │ │ ├── buffer-alloc-unsafe@1.1.0 deduped
│ │ │ │ ├── buffer-from@1.1.1 deduped
│ │ │ │ ├── inherits@2.0.4 deduped
│ │ │ │ ├── protocol-buffers-encodings@1.1.0 deduped
│ │ │ │ ├── readable-stream@2.3.6 deduped
│ │ │ │ ├── sodium-universal@2.0.0 deduped
│ │ │ │ ├── sorted-indexof@1.0.0
│ │ │ │ └── varint@5.0.0
│ │ │ ├── inherits@2.0.4 deduped
│ │ │ ├── inspect-custom-symbol@1.1.0
│ │ │ ├── last-one-wins@1.0.4 deduped
│ │ │ ├── memory-pager@1.5.0 deduped
│ │ │ ├─┬ merkle-tree-stream@3.0.3
│ │ │ │ ├── flat-tree@1.6.0 deduped
│ │ │ │ └── readable-stream@2.3.6 deduped
│ │ │ ├── nanoguard@1.2.1
│ │ │ ├── pretty-hash@1.0.1 deduped
│ │ │ ├── random-access-file@2.1.3 deduped
│ │ │ ├── sodium-universal@2.0.0 deduped
│ │ │ ├── sparse-bitfield@3.0.3 deduped
│ │ │ ├── thunky@1.0.3 deduped
│ │ │ ├── uint64be@2.0.2 deduped
│ │ │ ├── unordered-array-remove@1.0.2
│ │ │ └── unordered-set@2.0.1
│ │ ├── inherits@2.0.4 deduped
│ │ ├── mutexify@1.2.0
│ │ ├─┬ protocol-buffers-encodings@1.1.0
│ │ │ ├─┬ signed-varint@2.0.1
│ │ │ │ └── varint@5.0.0
│ │ │ └── varint@5.0.0
│ │ ├── random-access-file@2.1.3 deduped
│ │ ├─┬ sodium-universal@2.0.0
│ │ │ ├─┬ sodium-javascript@0.5.5
│ │ │ │ ├─┬ blake2b@2.1.3
│ │ │ │ │ ├─┬ blake2b-wasm@1.1.7
│ │ │ │ │ │ └── nanoassert@1.1.0 deduped
│ │ │ │ │ └── nanoassert@1.1.0 deduped
│ │ │ │ ├── nanoassert@1.1.0 deduped
│ │ │ │ ├─┬ siphash24@1.1.1
│ │ │ │ │ └── nanoassert@1.1.0 deduped
│ │ │ │ └── xsalsa20@1.0.2
│ │ │ └─┬ sodium-native@2.4.6
│ │ │   ├── ini@1.3.5 deduped
│ │ │   ├── nan@2.14.0
│ │ │   └── node-gyp-build@4.1.1
│ │ ├─┬ stream-collector@1.0.1
│ │ │ └── once@1.4.0 deduped
│ │ ├── stream-each@1.2.3 deduped
│ │ ├── thunky@1.0.3 deduped
│ │ ├─┬ uint64be@2.0.2
│ │ │ └─┬ buffer-alloc@1.2.0
│ │ │   ├── buffer-alloc-unsafe@1.1.0 deduped
│ │ │   └── buffer-fill@1.0.0
│ │ └─┬ unixify@1.0.0
│ │   └── normalize-path@2.1.1 deduped
│ ├─┬ hyperdrive-http@4.4.0
│ │ ├─┬ corsify@2.1.0
│ │ │ └─┬ http-methods@0.1.0
│ │ │   ├─┬ body@0.1.0
│ │ │   │ └── content-types@0.1.0 deduped
│ │ │   └─┬ content-types@0.1.0
│ │ │     └─┬ iterators@0.1.0
│ │ │       └── ap@0.1.0
│ │ ├── directory-index-html@2.1.0
│ │ ├── mime@2.4.4
│ │ ├── pump@3.0.0 deduped
│ │ └── range-parser@1.2.1
│ ├─┬ hyperdrive-network-speed@2.1.0
│ │ ├─┬ debug@3.2.6
│ │ │ └── ms@2.1.2 deduped
│ │ └── speedometer@1.1.0 deduped
│ ├─┬ mirror-folder@3.0.0
│ │ ├─┬ fd-read-stream@1.1.0
│ │ │ └── readable-stream@2.3.6 deduped
│ │ └─┬ recursive-watch@1.1.4
│ │   └── ttl@1.3.1
│ ├─┬ random-access-file@2.1.3
│ │ ├── mkdirp@0.5.1 deduped
│ │ └── random-access-storage@1.4.0 deduped
│ ├── random-access-memory@3.1.1 deduped
│ ├─┬ sparse-bitfield@3.0.3
│ │ └── memory-pager@1.5.0
│ ├── speedometer@1.1.0 deduped
│ ├─┬ stream-each@1.2.3
│ │ ├── end-of-stream@1.4.1 deduped
│ │ └── stream-shift@1.0.0
│ └── untildify@3.0.3
├─┬ dat-registry@4.0.1
│ ├─┬ nets@3.2.0
│ │ ├── request@2.88.0 deduped
│ │ └─┬ xhr@2.5.0
│ │   ├─┬ global@4.3.2
│ │   │ ├─┬ min-document@2.19.0
│ │   │ │ └── dom-walk@0.1.1
│ │   │ └── process@0.5.2
│ │   ├── is-function@1.0.1
│ │   ├─┬ parse-headers@2.0.2
│ │   │ ├─┬ for-each@0.3.3
│ │   │ │ └── is-callable@1.1.4
│ │   │ └─┬ string.prototype.trim@1.2.0
│ │   │   ├─┬ define-properties@1.1.3
│ │   │   │ └── object-keys@1.1.1
│ │   │   ├─┬ es-abstract@1.14.2
│ │   │   │ ├─┬ es-to-primitive@1.2.0
│ │   │   │ │ ├── is-callable@1.1.4 deduped
│ │   │   │ │ ├── is-date-object@1.0.1
│ │   │   │ │ └─┬ is-symbol@1.0.2
│ │   │   │ │   └── has-symbols@1.0.0 deduped
│ │   │   │ ├── function-bind@1.1.1 deduped
│ │   │   │ ├─┬ has@1.0.3
│ │   │   │ │ └── function-bind@1.1.1 deduped
│ │   │   │ ├── has-symbols@1.0.0
│ │   │   │ ├── is-callable@1.1.4 deduped
│ │   │   │ ├─┬ is-regex@1.0.4
│ │   │   │ │ └── has@1.0.3 deduped
│ │   │   │ ├── object-inspect@1.6.0
│ │   │   │ ├── object-keys@1.1.1 deduped
│ │   │   │ ├─┬ string.prototype.trimleft@2.1.0
│ │   │   │ │ ├── define-properties@1.1.3 deduped
│ │   │   │ │ └── function-bind@1.1.1 deduped
│ │   │   │ └─┬ string.prototype.trimright@2.1.0
│ │   │   │   ├── define-properties@1.1.3 deduped
│ │   │   │   └── function-bind@1.1.1 deduped
│ │   │   └── function-bind@1.1.1
│ │   └── xtend@4.0.2
│ └─┬ township-client@1.3.2
│   ├─┬ is-number@2.1.0
│   │ └─┬ kind-of@3.2.2
│   │   └── is-buffer@1.1.6
│   ├── is-string@1.0.4
│   ├── nets@3.2.0 deduped
│   └── os-homedir@1.0.2
├─┬ debug@4.1.1
│ └── ms@2.1.2
├─┬ mkdirp@0.5.1
│ └── minimist@0.0.8
├─┬ neat-log@3.1.0
│ ├─┬ diffy@2.1.0
│ │ ├─┬ ansi-diff@1.1.1
│ │ │ └─┬ ansi-split@1.0.1
│ │ │   └── ansi-regex@3.0.0 deduped
│ │ └─┬ neat-input@1.10.0
│ │   └── keypress@0.2.1
│ ├── lodash.throttle@4.1.1
│ └─┬ nanobus@4.4.0
│   ├── nanoassert@1.1.0
│   ├─┬ nanotiming@7.3.1
│   │ ├── nanoassert@1.1.0 deduped
│   │ └─┬ nanoscheduler@1.0.3
│   │   └── nanoassert@1.1.0 deduped
│   └── remove-array-items@1.1.1
├── prettier-bytes@1.0.4
├── progress-string@1.2.2
├─┬ prompt@1.0.0
│ ├── colors@1.3.3
│ ├── pkginfo@0.4.1
│ ├─┬ read@1.0.7
│ │ └── mute-stream@0.0.8
│ ├── revalidator@0.1.8
│ ├─┬ utile@0.3.0
│ │ ├── async@0.9.2
│ │ ├── deep-equal@0.2.2
│ │ ├── i@0.3.6
│ │ ├── mkdirp@0.5.1 deduped
│ │ ├── ncp@1.0.1
│ │ └── rimraf@2.7.1 deduped
│ └─┬ winston@2.1.1
│   ├── async@1.0.0
│   ├── colors@1.0.3
│   ├── cycle@1.0.3
│   ├── eyes@0.1.8
│   ├── isstream@0.1.2 deduped
│   ├── pkginfo@0.3.1
│   └── stack-trace@0.0.10
├─┬ pump@3.0.0
│ ├─┬ end-of-stream@1.4.1
│ │ └── once@1.4.0 deduped
│ └─┬ once@1.4.0
│   └── wrappy@1.0.2
├─┬ random-access-memory@3.1.1
│ ├── inherits@2.0.4
│ ├── is-options@1.0.1
│ └─┬ random-access-storage@1.4.0
│   └── inherits@2.0.4 deduped
├─┬ request@2.88.0
│ ├── aws-sign2@0.7.0
│ ├── aws4@1.8.0
│ ├── caseless@0.12.0
│ ├─┬ combined-stream@1.0.8
│ │ └── delayed-stream@1.0.0
│ ├── extend@3.0.2
│ ├── forever-agent@0.6.1
│ ├─┬ form-data@2.3.3
│ │ ├── asynckit@0.4.0
│ │ ├── combined-stream@1.0.8 deduped
│ │ └── mime-types@2.1.24 deduped
│ ├─┬ har-validator@5.1.3
│ │ ├─┬ ajv@6.10.2
│ │ │ ├── fast-deep-equal@2.0.1
│ │ │ ├── fast-json-stable-stringify@2.0.0
│ │ │ ├── json-schema-traverse@0.4.1
│ │ │ └─┬ uri-js@4.2.2
│ │ │   └── punycode@2.1.1
│ │ └── har-schema@2.0.0
│ ├─┬ http-signature@1.2.0
│ │ ├── assert-plus@1.0.0
│ │ ├─┬ jsprim@1.4.1
│ │ │ ├── assert-plus@1.0.0 deduped
│ │ │ ├── extsprintf@1.3.0
│ │ │ ├── json-schema@0.2.3
│ │ │ └─┬ verror@1.10.0
│ │ │   ├── assert-plus@1.0.0 deduped
│ │ │   ├── core-util-is@1.0.2 deduped
│ │ │   └── extsprintf@1.3.0 deduped
│ │ └─┬ sshpk@1.16.1
│ │   ├─┬ asn1@0.2.4
│ │   │ └── safer-buffer@2.1.2 deduped
│ │   ├── assert-plus@1.0.0 deduped
│ │   ├─┬ bcrypt-pbkdf@1.0.2
│ │   │ └── tweetnacl@0.14.5 deduped
│ │   ├─┬ dashdash@1.14.1
│ │   │ └── assert-plus@1.0.0 deduped
│ │   ├─┬ ecc-jsbn@0.1.2
│ │   │ ├── jsbn@0.1.1 deduped
│ │   │ └── safer-buffer@2.1.2 deduped
│ │   ├─┬ getpass@0.1.7
│ │   │ └── assert-plus@1.0.0 deduped
│ │   ├── jsbn@0.1.1
│ │   ├── safer-buffer@2.1.2
│ │   └── tweetnacl@0.14.5
│ ├── is-typedarray@1.0.0
│ ├── isstream@0.1.2
│ ├── json-stringify-safe@5.0.1
│ ├─┬ mime-types@2.1.24
│ │ └── mime-db@1.40.0
│ ├── oauth-sign@0.9.0
│ ├── performance-now@2.1.0
│ ├── qs@6.5.2
│ ├── safe-buffer@5.2.0 deduped
│ ├─┬ tough-cookie@2.4.3
│ │ ├── psl@1.4.0
│ │ └── punycode@1.4.1
│ ├─┬ tunnel-agent@0.6.0
│ │ └── safe-buffer@5.2.0 deduped
│ └── uuid@3.3.3
├─┬ rimraf@2.7.1
│ └─┬ glob@7.1.4
│   ├── fs.realpath@1.0.0
│   ├─┬ inflight@1.0.6
│   │ ├── once@1.4.0 deduped
│   │ └── wrappy@1.0.2 deduped
│   ├── inherits@2.0.4 deduped
│   ├─┬ minimatch@3.0.4
│   │ └─┬ brace-expansion@1.1.11
│   │   ├── balanced-match@1.0.0
│   │   └── concat-map@0.0.1
│   ├── once@1.4.0 deduped
│   └── path-is-absolute@1.0.1
├── speedometer@1.1.0
├─┬ subcommand@2.1.1
│ ├── cliclopts@1.1.1
│ ├── debug@4.1.1 deduped
│ └── minimist@1.2.0 deduped
├─┬ throttle@1.0.3
│ ├─┬ readable-stream@2.3.6
│ │ ├── core-util-is@1.0.2
│ │ ├── inherits@2.0.4 deduped
│ │ ├── isarray@1.0.0
│ │ ├── process-nextick-args@2.0.1
│ │ ├── safe-buffer@5.1.2
│ │ ├─┬ string_decoder@1.1.1
│ │ │ └── safe-buffer@5.1.2
│ │ └── util-deprecate@1.0.2
│ └─┬ stream-parser@0.3.1
│   └─┬ debug@2.6.9
│     └── ms@2.0.0
└─┬ update-notifier@2.5.0
  ├─┬ boxen@1.3.0
  │ ├─┬ ansi-align@2.0.0
  │ │ └── string-width@2.1.1 deduped
  │ ├── camelcase@4.1.0
  │ ├── chalk@2.4.2 deduped
  │ ├── cli-boxes@1.0.0
  │ ├── string-width@2.1.1 deduped
  │ ├─┬ term-size@1.2.0
  │ │ └─┬ execa@0.7.0
  │ │   ├─┬ cross-spawn@5.1.0
  │ │   │ ├─┬ lru-cache@4.1.5
  │ │   │ │ ├── pseudomap@1.0.2
  │ │   │ │ └── yallist@2.1.2
  │ │   │ ├─┬ shebang-command@1.2.0
  │ │   │ │ └── shebang-regex@1.0.0
  │ │   │ └─┬ which@1.3.1
  │ │   │   └── isexe@2.0.0
  │ │   ├── get-stream@3.0.0
  │ │   ├── is-stream@1.1.0
  │ │   ├─┬ npm-run-path@2.0.2
  │ │   │ └── path-key@2.0.1
  │ │   ├── p-finally@1.0.0
  │ │   ├── signal-exit@3.0.2 deduped
  │ │   └── strip-eof@1.0.0
  │ └─┬ widest-line@2.0.1
  │   └── string-width@2.1.1 deduped
  ├── chalk@2.4.2 deduped
  ├─┬ configstore@3.1.2
  │ ├─┬ dot-prop@4.2.0
  │ │ └── is-obj@1.0.1
  │ ├── graceful-fs@4.2.2
  │ ├─┬ make-dir@1.3.0
  │ │ └── pify@3.0.0
  │ ├─┬ unique-string@1.0.0
  │ │ └── crypto-random-string@1.0.0
  │ ├─┬ write-file-atomic@2.4.3
  │ │ ├── graceful-fs@4.2.2 deduped
  │ │ ├── imurmurhash@0.1.4
  │ │ └── signal-exit@3.0.2
  │ └── xdg-basedir@3.0.0 deduped
  ├── import-lazy@2.1.0
  ├─┬ is-ci@1.2.1
  │ └── ci-info@1.6.0
  ├─┬ is-installed-globally@0.1.0
  │ ├─┬ global-dirs@0.1.1
  │ │ └── ini@1.3.5
  │ └─┬ is-path-inside@1.0.1
  │   └── path-is-inside@1.0.2
  ├── is-npm@1.0.0
  ├─┬ latest-version@3.1.0
  │ └─┬ package-json@4.0.1
  │   ├─┬ got@6.7.1
  │   │ ├─┬ create-error-class@3.0.2
  │   │ │ └── capture-stack-trace@1.0.1
  │   │ ├── duplexer3@0.1.4
  │   │ ├── get-stream@3.0.0 deduped
  │   │ ├── is-redirect@1.0.0
  │   │ ├── is-retry-allowed@1.2.0
  │   │ ├── is-stream@1.1.0 deduped
  │   │ ├── lowercase-keys@1.0.1
  │   │ ├── safe-buffer@5.2.0 deduped
  │   │ ├── timed-out@4.0.1
  │   │ ├── unzip-response@2.0.1
  │   │ └─┬ url-parse-lax@1.0.0
  │   │   └── prepend-http@1.0.4
  │   ├─┬ registry-auth-token@3.4.0
  │   │ ├─┬ rc@1.2.8
  │   │ │ ├── deep-extend@0.6.0
  │   │ │ ├── ini@1.3.5 deduped
  │   │ │ ├── minimist@1.2.0 deduped
  │   │ │ └── strip-json-comments@2.0.1
  │   │ └── safe-buffer@5.2.0 deduped
  │   ├─┬ registry-url@3.1.0
  │   │ └── rc@1.2.8 deduped
  │   └── semver@5.7.1 deduped
  ├─┬ semver-diff@2.1.0
  │ └── semver@5.7.1
  └── xdg-basedir@3.0.0

Oh jeeze. I thought it might have been a problem with the wrong version of the protocol being used but I'm not sure now. Does this happen with cloned archives, too? Is this archive being loaded anywhere else like Beaker?

This is just happening in one archive. I made a new archive and that one is working fine so far, but this happens consistently on that one archive. I'm not sure if anyone is loading it; I was only trying to transfer to another computer using the dat command line on each.

Is it possible that you created that archive some time ago and updated the dat cli recently?

No, this happened within a couple hours of creating the dat archive, and the dat cli was not updated during that time.

This should be fixed now on dat@next if both sides are using dat@next with fresh directories. dat@next is not compatible with beaker.