question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MediaHandler goes into an infinite loop in Firefox with resistFingerprinting

See original GitHub issue

Describe the bug

When the web app tries to start the camera and mic after being granted permissions on Firefox, they keep getting toggled on and off repeatedly forever, until I manually stop the process, by reloading the page, or in some other way.

The Web Console is spammed with this error log repeatedly until manual intervention:

Uncaught (in promise) DOMException: The fetching process for the media resource was aborted by the user agent at the user's request.

I use Arkenfox’s user.js, so it’s possible that some hardened preference is causing this. For example, CORS is being denied to Matrix Sentry, though I’m assuming that’s just analytics, and irrelevant to the functioning of the web app.

If that is the case, could you specify what needs to be changed? For the record, Jitsi and other web apps work fine with my setup.

To Reproduce

  1. Enter a username and room name and join call (doesn’t matter which type).
  2. Grant camera and/or mic permissions when asked.
  3. Error occurs. Open Web Console to see error message spam.

Expected behavior

The camera and/or mic to work and for the call to go ahead.

Desktop (please complete the following information):

  • OS: Windows 7
  • Browser: Firefox 100

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
robintowncommented, Sep 10, 2022

Nope, this is simply a bug on our end

0reactions
opusforlife2commented, Sep 10, 2022

Thanks for the info.

For the record, Jitsi and other web apps work fine with my setup.

Is Element Call using some feature that these other apps don’t need? I just tested Jitsi again with the exact same setup, and everything works fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Firefox's protection against fingerprinting
Firefox already has an Enhanced Tracking Protection feature that blocks a list of known "fingerprinters" when your privacy settings are set to Standard...
Read more >
Asking for webcam/microphone permissions while they are ...
resistFingerprinting set to true, other call sites such as google meet behave ... MediaHandler goes into an infinite loop in Firefox with ......
Read more >
Firefox resistFingerprinting vs. Cloudflare challenge
Attempting to spoof your browser in any way is likely going to trigger any of the ... there's a line between challenges and...
Read more >
Atlassian cloud login infinite loop
On firefox 68.0.1 I'm stuck in a redirect loop while trying to login to ... and resist finger printing and it worked randomly...
Read more >
if i make a mistake in code and cause an infinite loop ...
The short answer is: No. This is one good reason to use Firebug and the console.log function. Which, ironically, will cause the "stop...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found