-
Notifications
You must be signed in to change notification settings - Fork 1.2k
ipfs.add(stream) 504 gateway timeout #4347
Comments
Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
Finally, remember to use https://discuss.ipfs.io if you just need general support. |
Hi there! js-ipfs is being deprecated in favor of Helia. You can learn more about this deprecation and the corresponding migration guide here. It seems like the core issue you're running into is that you are getting a 504 "gateway timeout" when attempting to retrieve your content, but you haven't really specified how you're trying to retrieve your content. This could be due to not "publishing" the data you created/added on ipfs, or downloading too much content from the gateway you're using, etc. This current bug or feature request will not be addressed in js-ipfs due to its deprecation. 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, |
Content was retrieved from The Does @helia/unixfs support adding a WHATWG ReadableStream or Node stream.Readable? Our use case is to take a http stream upload and then stream-upload the file to IPFS without buffering the file in memory or storing the file on file system. Thanks. |
@SourceBoy it looks like unix-fs supports adding content via https://www.npmjs.com/package/ipfs-unixfs-importer is the package that @helia/unixfs is using with the |
@SgtPooki Thank you |
No problem! Please let us know with a an issue on the helia/unixfs repo if helia/unixfs doesn't work for your usecase and we’ll work to help you out there :) |
Platform: amd64 (docker node:18-slim)
Subsystem: ipfs-core
Severity: High
Description:
ipfs.add(<stream>)
receives a cid but gets a 504 during content retrieval.Doc ref: https://github.com/ipfs/js-ipfs/blob/master/docs/core-api/FILES.md#filecontent
Steps to reproduce the error:
The text was updated successfully, but these errors were encountered: