Error while adding large size files into IPFS-cluster

Hi Team,

I’m getting this error log from docker container while adding multiple files simultaneously into IPFS-cluster using /add API endpoint:

ERROR adder adder/adder.go:166 error adding to cluster: context canceled

Can someone please let me know why context is getting timed out and how can I prevent that?

It means that the add request was cancelled. How are you adding? Do you have nginx in front of the cluster API? Some http clients don’t like that response bodies start being sent while request body hasn’t finished sending…