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.

Widevine components don't install if proxy is configured but not available

See original GitHub issue

OS: macOs, High Sierra, 10.13.6 Version of electron-releases: 3.0.2-wvvmp

Use Case:

  • A user has a proxy configured with a Proxy Configuration File, but the proxy becomes unreachable.
  • In our application we have logic that sets the proxy settings for the electron application if it is configured AND available.
  • If the proxy is configured and NOT available, the app runs without doing this extra work and runs as if the proxy isn’t there
  • If the proxy is configured and NOT available, Widevine errors with the error code Error: net::ERR_MANDATORY_PROXY_CONFIGURATION_FAILED

Steps to reproduce

  • Download the newest version of the application
  • Open the terminal and clear out Library/Application\ Support/APP_NAME (rm -rf ~/Library/Application\ Support/APP_NAME)
  • Open up the System Preferences -> Network -> Wi-Fi
  • Ensure the lock in the lower left-hand corner is unlocked to make changes
  • Click Advanced -> Proxies
  • Check the Automatic Proxy Configuration box and put in a bogus URL (http://localhost:8080/foo.pac)
  • Save/Apply the changes
  • Install the application
  • Open the application
    • EXPECTED: The application installs and loads the login page
    • ACTUAL: An error occurs, Error: net::ERR_MANDATORY_PROXY_CONFIGURATION_FAILED, and the application closes
  • Close the application if it hasn’t closed already
  • Remove the Automatic Proxy Configuration
  • Open the application
    • EXPECTED/ACTUAL: The application loads the login page

Proposed solution:

  • is it possible to have to opt into using the proxy for downloading the Widevine components, thus not using the proxy by default? Instead of defaulting to using the proxy and erroring if it is not available?

Hopefully all of this makes sense; if not, or if I am missing something, please let me know.

Relates to #31

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

alexanderturinskecommented, May 14, 2019

Thank you so much! This looks great!

While you were working on this, I wrote of up guide for our clients on how to disable their proxy, install our application, and then re-enable; this temporary workaround seems to have placated several of our clients, but we definitely will want to upgrade to a version that supports this use case.

We are not stuck on 3.0.x; it is more that we just haven’t had the resources/reasons to upgrade…yet.

Thanks again; I will let you know how it goes.

Sorry for the late response; I was on PTO. 🍹

khwaajcommented, Aug 2, 2019

Closing due to inactivity, please reopen if you are still having issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

7 Ways to Fix the Widevine Content Decryption Module Error
1. Update Widevinecdm component · Locate Widevine Content Decryption Module and select Check for update. · Refresh your page and if you'll see...
Read more >
No widevine component. How can I install it? - Google Support
I'm unable to find the widevinecdm in components section of chrome book. ( chrome://components) and I've set it to factory settings too.
Read more >
10 Best Ways to Fix Netflix Error Code M7353-5101
Netflix isn't prone to failures, but like any online service, technical issues can occur. To help you diagnose the problem and understand ...
Read more >
Widevine DRM Architecture Overview | WHY MATEMATICA
This overview will introduce the nine core components of the Widevine DRM architecture and explain how the components work together to create a...
Read more >
Private Server (host it yourself) and default mode is "capture ...
Just skip content that is protected at the widevine level, having a youtube link instead of the video is better than nothing. Also...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found