Skip to content

Instantly share code, notes, and snippets.

@blahah
Last active April 18, 2018 21:24
Show Gist options
  • Save blahah/548be6bd7ce35c6826f63c5a97598a76 to your computer and use it in GitHub Desktop.
Save blahah/548be6bd7ce35c6826f63c5a97598a76 to your computer and use it in GitHub Desktop.
Help diagnose ScienceFair connectivity issues: instructions

Run a simple test suite

npm install -g dat-test
dat-test

Test your basic p2p connecitvity

npm install -g p2p-test
p2p-test

Please copy-paste the output to IRC.

Test your ability to join a swarm

dat doctor 2edfaf31ff5635d86294af596bda0892f990e79eb92a0c1924ee9f01933ceedb

Wait a few minutes, then post the output to the IRC room.

Test your ability to actually transfer data to and from peers

npm install -g dat
dat clone dat://ce62c46f51f1e50fbf9da718540003b47ffce5f19279162ce975a7d0aca164de

The output should show a download happening (around 7MB).

Once it exits, please post the output to the IRC room.

if that fails, or doesn't download the data within a couple of minutes it's possible your firewall or network is blocking some kinds of traffic. We will try without using a DHT, as this is a method also used by Bittorrent:

dat clone --no-dht dat://ce62c46f51f1e50fbf9da718540003b47ffce5f19279162ce975a7d0aca164de

Next, try seeding back to the swarm:

cd ce62c46f51f1e50fbf9da718540003b47ffce5f19279162ce975a7d0aca164de
dat sync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment