Channel closed while still aggregating message

Hello
I have a project related to the elasticsearch database and I want to upload data to the database, but I am facing this problem:

[WARN][o.e.h.AbstractHttpServerTransport][node-1] caught exception while handling clint http traffic, closing connection Netty4HttpChannel{localaddress=......:..., rem>
netty.handler.codec.PrematureChannelClosureException: Channel closed while still aggregating message

Thanks so much for reaching out, @dsagent. Are you using the JavaScript client? Do you have a code sample you can provide?

No I don't use JavaScript clien, I'm using python
As for the code, it is a normal code and it used to work efficiently, but this problem appeared recently and it no longer enters the data

Ah that makes sense. A code sample still could be helpful here. Some resources that could be helpful here as follows: