Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ramp Freezes Page for Many-Sectioned Items #470

Closed
1 task
joncameron opened this issue Apr 3, 2024 · 4 comments
Closed
1 task

Ramp Freezes Page for Many-Sectioned Items #470

joncameron opened this issue Apr 3, 2024 · 4 comments
Assignees

Comments

@joncameron
Copy link
Contributor

joncameron commented Apr 3, 2024

Description

A 425 section item in Media Collections Online loads in Ramp, but the page begins to behave very slowly until the page freezes completely and becomes unresponsive when navigating through the sections and playing back the media.

I tested in Safari and Chrome on macOS 14.4 and in both cases the page would eventually lock up completely.

I noticed two particular error messages when testing this record:
Uncaught promise exception in the console:
Screenshot 2024-04-03 at 3 19 24 PM
"Stream was not recognized" flash message
Screenshot 2024-04-03 at 3 11 57 PM

A public item with more sections than this one is working as expected: https://media.dlib.indiana.edu/media_objects/th83mm25s. Is there something about the example record here in particular causing these errors?

Another issue is manifests sometimes timing out and not being returned; when accessing this item sometimes a 500 is returned.

Example Item

Done Looks Like

  • Further investigation into this issue and exploration of potential causes
@cjcolvar
Copy link
Member

I did some testing and found some issues that may or may not be related:

When switching sections auto.m3u8 takes ~1.5 s, /stream takes 7s->3.3min
Ran into problem with session overflow probably given the number of sections got tokens all at the same time for this item and 600+ section item
SessionOverflow led to 500 when trying to fetch the manifest.json
Sections closed with button reexpand on rerender
There isn't a way to close a section since clicking on section header jumps to the section instead of collapsing like an accordion
Structure flashes back to beginning when switching sections
Segment changes causes focus on newly playing section which can be disorienting when scrolling through long structure

@Dananji Dananji self-assigned this Apr 22, 2024
@Dananji
Copy link
Collaborator

Dananji commented Apr 22, 2024

The item that freezes is not a published public item, so it cannot be loaded into the Ramp demo site.

The working item doesn't load for me. The manifest request fails with 500.

@joncameron If there's another similar item that is publicly available, I can probably load that into a dev instance of Ramp running locally and use the ReactJS profiler to identify which parts within Ramp causes issues.

@joncameron
Copy link
Contributor Author

Here is the large public example item for profiler testing that I shared: https://media.dlib.indiana.edu/media_objects/xg94jb936.

@elynema
Copy link

elynema commented Apr 29, 2024

The error shown here seems to be an issue communicating with the streaming server. This is not likely to be a Ramp issue. This is the item that Chris assembled manually for Music and may need his assistance with troubleshooting.

Note: the example item is failing repeatedly to load for me in MCO and mco-staging with the "failed to load manifest" error for Emily today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants