Iframe url exceeds max parameter size
See original GitHub issueDescription:
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:
- Open browser in incognito mode (I used Chrome)
- Start a Jitsi iframe using “new JitsiMeetExternalAPI(jitsiDomain, jitsiOptions)”
- 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)
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:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top GitHub Comments
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.
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.