Version: js-ipfs 0.32.3
Chrome and FF on Mac OS X Sierra
I am trying to migrate everything to my own main IPFS node (bootstrap, preload, gateway, etc). I have managed to figure out how to add a new bootstrap node and pass the preload server in the initial options. The node connects and peers start to come in. I can see the wss connections in the network tab, but not to my node. If I am not mistaken, this would be the functionality served on port 4001?
const options = {
preload: {
enabled: true,
addresses: [ '/dnsaddr/ipfs.domain.com/https' ],
}
}
const IPFSNode = new IPFS(options);
Here is how I am boostrapping…
const psboot = '/ip4/10.10.10.10/tcp/4001/ipfs/Qma1KdoY2pch24e3frhdFmcU1oJQgnFtYLTGHcjuYbYbgP';
this.props.node.bootstrap.rm(null, { all: true }, (err, res) => {
if (err) console.log(err);
this.props.node.bootstrap.add(psboot, { default: false }, (err, res) => {
if (err) console.log(err);
this.props.node.config.get((err, config) => console.log(config));
this.setState({ node: this.props.node });
});
});
Things seem to connect fine but when I execute the catReadStream(), nothing happens. No error and no blocks over the stream. Am I missing something?
The refs request goes out fine to my newly configured preloader and a valid response is received. The embedded node connects and gains peers from the bootstrap config as well so I am somewhat confused as to what else is blocking.