ipfs / js-ipfs

IPFS implementation in JavaScript
https://js.ipfs.tech
Other
7.44k stars 1.25k forks source link

ipfs-core does not connect with peers listed in the bootstrap field of config file #4273

Closed RebekkalPangras closed 1 year ago

RebekkalPangras commented 1 year ago

Severity:

Description:

I am starting IPFS node programmatically using ipfs-core with custom repository. Have written an implementation of js-datastore following the implementation of js-datastore-s3. The node is started, but it does not connect with the peers mentioned in the bootstrap field of the config file. When tried with 0.15.4, the node connects with peers on startup. But that does not happen for the latest version.

Steps to reproduce the error:

welcome[bot] commented 1 year ago

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review. In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment. Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

Finally, remember to use https://discuss.ipfs.io if you just need general support.

2color commented 1 year ago

@RebekkalPangras

Can you share more reproduction information on how you're setting the bootstrap field and instantiating ipfs?

Also, I recommend checking out the following video to get a bit more insight into debugging the problem: https://youtu.be/sHHJAVVFYAA?t=209

SgtPooki commented 1 year ago

Hello @RebekkalPangras,

js-ipfs is being deprecated in favor of Helia. You can learn more about this deprecation and the corresponding migration guide here.

As a result, we are going to close this issue. If you think we have done this in error, please feel to reopen with any comments in the next week as we will circle back on the reopened issues.

We hope you will consider Helia for your IPFS in JS needs. If you believe this particular request belongs in Helia, feel free to open a Helia issue. We look forward to engaging with you more there.

Thanks, @ipfs/helia-dev