question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Iframe url exceeds max parameter size

See original GitHub issue

Description:

When HostPageLocalStorage is true jitsi settings are stored locally in jitsiLocalStorage. The jitsiLocalStorage is passed to the iframe URL to persist settings. The features/recent-list however continues to grow in size on each refresh etc. As jitsiLocalStorage is passed to the iframe URL, and is never reset, eventually the iframe fails to load as the max parameter size is exceeded. The only way users can fix the issue is by manually clearing the local storage.

Relavent files jitsi-meet/modules/API/external/external_api.js jitsi-meet/react/features/base/jitsi-local-storage/setup.web.js

  • First request features/recent-list “conference":"https://8x8.vc/vpaas- … appData.localStorageContent=null","date":1638251474303,"duration":0}”

  • Second request features/recent-list “conference":"https://8x8.vc/vpaas- … appData.localStorageContent=%22%7B%5C%22features%2Fvideo-quality-persistent-storage% …”

appData.localStorageContent continues to grow with each refresh.

Steps to reproduce:

  1. Open browser in incognito mode (I used Chrome)
  2. Start a Jitsi iframe using “new JitsiMeetExternalAPI(jitsiDomain, jitsiOptions)”
  3. Keep refreshing the page (a good 50ish+ times)

Expected behaviour:

Iframe always loads successfully.

Actual behaviour:

Iframe fails to load with parameters size exceeded

See features/recent-list size (continues to grow) Screen Shot 2021-11-30 at 7 43 18 pm

Server information:

Using JAAS

Client information:

  • Browser / app version: Chrome / Version 96.0.4664.55 (Official Build) (arm64)
  • Operating System: Mac

Additional information:

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
saghulcommented, Nov 30, 2021

Good catch, thanks for the report!

I’d say we should stop storing items on the recent list when running in the iframe, since it’s not going to be visible anyway.

0reactions
stale[bot]commented, Apr 18, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Passing large parameters to an iframe - Stack Overflow
My current problem is that when the query string passes about 2100 characters, the request is not sent. Background on this is that...
Read more >
Maximum length of a URL in different browsers - GeeksforGeeks
Google Chrome – Google Chrome allows the maximum length of the URL to be of the size 2MB (2,097,152 characters). · Mozilla Firefox...
Read more >
Optional query string parameters for Iframely APIs
The maxheight= parameter in pixels is respected, and such widget won't exceed the requested size. Instead, if rich media becomes taller than the...
Read more >
How to Fix the 414 Request-URI Too Large Error - Kinsta
The 414 Request-URL Too Large error is a critical configuration issue somewhere between your browser and a server. Here's how to fix it....
Read more >
HTML attribute: maxlength - MDN Web Docs
The maxlength attribute defines the maximum number of characters (as ... Any maxlength value must be greater than or equal to the value...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found