Comments (1)
This is also impacting default puppeteer/chromium. Getting these errors with the Stealth plugin when using multithreading or scraping multiple websites at once.
it's not tracking when pages and targets are closed properly and not catching all errors when sending data through a CDP session.
When using one browser connecting to multiple pages in different contexts, the stealth plugin crashes fairly often.
Here is one such error, but there are several throughout the code for both Stealth and puppeteer-extra.
Error [ProtocolError]: Protocol error (Network.setUserAgentOverride): Target closed.
at /opt/scan/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:230:24
at new Promise (<anonymous>)
at CDPSession.send (/opt/scan/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:226:16)
at next (/opt/scan/node_modules/puppeteer-extra-plugin-stealth/evasions/sourceurl/index.js:34:41)
at CDPSession.send (/opt/scan/node_modules/puppeteer-extra-plugin-stealth/evasions/sourceurl/index.js:67:18)
at Plugin.onPageCreated (/opt/scan/node_modules/puppeteer-extra-plugin-stealth/evasions/user-agent-override/index.js:182:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Plugin._onTargetCreated (/opt/scan/node_modules/puppeteer-extra-plugin/dist/index.cjs.js:496:21) {
originalMessage: ''
}
from puppeteer-extra.
Related Issues (20)
- Puppeteer v22.0.0 [Bug] HOT 1
- userPrefs.protocol_handlers.exclude_schemes property set with puppeteer-extra-plugin-user-preferences not working HOT 2
- ERROR : E: Unable to locate package google-chrome-stable while building Docker image HOT 1
- [Bug] stealth not work HOT 7
- [Bug] Stealth is not working properly HOT 5
- This browser or app may not be secure [Login in Gmail] HOT 6
- [Bug] hCaptcha detect fails due to new hCaptcha URL format
- Playing audio on fake mic of puppeteer
- [Bug] TargetCloseError: Protocol error puppeteer-extra-plugin-stealth HOT 2
- [Bug] REPL plugin giving error for spread syntax
- Inconsistent ad blocking behavior with puppeteer-extra-plugin-adblocker in Puppeteer[Bug] HOT 1
- [Bug] Puppeteer gets detected on cloudflare HOT 1
- [Bug] `RangeError: Maximum call stack size exceeded` because of hacks to `Function.prototype.toString` in `puppeteer-extra-plugin-stealth` HOT 3
- TypeError: utils.isObject is not a function HOT 1
- [Feature] Bypass Press-and-Hold HUMAN challange HOT 14
- TypeError: puppeteer.launch(...).then(...) is not a function
- [Bug] await page.solveRecaptchas() stopped working a couple of weeks ago with TimeoutError: Waiting failed: 10000ms exceeded HOT 2
- [Feature] Avoid headless detection by alert close timeout HOT 7
- [Bug] puppeteer-extra-plugin-stealth cannot bypass meet.google.com protection with Chrome 122
- [Bug] Stealth being detected by Chrome DevTools Protocol (CDP) HOT 30
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppeteer-extra.