You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is the web server not returning a header or something that replayweb.page is expecting?
@edsu recently wrote a good forum post on exactly this problem for another user experiencing the same thing. I can partially replicate this behavior by trying to download the file in the browser, it will not be able to display a progress bar or time remaining estimate (in either Firefox or Chrome)!
... However, using curl --head returns this, which includes Content-Length so that's curious.
The issue is unfortunately due to a bug/incorrect handling in Firefox. Chrome and Safari correct add Accept-Encoding: identity (the default) header when a range request is sent, allowing the server to return content-length. Unfortunately, Firefox always sends Accept-Encoding: gzip, deflate, br, zstd, which causes the header to return a compressed version of the WACZ, which is not what we want.
Barring the fix in Firefox, I think the best option is to ensure your server ignores the Accept-Encoding header for WACZ files.
You can see that if you do curl --head -H "Accept-Encoding: gzip, deflate, br, zstd" https://digital.lib.utk.edu/demo/abolition_now_test.wacz, there will be no content-length. Unfortunately, it seems there's no way to prevent Firefox from sending this header. (Will open a bug in firefox).
ReplayWeb.page Version
v2.0.0
What did you expect to happen? What happened instead?
When trying to replay a WACZ in Firefox, I get this error message:
Interestingly, this works fine in both Chrome and Safari. I'm not sure if this is related to how I captured the WACZ or something else.
In case it's helpful, I used Browsertrix-Crawler and this command:
This opens fine in replayweb.page locally, but won't open in Firefox remotely:
Is the web server not returning a header or something that replayweb.page is expecting?
Step-by-step reproduction instructions
Additional details
No response
The text was updated successfully, but these errors were encountered: