Skip to content
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

add_bytes upload is broken for bigger files #190

Closed
yashh opened this issue Aug 21, 2019 · 1 comment
Closed

add_bytes upload is broken for bigger files #190

yashh opened this issue Aug 21, 2019 · 1 comment

Comments

@yashh
Copy link

yashh commented Aug 21, 2019

When uploading images to IPFS (0.4.21 and 0.4.22) we noticed that images are getting cropped / incomplete. As you can see here the image below has nt been uploaded completely.

QmYqkegz1i9BCMHHKb9FwSyMNEBu6r7NK6csZhekbSmdVR

client = ipfshttpclient.connect('/ip4/127.0.0.1/tcp/5001/http"', chunk_size=4096, session=True)

When I tweak chunk_size I see different result. When I use bigger chunk size the image upload works. 4096 or lower causes incomplete upload. Any idea how to fix this?

@AliabbasMerchant
Copy link
Member

AliabbasMerchant commented Nov 20, 2019

This is similar to #188
Will be fixed by #194

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants