Closed fbarbu15 closed 2 weeks ago
I was able to reproduce it. Seems that when sending such a large payload when using nwaku as a lightpush client, the request to the lightpush server doesn't go through.
Either the connection is dropped, or the request exceeds the lightpush client's REST server timeout.
In any case, such a large payload isn't allowed, as our max allowed is 150KiB.
@fbarbu15 should we close this issue? or what exactly needs to happen in order for it to be resolved?
I would expect a more clear error, saying the payload is too big.
Problem
When the payload is >= 300 kb the light push fails with some strange messages
Payload ~= 300 KB
Error is
Failed to request a message push: Exception reading: Stream Remotely Closed!
with 503 Service UnavailablePayload > 300 KB
Error is
Push request timed out
with 503 Service Unavailable light_push_node_that_sends_the_messages.log relay_node.log