I was just about to post this link!
Thank you.
Hey,
I use Python to connect to a browser launched via JS with puppeteer-with-fingerprints on Windows.
Automation works fine, until one specific URL that triggers redirects needs to be opened, for which I get 100% of the times the Aw, snap! page from google with the error "STATUS_ILLEGAL_INSTRUCTION". I saw it could be CPU related, but I am using 11th Gen Intel core i7 11800H 2.30GHz so I think it's fine.
I had the exact same issue on another project. Everything was working fine until a consistent STATUS_ILLEGAL_INSTRUCTION happened at a specific part of the flow.
Browser logs: empty
Engine version: 29.5.0
launcher.js
const { plugin } = require('puppeteer-with-fingerprints');
const path = require('path');
const fs = require('fs');
const [, , port, proxy, key, writeDir] = process.argv;
async function start() {
const baseDir = writeDir ? path.resolve(writeDir) : process.cwd();
const enginePath = path.join(baseDir, 'bablosoft_engine');
plugin.setWorkingFolder(enginePath);
const profilePath = path.join(baseDir, 'profiles', `profile_${port}`);
if (fs.existsSync(profilePath)) {
try { fs.rmSync(profilePath, { recursive: true, force: true }); } catch (e) { }
}
plugin.setServiceKey(key);
await plugin.useProxy(proxy, {
detectExternalIP: true,
changeWebRTC: 'replace',
changeGeolocation: true,
changeTimezone: true,
ipInfoMethod: 'ip-api.com',
emulateDeviceScaleFactor: false
});
console.log(`[Port ${port}] Fetching RANDOM Desktop Fingerprint...`);
const fingerprint = await plugin.fetch({
tags: ['Microsoft Windows', 'Chrome'],
minBrowserVersion: 130,
key: key,
minWidth: 1200,
minHeight: 700,
maxWidth: 3000,
maxHeight: 1600
});
plugin.useFingerprint(fingerprint);
console.log(`[Port ${port}] Launching...`);
const browser = await plugin.launch({
headless: false,
args: [
`--remote-debugging-port=${port}`,
`--user-data-dir=${profilePath}`,
]
});
await browser.disconnect();
console.log(`READY:${port}`);
setInterval(() => { }, 10000);
}
start().catch(err => {
console.error(`CRITICAL_ERROR: ${err.message}`);
process.exit(1);
});
Thank you!
Any help regarding this please :)?
@Berthouille Good afternoon, I'm sorry, I can't help you with this question
@Moderator Why can't you help me sorry?
Could you provide support and/or details @Moderator please?