kkoooqq / fakebrowser

🤖 Fake fingerprints to bypass anti-bot systems. Simulate mouse and keyboard operations to make behavior like a real person.
GNU Lesser General Public License v3.0
1.09k stars 210 forks source link

SOCKS5 proxy with auth #34

Closed RND332 closed 2 years ago

RND332 commented 2 years ago

Socks5 proxy dont work with fake browser:

Error: net::ERR_SOCKS_CONNECTION_FAILED at https://abrahamjuliot.github.io/creepjs/
    at navigate (C:\Users\eureq\node_modules\puppeteer\lib\cjs\puppeteer\common\FrameManager.js:155:23)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async FrameManager.navigateFrame (C:\Users\eureq\node_modules\puppeteer\lib\cjs\puppeteer\common\FrameManager.js:
130:21)
    at async Frame.goto (C:\Users\eureq\node_modules\puppeteer\lib\cjs\puppeteer\common\FrameManager.js:500:16)
    at async Page.goto (C:\Users\eureq\node_modules\puppeteer\lib\cjs\puppeteer\common\Page.js:1167:16)

But http proxy with auth works absolutely fine

RND332 commented 2 years ago

If you have same issue, i can recommend https://github.com/MihaZupan/HttpToSocks5Proxy, you will able to convert external SOCKS5 auth proxy to local HTTP proxy without auth.

kkoooqq commented 2 years ago

OKAY, ill make a patch to solve this issue, thanks so much!

kkoooqq commented 2 years ago
image

It works fine in my side, please check that your socks5 server is working properly.