MShawon / YouTube-Viewer

A multithreaded view bot for YouTube
MIT License
1.48k stars 751 forks source link

Error connection in Multiple thread #345

Closed nashv95 closed 2 years ago

nashv95 commented 2 years ago

At first, I tried the recommended numbers of thread then it works well but when I try to increase a little bit number of thread then I got this error "error in connection" but the remaining two threads are well playing. Attached photo for further verification of error Screenshot_2022-03-14-19-56-21-957_com microsoft rdc androidx Screenshot_2022-03-14-19-56-16-742_com microsoft rdc androidx

nashv95 commented 2 years ago

I am using residential proxy,

dvl2014 commented 2 years ago

I am using residential proxy,

I was about to request issue and say same thing did you ever find a solution yet? And you using chrome or chromium?

nashv95 commented 2 years ago

I am still facing the issue, I guess the code is being develop. Let's just wait the new update of dev owner

MShawon commented 2 years ago

CPU and ram specs of that machine?

nashv95 commented 2 years ago

CPU and ram specs of that machine?

4GB CPU/80GB DISK (Droplet) 4GB RAM/32GB LOCAL STORAGE (installed Windows)

MShawon commented 2 years ago

If other threads are working just fine then you need more CPU because with this cpu you can't use higher threads... Test with more cpu to see if this still occurs

nashv95 commented 2 years ago

If other threads are working just fine then you need more CPU because with this cpu you can't use higher threads... Test with more cpu to see if this still occurs

I guess, the problem is in the code. I lower the number of thread but still I am facing the problem. Two threads were only working.

MShawon commented 2 years ago

Why don't you just try with more CPU to see if the problem still persist or not It seems Your cpu can't handle more than 2 chrome running in parallel

nashv95 commented 2 years ago

Why don't you just try with more CPU to see if the problem still persist or not It seems Your cpu can't handle more than 2 chrome running in parallel

Okay I will try to increase my CPU and I humbly request if you can open the premium version of ip in different type of it. Opening into socks5 is very much appreciated 🙏

MShawon commented 2 years ago

You should request that feature to google chrome.. I can't do anything about it.. it's google chrome which doesn't support proxies with authentication other than https You either use IP authentication for socks4/5 or use https instead of socks.. pretty much every proxy providers support this settings

nashv95 commented 2 years ago

You should request that feature to google chrome.. I can't do anything about it.. it's google chrome which doesn't support proxies with authentication other than https You either use IP authentication for socks4/5 or use https instead of socks.. pretty much every proxy providers support this settings

I dug your previous released version, and I found out that your project before was use to be supported in socks5 proxy but still we are grateful for having like you, we will always supporting your project.

MShawon commented 2 years ago

yeah with selenium-wire..check issues opened that time as well... I had to give up selenium-wire due to several reasons.. concurrency issues, views getting deleted due to certificate issues, high CPU usage, and so on...