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

Bug: Mux player getting 403 only in production #925

Open
1 task done
alexandrelipp opened this issue May 22, 2024 · 2 comments
Open
1 task done

Bug: Mux player getting 403 only in production #925

alexandrelipp opened this issue May 22, 2024 · 2 comments
Labels
bug Something isn't working Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug

Comments

@alexandrelipp
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Which Mux Elements/Packages does this apply to? Select all that apply

mux-player-react

Which browsers are you using?

Chrome

Which operating systems are you using?

Windows

Description

When playing a video using a signed URL everything works, but I'm getting 403 with this error:
MediaError: A network error caused the media download to fail. The video is still playing as expected, but why is there a request that fails? In non-production env everything works without errors

Reduced test case

No response

Steps to reproduce

  1. Use a signed video url
  2. Play in a production env in the mux player

Current Behavior

403

Expected Behavior

Remove request that fails

Errors

[mux-player 2.6.0] MediaError: A network error caused the media download to fail.
at sQ. (30.757e86786f25ac29.js:1:100063)
at l.emit (a4634e51.b8188b20774a2005.js:1:199740)
at sQ.emit (a4634e51.b8188b20774a2005.js:1:387179)
at sQ.trigger (a4634e51.b8188b20774a2005.js:1:387265)
at el.handleNetworkError (a4634e51.b8188b20774a2005.js:1:47483)
at Object.onError (a4634e51.b8188b20774a2005.js:1:44614)
at sM.readystatechange (a4634e51.b8188b20774a2005.js:1:339901)

What version of the package are you using?

2.6.0

@alexandrelipp alexandrelipp added bug Something isn't working Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug labels May 22, 2024
@alexandrelipp
Copy link
Author

I am using firebase to host a nextjs application, but the mux player is in a client component. The signed URL is generated server side

@ruptyx
Copy link

ruptyx commented Jun 8, 2024

Have you found a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug
Projects
None yet
Development

No branches or pull requests

2 participants