Fails to run test (Error: ERR_FAILED (-2) loading)
Author: fduraibiCreated Feb 21, 2022Updated Mar 27, 2023
It fails with the default settings/image when pressing the "Click to Start" button
Console output:
[me@fedora unredacter]$ npm start
> [email protected] start
> npm run build && electron ./dist/main.js
> [email protected] build
> tsc
(node:42136) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(node:42175) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Error occurred in handler for 'redact': Error: ERR_FAILED (-2) loading ' data:text/html;charset=utf-8, <HTML/> <body style="padding: 8px 0px 0px 8px; background-color:white;"> <span style="padding 0px 0px 0px 0px; font-weight: normal; line-spacing: 0px; word-spacing: 0px; white-space: pre; margin: 0; font-size: 32px; font-family:'Arial'">a</span><span style="padding 0px 0px 0px 0px; margin: 0; color: blue; font-size: 32px; font-family:'Arial'">█</span> </body> </HTML> '
at rejectAndCleanup (electron/js2c/browser_init.js:225:1288)
at WebContents.stopLoadingListener (electron/js2c/browser_init.js:225:1673)
at WebContents.emit (events.js:223:5) {
errno: -2,
code: 'ERR_FAILED',
url: ` data:text/html;charset=utf-8, <HTML/> <body style="padding: 8px 0px 0px 8px; background-color:white;"> <span style="padding 0px 0px 0px 0px; font-weight: normal; line-spacing: 0px; word-spacing: 0px; white-space: pre; margin: 0; font-size: 32px; font-family:'Arial'">a</span><span style="padding 0px 0px 0px 0px; margin: 0; color: blue; font-size: 32px; font-family:'Arial'">█</span> </body> </HTML> `
}System: Fedora 35
Source: BishopFox/unredacter