electron: Failed to load URL: chrome-extension://idfgllamndddgpeogaeoaiekkiafajcb/main.html with error: ERR_BLOCKED_BY_CLIENT, "Ignoring unauthorized client request from null"

See original GitHub issue
(node:29044) electron: Failed to load URL: chrome-extension://idfgllamndddgpeogaeoaiekkiafajcb/main.html with error: ERR_BLOCKED_BY_CLIENT
(Use `electron --trace-warnings ...` to show where the warning was created)
[29044:0818/105032.720:ERROR:CONSOLE(1)] "Ignoring unauthorized client request from null", source: devtools://devtools/bundled/models/extensions/extensions.js (1)

I’m not really sure what the issue is here, and since I’m using Electron Forge I can’t pass trace-warnings to electron. 😦

Is this an incorrect usage of electron-devtools-installer?

app.on('ready', async () => {
	if (process.env.NODE_ENV === 'development') {
		await install(REACT_DEVELOPER_TOOLS)
	}

	createWindow()
})

Removing the await install(...) line causes the error to go away, and logging the output of it just prints React Developer Tools, as if the install was successful.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11

github_iconTop GitHub Comments

1reaction
LoganDarkcommented, Jan 21, 2022

The problem was that I was using a custom session. Since react-devtools-installer doesn’t let you choose the session, the custom session wasn’t getting the devtools.

Solution was to unset session and partition in webpreferences

0reactions
julianmesa-gitkrakencommented, Jan 21, 2022

Your problem is documented here: loadExtension

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Solve ERR_BLOCKED_BY_CLIENT - KeyCDN Support
An ERR_BLOCKED_BY_CLIENT error is commonly caused due to one of the extensions installed on the browser. Learn more about how to solve this ......
Read more >
Retry loading a webpage when failed in electron
I'm using electron to display some webpages. Below is my coding: var app = require('app'); var ipc = require('ipc'); var BrowserWindow =  ......
Read more >
4 Ways to Fix the “Failed to Load Resource: net - Kinsta
Learn how to fix the "Failed to Load Resource: net::ERR_BLOCKED_BY_CLIENT" error. We'll show you 4 different methods to fix this error.
Read more >
ERR_BLOCKED_BY_CLIENT in Chrome Dev Tools console ...
I'm getting the following in Chrome Dev Tools Console window when loading my home page and other pages.
Read more >
I am getting Failed to load resource net ERR BLOCKED BY ...
net Client properly. Do I need any settings in the browser and will the link come after the error? Failed to load resource:...
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