This repository was archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Files larger than 250kb cannot be added by MFS API on browser node. #3576
Labels
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. |
Closed
achingbrain
added a commit
that referenced
this issue
Nov 17, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Type: Bug
Severity: High
Description:
I implemented browser application using ipfs-core in Angular. It is very simple application. Its functionalities are add file by MFS and get from its node and download file.
I cannot add complete file when its size is over 250kB.
↓Origin file.

↓Added file.

First, I thought that my implementation was just wrong in Angular. So I modified example of browser-webpack and added functionality of "add" and download.
As a result, I was able to reproduce the problem.
Next, I check on Node.js too. But I was not able to reproduce the problem.On Node.js, I can use the MFS API or the regular API to add the complete file.
Points are these.
I think only one block can be added to IPFS node on browser when using MFS API. But I don't know why.
Steps to reproduce the error:
Modify example of browser-webpack in this repository.
Modified file is "app.js" only.
code is below.
And, running the example.
Open localhost:3000/ on browser.
Upload File and download.
Lacked cat image is downloaded.
Thanks for any help!
The text was updated successfully, but these errors were encountered: