-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes not all files passed to add() function are added #85
Comments
Thanks for reporting, but we unfortunately do not currently have time to look into fixing this. (Maybe in a couple of weeks.) You, or anybody else interested in helping out, are very welcome to provide patches or further hints for this through. Sorry for the delayed response, this should have been sent on Thursday, but GitHub apparently told me: „You can't comment at this time.“ – And I didn't see. 😒 |
@TheKysek Nice catch! I also can't try to debug this at the moment, but we'd welcome any further hints as to where the error originates. It seems like the IPFS node is sometimes receiving an invalid HTTP body. It's possible that the error has something to do with the code that generates the multipart HTTP request body. |
This should be fixed by the new multipart code (9edc945), although I think the issue was already fixed before that. |
For anyone googling |
While running tests against newest versions of go-ipfs i noticed that "test_add_multiple_from_list" was seemingly randomly failing.
It seems like while adding multiple files using "add(['file1', 'file2'])" sometimes this call fails.
When this happens the following error is printed in go-ipfs daemon console:
The text was updated successfully, but these errors were encountered: