CheshireCaat / puppeteer-with-fingerprints

Anonymous automation via puppeteer with fingerprint replacement technology.
MIT License
298 stars 36 forks source link

Browser not launching #62

Closed marcusdiy closed 1 year ago

marcusdiy commented 1 year ago

Im getting many errors from this request: https://bablosoft.com/scripts/FingerprintPluginV5/properties The page is not loading.

I can get the info using another vpn: {"success":true,"free":true,"hash":"1713cb035fbd3cfebeff363309e3472ffe469f61","engversion":"26.2.0"}

So no I have two questions? 1) Why this request, pretty usless? If not as a killswitch 2) Is there some kind of rate limiting

bablosoft commented 1 year ago

This could be because your ip has been banned.

Old version starts BAS instance on each profile start.

The ban is temporary, need to wait while it would be cancelled and try again.

Please also ensure that you are using latest version and don't start node process per profile launch.

marcusdiy commented 1 year ago

I have to start a node process per launch because multithreading has lock errors

bablosoft commented 1 year ago

Please check this example on how multithreading can be implemented.

https://github.com/CheshireCaat/puppeteer-with-fingerprints/blob/master/examples/multithreading.js

I've tested it many times, it is fully functional.

If you still have encountered any error, please create new issue with minimal source, how it could be reproduced.

marcusdiy commented 1 year ago

Sure, will test your example again, Im using 16 processes, maybe it happens with more intensive workloads only. What are the requirements to ban an ip? How many requests? What is the difference between multithreading and launching multiple node.js instances? Beside a couple of requests more to start the browsers in parallel... is there a parallel license to buy?

bablosoft commented 1 year ago

What are the requirements to ban an ip? How many requests?

I can't say that.

What is the difference between multithreading and launching multiple node.js instances?

When using multithreading only single BAS instance is started, otherwise new BAS instance is started for each node instance.

Beside a couple of requests more to start the browsers in parallel... is there a parallel license to buy?

No

marcusdiy commented 1 year ago

Im ok with multiple BAS instances running. I were using multiple bas instances at same time until this morning, and it worked fine.

bablosoft commented 1 year ago

Each BAS launch is very expensive on server side. Please use multithreaded architecture instead of multiprocess.

marcusdiy commented 1 year ago

I sure will pay for better fingerprints, sure may pay for some ip analysis for proxies but paying for an unknown process that may fail on me at any time? Doesnt seem a good idea... what processes are required on server side? Can i host it myself? The expensive part seems to be acquiring the right fingerprint... and providing updates? Other than that what does this remote BAS server do?

bablosoft commented 1 year ago

Right now the only option is to use single node process. This will ensure that you are not getting banned despite how many profiles you will run. This option is free, you don't need to pay for it. Other options are not available.

marcusdiy commented 1 year ago

There are always other options... a delay will do for now.

bablosoft commented 1 year ago

a delay will do for now.

Ok, but I must warn, that would lead to hurting server stability and as a consequence may lead to blocking your ips/account.

marcusdiy commented 1 year ago

I will start them every 3 minutes, should be a problem, no? Btw the other bots are a copy of the first folder so there is no download occuring. Will monitor what kind of traffic is send to BAS just out of curiosity.

bablosoft commented 1 year ago

I will start them every 3 minutes, should be a problem, no?

If you start 1 profile per 3 minutes - it is ok.

If you start a lot of profiles - it would be a problem.