Open kungfooman opened 5 years ago
Hey @kungfooman. I don't get the error, although I can't load it either. /cc @olizilla @fsdiogo
The main problem here is that we're not able to discover that CID, via local IPFS nodes or the IPFS gateway nodes. https://ipfs.io/ipfs/QmcpbcM7ogmN6SJWf3VTQcgtpyi3wykzqgMDiDdNjmCh12 would ask the gateway nodes to try and find that content, but it's not finding it.
That's odd. I wonder if dtube are announcing their blocks on the main dht. @daviddias do you have any ideas?
We also need better error messages here. Their is an error in the log that shows https://video.dtube.top/ipfs/QmcpbcM7ogmN6SJWf3VTQcgtpyi3wykzqgMDiDdNjmCh12
is an invalid CID, which would happen if you try and use the full URL instead of a IPFS address. We can do a better job of explaining the input format that is expected for the explore form.
Looks like they role with a default IPFS config https://github.com/dtube/deploy/blob/a84f452fc6a9ce823e8e574d301a1008c1318ddb/roles/ipfs/tasks/ipfsrun.yaml#L9-L12
I am new to IPFS and just testing around, e.g. I wanted to see what happens when I add dtube hashes:
https://video.dtube.top/ipfs/QmcpbcM7ogmN6SJWf3VTQcgtpyi3wykzqgMDiDdNjmCh12
But using the hash causes bugs:
Failed to resolve path