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

Error: Request Interception is not enabled #1264

Closed
nazmi opened this issue Dec 8, 2020 · 1 comment
Closed

Error: Request Interception is not enabled #1264

nazmi opened this issue Dec 8, 2020 · 1 comment
Assignees

Comments

@nazmi
Copy link
Contributor

nazmi commented Dec 8, 2020

Expected Behavior

Current Behavior

Throws error only when i change PAGE_BACKOFF_MIN values

Steps to Reproduce

  1. Set store to 503/else
  2. PAGE_BACKOFF_MIN="60000"

Environment

OS: Windows 10 20H2
.env file:

PAGE_BACKOFF_MIN="60000"
SHOW_ONLY_SERIES="ryzen5600"
STORES="ccl"

Logs

[6:43:26 pm] warn :: ✖ [ccl] [amd (ryzen5600)] 5600x :: STATUS CODE ERROR 503
[6:44:36 pm] info :: [ccl] Running linksBuilder...
[6:44:36 pm] warn :: ✖ [ccl] [amd (ryzen5600)] 5600x :: STATUS CODE ERROR 503
(node:15808) UnhandledPromiseRejectionWarning: Error: Request Interception is not enabled!
at Object.exports.assert (C:\streetmerchant\node_modules\puppeteer\lib\cjs\puppeteer\common\assert.js:26:15)
at Proxy.respond (C:\streetmerchant\node_modules\puppeteer\lib\cjs\puppeteer\common\HTTPRequest.js:270:21)
at PuppeteerBlocker.onRequest (C:\streetmerchant\node_modules@cliqz\adblocker-puppeteer\adblocker.ts:301:17)
at BlockingContext.onRequest (C:\streetmerchant\node_modules@cliqz\adblocker-puppeteer\adblocker.ts:62:43)
at C:\streetmerchant\src\store\lookup.ts:111:3
at new Promise ()
at handleAdBlock (C:\streetmerchant\src\store\lookup.ts:85:9)
at C:\streetmerchant\src\store\lookup.ts:197:14
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(Use node --trace-warnings ... to show where the warning was created)
(node:15808) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 173)
(node:15808) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[6:46:45 pm] info :: [ccl] Running linksBuilder...
[6:46:50 pm] warn :: ✖ [ccl] [amd (ryzen5600)] 5600x :: STATUS CODE ERROR 503

@jef
Copy link
Owner

jef commented Dec 8, 2020

Duplicate

ghostery/adblocker#1495
#826

@jef jef closed this as completed Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants