-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
InvalidStateError: Failed to read the 'responseText' property from 'XMLHttpRequest' #5496
Comments
After a long time debugging and reading the logs of the users for whom the error was triggered I noticed other errors such as :
Then I found an interesting information in the specification, here it is.
I think that both errors are closely related to the same problem, namely that the user does not have enough free memory on his device, or a memory allocation bug. |
Hi @RealAlphabet, Is this something you can still reproduce? Have you tried catching the exception, and/or taken steps to reduce memory usage? |
Hi @robwalch It seems to be fixed with this PR #6842 on 1.6.0 milestone |
Thank you Luca. Are you looking for this fix in a patch to 1.5? |
There is a logic error in the default XHR loader code of HLS.
response
can benull
if the request failed.Also in accordance with the specification.
Here is the line corresponding to the error.
hls.js/src/utils/xhr-loader.ts
Line 202 in a58ce98
The text was updated successfully, but these errors were encountered: