openbullet / OpenBullet2

OpenBullet reinvented
https://docs.openbullet.dev/
MIT License
1.75k stars 469 forks source link

[BUG] puppeteer socks5 authentication very slow #119

Open amrmostafa800 opened 3 years ago

amrmostafa800 commented 3 years ago

puppeteer when use socks5 authentication proxy been very slow loading a simple page take like 30 seconds

openbullet commented 3 years ago

I think this issue has nothing to do with socks5 + auth but it's an issue with puppeteer in the debugger, as it's been reported that it takes ages to even load a simple page but in the job it's completely fine.

openbullet commented 3 years ago

Can you test without proxy or with other proxies to see if it's still being slow?

amrmostafa800 commented 3 years ago

i test it very fast without proxy i test now with http proxy it fast only socks is slow when @tracsgh say it fast it make local c# project not in openbullet

i think if make new program import socks5 proxy with authentication than start socks5 server localhost when request send to localhost proxy send it to random proxy than get result this will been good for openbullet and any program use selenium or any thing like it At the beginning i think you use puppeteer node.js Sorry my english bad

tracsgh commented 3 years ago

@amrmostafa800 as a temporary solution, just add "Close browser" block to the end, it helped me

amrmostafa800 commented 3 years ago

@tracsgh It's a great job :) But before it wasn't working, I think when an update was done it was fixed but not work good at all site but good than before check SocksRelayServer it like yove.proxy and c# too