Skip to content

"No response returned" when too many video sources are loaded in native browser #4970

@MaidScientistIzutsumiMarin

Description

First Check

  • I added a very descriptive title here.
  • This is not a Q&A. I am sure something is wrong with NiceGUI or its documentation.
  • I used the GitHub search to find a similar issue and came up empty.

Example Code

from nicegui import ui

for _ in range(2):
    ui.video("test.mp4")

ui.run(native=True, reload=False)

Description

Start the app.
A RuntimeError occurs with the message "No response returned."

NiceGUI Version

2.21.1

Python Version

Python 3.13.5

Browser

Other

Operating System

Windows

Additional Context

This does not happen if I launch the program in Firefox. I've attached test.mp4 for reproducibility, but this happens with any videos if enough are loaded. It is also related to the length of the videos, where shorter videos need more to be embedded before the error occurs. The number of videos can be increased if this isn't causing an error. The error doesn't seem to cause any issues with the actual functionality of the program besides lagging.

The error also occurs when the event loop is set to WindowsSelectorEventLoopPolicy.

test.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    analysisStatus: Requires team/community input⚪️ minorPriority: Low impact, nice-to-have🌳 advancedDifficulty: Requires deep knowledge of the topic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions