MShawon / YouTube-Viewer

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

ERR_PROXY_CONNECTION_FAILED #268

Closed karthikstech closed 1 year ago

karthikstech commented 2 years ago

I normally used IPVanish proxies with your bot,they worked very well in the previous versions,i decided to try this out and i got this error with ipvanish proxies 'ERR_PROXY_CONNECTION_FAILED', i tried this a lot of times still i got the same results,leaving some screenshots of the issue, hoping to get a solution soon, thanks Screenshot (1)

MShawon commented 2 years ago

can you tell me which version worked for you? did you upgrade any dependency by any chance? if you go back to an earlier working version this error still happen or not?

karthikstech commented 2 years ago

in the previous versions,i meant,a little while ago, i got the same error in old versions

MShawon commented 2 years ago

can you share your config.json? what did you mean by 'I decided to try this out'?

karthikstech commented 2 years ago

i left viewbotting for a while but i restarted,then i decided to get the latest version of your bot since it had a lot of updations

karthikstech commented 2 years ago

{ "http_api": { "enabled": true, "host": "0.0.0.0", "port": 5000 }, "database": true, "views": 1000, "minimum": 95.0, "maximum": 100.0, "proxy": { "category": "p", "proxy_type": "http", "filename": "New Hq IPVANISH Proxies.txt", "authentication": true, "proxy_api": false, "refresh": 100.0 }, "background": false, "bandwidth": false, "playback_speed": 1, "max_threads": 5, "min_threads": 2 }

MShawon commented 2 years ago

isn't it socks5 ipvanish offer? did you try socks5 instead of HTTP proxy type?

alighazanfar-dev commented 2 years ago

{ "http_api": { "enabled": true, "host": "0.0.0.0", "port": 5000 }, "database": true, "views": 1000, "minimum": 95.0, "maximum": 100.0, "proxy": { "category": "p", "proxy_type": "http", "filename": "New Hq IPVANISH Proxies.txt", "authentication": true, "proxy_api": false, "refresh": 100.0 }, "background": false, "bandwidth": false, "playback_speed": 1, "max_threads": 5, "min_threads": 2 }

Ipvanish provides only socks5 so maybe you are using https. Try Socks5

karthikstech commented 2 years ago

@MShawon The bot does not ask for proxy type, it only asks premium,free or rotating proxies

karthikstech commented 2 years ago

so should i just change "http" to "Socks5"

karthikstech commented 2 years ago

i have changed the config.json, { "http_api": { "enabled": true, "host": "0.0.0.0", "port": 5000 }, "database": true, "views": 1000, "minimum": 98.0, "maximum": 100.0, "proxy": { "category": "p", "proxy_type": "Socks5", "filename": "New Hq IPVANISH Proxies.txt", "authentication": true, "proxy_api": false, "refresh": 0.0 }, "background": false, "bandwidth": false, "playback_speed": 1, "max_threads": 4, "min_threads": 2 }

Still iam getting the error

Capture

.

MShawon commented 2 years ago

You can't use socks5 proxy with username and password because chrome extension doesn't support socks proxy https://github.com/MShawon/YouTube-Viewer#premium-proxy

karthikstech commented 2 years ago

@MShawon what is the solution for it then ? i monetized some channels with your bot with ipvanish proxies before.

MShawon commented 2 years ago

Back then, script used selenium wire but I had to stop using it for several issues created by users. If you could authenticate your ip on ipvanish and use proxies without username and password then you could use socks5 as free proxy category in the script. I don't think that's an option with ipvanish. Edit youtube_viewer.py to check if it works with extension. Edit line 526 scheme: "http", change it to scheme: "socks5", then save it

karthikstech commented 2 years ago

i am using the compiled application, i dont have the code, kindly share the code

ignisc4t commented 2 years ago

@MShawon which version use wire ? for me, most successfull view is from 1.4.8-1.5.1(low drop back then)

@karthikstech mind to talk, I wanna tried something. the code is on release page, download source.zip

karthikstech commented 2 years ago

@ignisc4t alright

karthikstech commented 2 years ago

@MShawon i tried what you said but still not working, i deleted the program

MShawon commented 2 years ago

last used in v1.2.5

then it's not possible without rewriting the program to use selenium wire

karthikstech commented 2 years ago

@MShawon so v1.2.5 will work with ipvanish proxies?

MShawon commented 2 years ago

Yes it should

xsname commented 2 years ago

{ "http_api": { "enabled": true, "host": "0.0.0.0", "port": 5000 }, "database": true, "views": 1000, "minimum": 95.0, "maximum": 100.0, "proxy": { "category": "p", "proxy_type": "http", "filename": "New Hq IPVANISH Proxies.txt", "authentication": true, "proxy_api": false, "refresh": 100.0 }, "background": false, "bandwidth": false, "playback_speed": 1, "max_threads": 5, "min_threads": 2 }

can you please share how we can get proxies list from IPvanish?

karthikstech commented 2 years ago

@MShawon is it possible to rewrite the program and upload it as a new update? it will be really appreciated.

karthikstech commented 2 years ago

@xsname search youtube "how to scrape proxies from ipvanish account"

MShawon commented 2 years ago

not possible

karthikstech commented 2 years ago

i cant use version 1.2.5 or earlier, some does not open or some checks the ipvanish proxies and says its bad proxies, which makes no sense . please look into this matter.

alighazanfar-dev commented 2 years ago

I normally used IPVanish proxies with your bot,they worked very well in the previous versions,i decided to try this out and i got this error with ipvanish proxies 'ERR_PROXY_CONNECTION_FAILED', i tried this a lot of times still i got the same results,leaving some screenshots of the issue, hoping to get a solution soon, thanks Screenshot (1)

is ipvanish proxies working for the bot?

Pythonbigbrother commented 2 years ago

no

alighazanfar-dev commented 2 years ago

no

oh okay

yauz3 commented 2 years ago

@karthikstech could you please help me to find ipvanish proxies? I have also a premium.

nashv95 commented 2 years ago

not possible

We really appreciate your works, hopefully you open again different proxy type and not be limited in http.

nashv95 commented 2 years ago

@MShawon so v1.2.5 will work with ipvanish proxies?

@karthikstech I wish you solved the ip problem, may I know if you revised the current code?

PXSchool commented 2 years ago

I'm using a proxy list from github, but it gives the same error fir me...

abhishekriskberg commented 2 years ago

The same error Ieven I am getting I dont have IPvanish acount but I do hace SOCKS 5 proxy list when I loading it to the tools it says good proxy but there after it just throw an exception even though I loaded the unpacked etensions too.

bournewilliam38 commented 1 year ago

@karthikstech Have you found a solution for it?

abhishekriskberg commented 1 year ago

No still I haven't found any solution for the same.