Error message : to-be-sent trailing metadata size exceeds peer limit

Hy there,

i’m starting to rewrite my selenium testing code to rfBrowser.

As far as I can tell it’s better and meets my needs in terms of

  • cross browser testing
  • ease of use
  • ease of installation

but some error messages are cryptic to me.

i’m using version 1.6 with robot framework 3.2.2
I’m testing a HUGE html page made with Primefaces (some network transfer are 2.2Mb) and i have, on certain version of my server this error message

to-be-sent trailing metadata size exceeds peer limit

and only with Chromium driver (firefox driver is ok)

it appears on click instruction

in a general manner : how can i investigate ?
in a particular point of view : what’s the matter here ?

thx for your help

1 Like

Interesting would it possible to see corresponding error from the logs?

Hi @aaltat

sure, how can i send it…
i assume you want to see playwright-log.txt

do I copy paste it here in preformatted text ?

is there a pastebin or something like that ?

as far as i undestand. thereis a loop upon click instruction

waiting for selector "css=.BWTabScreen:nth-of-type(1)>a"
  selector resolved to visible <a tabindex="-1" href="#tabscontent:tabView:tabview…>Recherche Fournisseur</a>
attempting click action
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events

then rfbrowser retries 22 times

retrying click action, attempt #21
  waiting 500ms
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events

i then have a bunch of rough words

============================================================
Note: use DEBUG=pw:api environment variable and rerun to capture Playwright logs.
    at Connection.sendMessageToServer (/data/Documents/Quality/rf2/lib/python3.8/site-packages/Browser/wrapper/node_modules/playwright/lib/client/connection.js:69:15)
    at Proxy.<anonymous> (/data/Documents/Quality/rf2/lib/python3.8/site-packages/Browser/wrapper/node_modules/playwright/lib/client/channelOwner.js:54:53)
    at /data/Documents/Quality/rf2/lib/python3.8/site-packages/Browser/wrapper/node_modules/playwright/lib/client/frame.js:257:40
    at Frame._wrapApiCall (/data/Documents/Quality/rf2/lib/python3.8/site-packages/Browser/wrapper/node_modules/playwright/lib/client/channelOwner.js:80:34)
    at Frame.click (/data/Documents/Quality/rf2/lib/python3.8/site-packages/Browser/wrapper/node_modules/playwright/lib/client/frame.js:256:21)
    at /data/Documents/Quality/rf2/lib/python3.8/site-packages/Browser/wrapper/node_modules/playwright/lib/client/page.js:389:60
    at Page._attributeToPage (/data/Documents/Quality/rf2/lib/python3.8/site-packages/Browser/wrapper/node_modules/playwright/lib/client/page.js:190:20)
    at Page.click (/data/Documents/Quality/rf2/lib/python3.8/site-packages/Browser/wrapper/node_modules/playwright/lib/client/page.js:389:21)
    at Object.<anonymous> (/data/Documents/Quality/rf2/lib/python3.8/site-packages/Browser/wrapper/index.js:12089:45)
    at step (/data/Documents/Quality/rf2/lib/python3.8/site-packages/Browser/wrapper/index.js:11896:23)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:80527) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:80527) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

thx for your interest

For starters coping here is good. Have read it from a bigger screen and let’s see what it reveals.

not sure yoiu were asking for the complete log, here it is

 {"level":30,"time":"2020-10-21T13:40:54.866Z","pid":80527,"hostname":"serici-papageno","msg":"Listening on 48555"}
{"level":30,"time":"2020-10-21T13:40:55.277Z","pid":80527,"hostname":"serici-papageno","msg":"Changed active context"}
{"level":30,"time":"2020-10-21T13:40:55.423Z","pid":80527,"hostname":"serici-papageno","msg":"Changed active page"}
{"level":30,"time":"2020-10-21T13:41:09.783Z","pid":80527,"hostname":"serici-papageno","msg":"unparsed args: e => !e.disabled, xpath=//*[contains(@class,\"fa-pencil-square-o\")]/.., {\"timeout\": 40000.0}"}
(node:80527) UnhandledPromiseRejectionWarning: page.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for selector "css=.BWTabScreen:nth-of-type(1)>a"
  selector resolved to visible <a tabindex="-1" href="#tabscontent:tabView:tabview…>Recherche Fournisseur</a>
attempting click action
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #1
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #2
  waiting 20ms
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #3
  waiting 100ms
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #4
  waiting 500ms
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #5
  waiting 500ms
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #6
  waiting 500ms
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #7
  waiting 500ms
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #8
  waiting 500ms
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #9
  waiting 500ms
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #10
  waiting 500ms
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #11
  waiting 500ms
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #12
  waiting 500ms
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #13
  waiting 500ms
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #14
  waiting 500ms
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #15
  waiting 500ms
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #16
  waiting 500ms
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #17
  waiting 500ms
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #18
  waiting 500ms
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #19
  waiting 500ms
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #20
  waiting 500ms
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #21
  waiting 500ms
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (67.89,418.78)
  <div id="tabscontent:tabView:j_idt3691" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt3689" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #22
  waiting 500ms
============================================================
Note: use DEBUG=pw:api environment variable and rerun to capture Playwright logs.
    at Connection.sendMessageToServer (/data/Documents/Quality/rf2/lib/python3.8/site-packages/Browser/wrapper/node_modules/playwright/lib/client/connection.js:69:15)
    at Proxy.<anonymous> (/data/Documents/Quality/rf2/lib/python3.8/site-packages/Browser/wrapper/node_modules/playwright/lib/client/channelOwner.js:54:53)
    at /data/Documents/Quality/rf2/lib/python3.8/site-packages/Browser/wrapper/node_modules/playwright/lib/client/frame.js:257:40
    at Frame._wrapApiCall (/data/Documents/Quality/rf2/lib/python3.8/site-packages/Browser/wrapper/node_modules/playwright/lib/client/channelOwner.js:80:34)
    at Frame.click (/data/Documents/Quality/rf2/lib/python3.8/site-packages/Browser/wrapper/node_modules/playwright/lib/client/frame.js:256:21)
    at /data/Documents/Quality/rf2/lib/python3.8/site-packages/Browser/wrapper/node_modules/playwright/lib/client/page.js:389:60
    at Page._attributeToPage (/data/Documents/Quality/rf2/lib/python3.8/site-packages/Browser/wrapper/node_modules/playwright/lib/client/page.js:190:20)
    at Page.click (/data/Documents/Quality/rf2/lib/python3.8/site-packages/Browser/wrapper/node_modules/playwright/lib/client/page.js:389:21)
    at Object.<anonymous> (/data/Documents/Quality/rf2/lib/python3.8/site-packages/Browser/wrapper/index.js:12089:45)
    at step (/data/Documents/Quality/rf2/lib/python3.8/site-packages/Browser/wrapper/index.js:11896:23)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:80527) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:80527) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
{"level":30,"time":"2020-10-21T13:41:30.600Z","pid":80527,"hostname":"serici-papageno","msg":"Changed active context"}
{"level":30,"time":"2020-10-21T13:41:30.600Z","pid":80527,"hostname":"serici-papageno","msg":"Changing current active page"}
{"level":30,"time":"2020-10-21T13:41:30.600Z","pid":80527,"hostname":"serici-papageno","msg":"Changed active page"}
{"level":30,"time":"2020-10-21T13:41:30.684Z","pid":80527,"hostname":"serici-papageno","msg":"Changed active context"}
{"level":30,"time":"2020-10-21T13:41:30.684Z","pid":80527,"hostname":"serici-papageno","msg":"Changing current active page"}
{"level":30,"time":"2020-10-21T13:41:30.684Z","pid":80527,"hostname":"serici-papageno","msg":"Changed active page"}
1 Like

what’s annoying me is that it appears only on certain versions, only in chromium, only with rfbrowser (not with selenium)

We have an idea what causes this, but we have not been able to fix it. But it is on our scope.

1 Like

Thx for your insterest and work, tell me if i can help !

There was indication that this should be resolved in 2.0 release. Would it possible to try it out?

already tested…
can give you the log if you want

Could you raise a new issue in the Browser library issue tracker. With details how to reproduce the issue.

Hi,
I can raise a new issue of course. But i don’t know how to reproduce … i will try a diff between a working html page and a bug trigger one. but html file is 2.6mb ! not sure to find my way :frowning:

I have the same error, also testing quite big html page. Have you raised the issue? can’t find it

nope, i didn’t create an issue on bug tracker

i could’nt figure out how to make a repro case …

Found similar issue in their github https://github.com/MarketSquare/robotframework-browser/issues/403
This seems to be an error message when an element was not found

1 Like

The trailing metadata problem should be now fixed in latest Browser library release (2.2.0). Now library should report the original problem correctly.

gonna try it this afternoon !!!

Hi there,

i can confirm that in version 2.2 i have a clear message :

waiting for selector "css=.BWTabScreen:nth-of-type(1)>a"
  selector resolved to visible <a tabindex="-1" href="#tabscontent:tabView:tabview…>Recherche Fournisseur</a>
attempting click action
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (68.89,418.78)
  <div id="tabscontent:tabView:j_idt2787" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt2785" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #1
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
    [ Message content over the limit has been removed. ]
  <div id="tabscontent:tabView:j_idt2529" class="ui-out…></div> from <div id="tabscontent:tabView:j_idt2527" class="ui-out…>…</div> subtree intercepts pointer events
retrying click action, attempt #10
  waiting 500ms
  waiting for element to be visible, enabled and not moving
  element is visible, enabled and does not move
  scrolling into view if needed
  done scrolling
  checking that element receives pointer events at (68.89,418.78)
  <div id="tabscontent:tabView:j_idt2529" class="ui-out…></div> from <div id="tabscontent:tabView:j

thx for your work …

1 Like