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

WACZ range request error #255

Open
preetamsinghvi opened this issue Oct 10, 2023 · 2 comments
Open

WACZ range request error #255

preetamsinghvi opened this issue Oct 10, 2023 · 2 comments
Labels
question Further information is requested

Comments

@preetamsinghvi
Copy link

Hey!

I am trying to embed this player into our repository. Our application is developed on ruby on rails.
It works perfectly fine when parsing WARC files through the player, But throws the following error when I parse any WACZ file.

Sorry, can't load this WACZ file due to lack of range request support on the server.

Is there a way I can run the wacz file without the support of range requests?

@Shrinks99
Copy link
Member

Shrinks99 commented Oct 10, 2023

Range requests are required for ReplayWeb.page to not have to download the entire WACZ file. You can use the loading="eager" attribute to force ReplayWeb.page to download the entire WACZ at once and not perform a range request, but this isn't exactly a good or performant solution. You should look into turning them on!

For more information, see the Embedding ReplayWeb.page docs

@Shrinks99 Shrinks99 added the question Further information is requested label Oct 10, 2023
@preetamsinghvi
Copy link
Author

I had tried that but it bought up another error.

Unexpected Loading Error: TypeError: this.store.loadWACZFiles is not a function

Couldn't figure out what started that.

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

No branches or pull requests

2 participants