robotframework-browser icon indicating copy to clipboard operation
robotframework-browser copied to clipboard

Received message larger than max (5406604 vs. 4194304)

Open JaPyR opened this issue 3 years ago • 6 comments

Describe the bug I have a test case where I need to wait for request end before further interacting with page so my code look like:

${promise}    Promise To    Wait For Response    matcher
....
<Some Actions>
....
Wait For    ${promise}

If I understand correctly size of the response (big json, around 5 megabytes and I am not interested in it's content) is the reason why keyword Wait For fails with message "Received message larger than max (5406604 vs. 4194304)".

JaPyR avatar Feb 28 '22 11:02 JaPyR

We use gRPC to communicate between Python and Node lands. Messages have max limit and if that exceeded, keyword will fail. Unfortunately there is not way to increase the max limit of the message.

I guess we could cut the json and make it fit to the maximum message size. But in that case, we would not return valid json and are in dancer to loose something important information.

But I agree that how keyword works now, is not correct either and it should be fixed, in one way or another.

aaltat avatar Mar 04 '22 21:03 aaltat

@allcontributors please add @JaPyR for bugs.

aaltat avatar Mar 04 '22 22:03 aaltat

@aaltat

@JaPyR already contributed before to bug

allcontributors[bot] avatar Mar 04 '22 22:03 allcontributors[bot]

Any updates on this guys? Is there any alternative approach for this

Sathish787 avatar Aug 25 '22 22:08 Sathish787

Currently there is not, I tried once to solve the problem, but could not get the node side working.

aaltat avatar Aug 26 '22 11:08 aaltat

I'm facing the same issue

lgaitan avatar Feb 29 '24 18:02 lgaitan