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 and add_string #188
Comments
|
Thanks for the report! Which version of go-ipfs are you using? There were some known issues with some recent versions regarding this. Please run the following commands and report their results for this:
Will help you after this if I can! |
|
I'm also experiencing similar behavior when trying to add a string or json object larger than 4096 characters via ipfshttpclient i'm using: i also tried downgrading go-ipfs to earlier versions, but the behaviour was the same, string get truncated at 4096 characters Here is a bit of code to reproduce the behaviour: ` ` |
|
Just saw there is another open issue regarding this same problem: it mentions setting chunk_size when connecting to the ipfs node I have tried it and setting chunk_size to a larger number does work. But would this cause any side effects if I set it to a very large number? |
|
Found the problem and created a pull request: |
batrlatom commentedJul 11, 2019
•
edited
Python 3.7
py-ipfs-http-client ... last version
I have a problem with adding images in base64 format. The content is not added as a whole. Is there any limit to the size of the string or byte array?
Original to be added:

What was added (as an example, not exactly the same image):

The text was updated successfully, but these errors were encountered: